Update game to use TOML format for persistent data

This commit is contained in:
kinther 2026-01-23 09:27:09 -08:00
parent 18c92e2357
commit 2dcf2d7311
209 changed files with 12983 additions and 1982 deletions

7
lib/plrfiles/index.toml Normal file
View file

@ -0,0 +1,7 @@
[[player]]
id = 1
name = "kinther"
level = 5
flags = 0
last = 1769189131

1
lib/world/mob/0.toml Normal file
View file

@ -0,0 +1 @@
mob = []

446
lib/world/mob/1.toml Normal file
View file

@ -0,0 +1,446 @@
[[mob]]
vnum = 100
name = "John"
keywords = "soldier tall burly human guard"
short = "the tall, burly human soldier"
long = "A tall, burly human soldier stands here at the gate.\n"
description = " This man stands slightly taller than the average human, but not by much. He\nhas a thick, haggard looking brown beard that is flecked with dust and sand. \nHis eyes have a bluish-tint to them with a small amount of green. One might\ncall his stature bulky, as he has quite a bit of muscle.\n"
flags = [6218, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 3
mana_dice = 20
stamina_dice = 40
pos = 8
default_pos = 8
sex = 1
[mob.enhanced]
class = 3
species = 0
[mob.enhanced.abilities]
str = 16
dex = 11
con = 11
int = 11
wis = 11
cha = 11
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0
[[mob.enhanced.skills]]
id = 132
level = 5
[[mob.enhanced.skills]]
id = 134
level = 5
[[mob.enhanced.skills]]
id = 137
level = 5
[[mob.enhanced.skills]]
id = 141
level = 5
[[mob.enhanced.skills]]
id = 142
level = 5
[[mob.enhanced.skills]]
id = 143
level = 5
[[mob.enhanced.skills]]
id = 144
level = 5
[[mob.enhanced.skills]]
id = 145
level = 5
[[mob.enhanced.skills]]
id = 146
level = 5
[[mob.enhanced.skills]]
id = 147
level = 5
[[mob.loadout]]
wear_pos = 3
vnum = 118
quantity = 1
[[mob.loadout]]
wear_pos = 5
vnum = 131
quantity = 1
[[mob.loadout]]
wear_pos = 6
vnum = 110
quantity = 1
[[mob.loadout]]
wear_pos = 7
vnum = 108
quantity = 1
[[mob.loadout]]
wear_pos = 8
vnum = 115
quantity = 1
[[mob.loadout]]
wear_pos = 9
vnum = 124
quantity = 1
[[mob.loadout]]
wear_pos = 10
vnum = 107
quantity = 1
[[mob.loadout]]
wear_pos = 11
vnum = 111
quantity = 1
[[mob.loadout]]
wear_pos = 15
vnum = 117
quantity = 1
[[mob.loadout]]
wear_pos = 16
vnum = 117
quantity = 1
[[mob.loadout]]
wear_pos = 17
vnum = 127
quantity = 1
[[mob]]
vnum = 101
name = "Sally"
keywords = "slim lanky human soldier guard"
short = "the slim, lanky human soldier"
long = "A slim, lanky human soldier stands here eyeing passerbys.\n"
description = " This woman looks rather thin, with her darkly tanned skin hugging her frame\ntightly. What muscle she does have is accentuated, though there is not much. \nHer arms and legs are lanky, seeming to be longer than normal. A ponytail of\ndark hair has been pulled back behind her head, intensifying the sharpness of\nher nose.\n"
flags = [6218, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 3
mana_dice = 20
stamina_dice = 40
pos = 8
default_pos = 8
sex = 2
[mob.enhanced]
class = 3
species = 0
[mob.enhanced.abilities]
str = 11
dex = 11
con = 11
int = 11
wis = 11
cha = 11
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0
[[mob.enhanced.skills]]
id = 132
level = 5
[[mob.enhanced.skills]]
id = 134
level = 5
[[mob.enhanced.skills]]
id = 137
level = 5
[[mob.enhanced.skills]]
id = 140
level = 5
[[mob.enhanced.skills]]
id = 141
level = 5
[[mob.enhanced.skills]]
id = 142
level = 5
[[mob.enhanced.skills]]
id = 143
level = 5
[[mob.enhanced.skills]]
id = 144
level = 5
[[mob.enhanced.skills]]
id = 145
level = 5
[[mob.enhanced.skills]]
id = 146
level = 5
[[mob.enhanced.skills]]
id = 152
level = 5
[[mob.enhanced.skills]]
id = 156
level = 5
[[mob.enhanced.skills]]
id = 163
level = 5
[[mob.loadout]]
wear_pos = 3
vnum = 118
quantity = 1
[[mob.loadout]]
wear_pos = 5
vnum = 131
quantity = 1
[[mob.loadout]]
wear_pos = 6
vnum = 110
quantity = 1
[[mob.loadout]]
wear_pos = 7
vnum = 108
quantity = 1
[[mob.loadout]]
wear_pos = 8
vnum = 115
quantity = 1
[[mob.loadout]]
wear_pos = 9
vnum = 124
quantity = 1
[[mob.loadout]]
wear_pos = 10
vnum = 107
quantity = 1
[[mob.loadout]]
wear_pos = 11
vnum = 111
quantity = 1
[[mob.loadout]]
wear_pos = 15
vnum = 117
quantity = 1
[[mob.loadout]]
wear_pos = 16
vnum = 117
quantity = 1
[[mob.loadout]]
wear_pos = 17
vnum = 127
quantity = 1
[[mob]]
vnum = 102
name = "Baldy"
keywords = "barkeep stocky bald"
short = "a stocky, bald barkeep"
long = "A stocky, bald barkeep stands behind the bar here.\n"
description = " This man is short and stocky, with a cleanly shaven head. Pattern baldness\nhas taken hold, yet he has a thick and wiry beard that covers most of his face.\nPale blue eyes look bloodshot, and bluish-purple bags hang under them. His\nhands are marred with minor cuts and scars from years of working in service to\nothers.\n"
flags = [10, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 3
mana_dice = 12
stamina_dice = 60
pos = 8
default_pos = 8
sex = 1
[mob.enhanced]
[mob.enhanced.abilities]
str = 11
dex = 11
con = 11
int = 11
wis = 11
cha = 11
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0
[[mob.loadout]]
wear_pos = 14
vnum = 113
quantity = 1
[[mob.loadout]]
wear_pos = 9
vnum = 112
quantity = 1
[[mob]]
vnum = 103
name = "Lanky"
keywords = "woman lanky scarred"
short = "the lanky, scarred woman"
long = "The lanky, scarred woman is leaning against a wall here.\n"
description = " This human woman is of average height and has a very lanky frame. Her skin\nhugs her body tightly and there is little fat to be seen, possibly due to\ndehydration. Tanned dark from the harsh rays of the sun, her upper torso is\ncovered in scars from a lifetime of labor. Unkempt brown hair covers her head,\ndescending to just above her shoulders. Her eyes are a light blue color and\nappear slightly bloodshot.\n"
flags = [10, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 3
mana_dice = 8
stamina_dice = 60
pos = 8
default_pos = 8
sex = 2
[mob.enhanced]
[mob.enhanced.abilities]
str = 11
dex = 11
con = 11
int = 11
wis = 11
cha = 11
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0
[[mob.enhanced.skills]]
id = 131
level = 5
[[mob.enhanced.skills]]
id = 133
level = 5
[[mob.enhanced.skills]]
id = 135
level = 5
[[mob.enhanced.skills]]
id = 138
level = 5
[[mob.enhanced.skills]]
id = 139
level = 5
[[mob.enhanced.skills]]
id = 140
level = 5
[[mob.enhanced.skills]]
id = 142
level = 5
[[mob.enhanced.skills]]
id = 143
level = 5
[[mob.enhanced.skills]]
id = 144
level = 5
[[mob.enhanced.skills]]
id = 147
level = 5
[[mob]]
vnum = 104
name = "Rat"
keywords = "rat small furry"
short = "a small, furry rat"
long = "Keeping low to the ground, a small, furry rat wanders around here.\n"
description = " This small rat is covered in thick fur. The fur itself appears matted and\nhas grime coating it. Two beady black eyes look around, constantly shifting. \nIts tail is four, perhaps five inches long and grey in color. Both hindlings\nappear thick and ready to propel the animal if it feels threatened.\n"
background = "\n\n\n\n\n\n\n\n\n\n\n\nIt's a rat.\n"
flags = [8, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 0
mana_dice = 0
stamina_dice = 10
pos = 8
default_pos = 8
sex = 2
[mob.enhanced]
species = 25
age = 42
attack_type = 4
[mob.enhanced.abilities]
str = 3
dex = 7
con = 8
int = 3
wis = 8
cha = 3
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0
[[mob]]
vnum = 105
name = "Kank"
keywords = "kank sandy brown"
short = "a sandy brown kank"
long = "A sandy brown kank is here, clacking its pincers.\n"
description = "It looks unfinished.\n"
background = "\n\n\n\nNo background has been recorded.\n"
flags = [1048584, 0, 0, 0]
aff_flags = [0, 0, 0, 0]
alignment = 0
mob_type = "enhanced"
[mob.simple]
level = 1
hit_dice = 0
mana_dice = 0
stamina_dice = 10
pos = 8
default_pos = 8
sex = 0
[mob.enhanced]
species = 21
attack_type = 4
[mob.enhanced.abilities]
str = 18
dex = 5
con = 18
int = 3
wis = 7
cha = 3
[mob.enhanced.saving_throws]
str = 0
dex = 0
con = 0
int = 0
wis = 0
cha = 0

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/mob/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]

16
lib/world/obj/0.toml Normal file
View file

@ -0,0 +1,16 @@
[[object]]
vnum = 1
name = "board immortal"
short = "the immortal board"
description = "The immortal bulletin board is here."
main_description = "Made specifically for immortals to post on.\n"
type = 13
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
affect_flags = [0, 0, 0, 0]
values = [0, 0, 0, 0, 0, 0, 0, 0]
weight = 0
cost = 0
level = 0
timer = 0

1104
lib/world/obj/1.toml Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/obj/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]

1
lib/world/qst/0.toml Normal file
View file

@ -0,0 +1 @@
quest = []

1
lib/world/qst/1.toml Normal file
View file

@ -0,0 +1 @@
quest = []

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/qst/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]

15
lib/world/rsv/0.toml Normal file
View file

@ -0,0 +1,15 @@
[[room]]
vnum = 1
saved_at = 1759515981
[[room.object]]
vnum = 1
timer = 0
weight = 0
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [0, 0, 0, 0, 0, 0, 0, 0]
contents = []

287
lib/world/rsv/1.toml Normal file
View file

@ -0,0 +1,287 @@
[[room]]
vnum = 100
saved_at = 1759514843
[[room.mob]]
vnum = 100
[[room.mob.equipment]]
wear_pos = 3
vnum = 118
contents = []
[[room.mob.equipment]]
wear_pos = 5
vnum = 131
contents = []
[[room.mob.equipment]]
wear_pos = 6
vnum = 110
contents = []
[[room.mob.equipment]]
wear_pos = 7
vnum = 108
contents = []
[[room.mob.equipment]]
wear_pos = 8
vnum = 115
contents = []
[[room.mob.equipment]]
wear_pos = 9
vnum = 124
contents = []
[[room.mob.equipment]]
wear_pos = 10
vnum = 107
contents = []
[[room.mob.equipment]]
wear_pos = 11
vnum = 111
contents = []
[[room.mob.equipment]]
wear_pos = 15
vnum = 117
contents = []
[[room.mob.equipment]]
wear_pos = 16
vnum = 117
contents = []
[[room.mob.equipment]]
wear_pos = 17
vnum = 127
contents = []
[[room.mob]]
vnum = 101
[[room.mob.equipment]]
wear_pos = 3
vnum = 118
contents = []
[[room.mob.equipment]]
wear_pos = 5
vnum = 131
contents = []
[[room.mob.equipment]]
wear_pos = 6
vnum = 110
contents = []
[[room.mob.equipment]]
wear_pos = 7
vnum = 108
contents = []
[[room.mob.equipment]]
wear_pos = 8
vnum = 115
contents = []
[[room.mob.equipment]]
wear_pos = 9
vnum = 124
contents = []
[[room.mob.equipment]]
wear_pos = 10
vnum = 107
contents = []
[[room.mob.equipment]]
wear_pos = 11
vnum = 111
contents = []
[[room.mob.equipment]]
wear_pos = 15
vnum = 117
contents = []
[[room.mob.equipment]]
wear_pos = 16
vnum = 117
contents = []
[[room.mob.equipment]]
wear_pos = 17
vnum = 127
contents = []
[[room]]
vnum = 200
saved_at = 1759595106
[[room.object]]
vnum = 143
timer = 0
weight = 10
cost = 100
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [1, 0, 0, 0, 0, 0, 0, 0]
contents = []
[[room]]
vnum = 136
saved_at = 1759603517
[[room.object]]
vnum = 147
timer = 0
weight = 100
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [0, 0, 0, 0, 0, 0, 0, 0]
contents = []
[[room]]
vnum = 134
saved_at = 1760390381
[[room.object]]
vnum = 134
timer = 0
weight = 100
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [2, 0, 0, 0, 0, 0, 0, 0]
contents = []
[[room.object]]
vnum = 133
timer = 0
weight = 100
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [6, 0, 1, 0, 0, 0, 0, 0]
contents = []
[[room.object]]
vnum = 132
timer = 0
weight = 200
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [8, 0, 0, 0, 0, 0, 0, 0]
contents = []
[[room.object]]
vnum = 150
timer = 0
weight = 0
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [0, 0, 0, 0, 0, 0, 0, 0]
contents = []
[[room.mob]]
vnum = 102
[[room.mob.equipment]]
wear_pos = 9
vnum = 112
contents = []
[[room.mob.equipment]]
wear_pos = 14
vnum = 113
contents = []
[[room.mob.inventory]]
vnum = 138
contents = []
[[room.mob.inventory]]
vnum = 137
contents = []
[[room.mob.inventory]]
vnum = 136
contents = []
[[room.mob.inventory]]
vnum = 135
contents = []
[[room.mob.inventory]]
vnum = 139
contents = []
[[room.mob.inventory]]
vnum = 140
contents = []
[[room.mob.inventory]]
vnum = 141
contents = []
[[room.mob.inventory]]
vnum = 142
contents = []
[[room.mob]]
vnum = 103
[[room]]
vnum = 131
saved_at = 1767296856
[[room.object]]
vnum = 144
timer = 0
weight = 20
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [100, 100, 0, 0, 0, 0, 0, 0]
contents = []
[[room.object]]
vnum = 145
timer = 0
weight = 40
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [4, 0, 2, 0, 0, 0, 0, 0]
contents = []
[[room.object]]
vnum = 146
timer = 0
weight = 80
cost = 0
cost_per_day = 0
extra_flags = [0, 0, 0, 0]
wear_flags = [0, 0, 0, 0]
values = [6, 0, 2, 0, 0, 0, 0, 0]
contents = []
[[room]]
vnum = 101
saved_at = 1767296996

1
lib/world/shp/0.toml Normal file
View file

@ -0,0 +1 @@
shop = []

54
lib/world/shp/1.toml Normal file
View file

@ -0,0 +1,54 @@
[[shop]]
vnum = 100
products = [135, 136, 137, 138, 139, 140, 141, 142]
buy_profit = 1.00
sell_profit = 1.00
broke_temper = 0
bitvector = 4
keeper = 102
trade_with = 0
rooms = [134]
open1 = 0
close1 = 28
open2 = 0
close2 = 0
bank = 0
sort = 0
[shop.messages]
no_such_item1 = "%s We're fresh out of that."
no_such_item2 = "%s Trying to sell something you don't have?"
do_not_buy = "%s Not interested. Try someone else."
missing_cash1 = "%s I can't afford that!"
missing_cash2 = "%s Come back when you have some coin."
message_buy = "%s That'll be %d coins."
message_sell = "%s I'll give you %d coins for that."
[[shop]]
vnum = 101
products = [138]
buy_profit = 1.00
sell_profit = 1.00
broke_temper = 0
bitvector = 0
keeper = 103
trade_with = 0
rooms = []
open1 = 0
close1 = 28
open2 = 0
close2 = 0
bank = 0
sort = 0
[shop.messages]
no_such_item1 = "%s Sorry, I don't stock that item."
no_such_item2 = "%s You don't seem to have that."
do_not_buy = "%s I don't trade in such items."
missing_cash1 = "%s I can't afford that!"
missing_cash2 = "%s You are too poor!"
message_buy = "%s That'll be %d coins, thanks."
message_sell = "%s I'll give you %d coins for that."

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/shp/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]

11
lib/world/trg/0.toml Normal file
View file

@ -0,0 +1,11 @@
[[trigger]]
vnum = 1
name = "Test"
attach_type = 0
flags = 65536
narg = 1
arglist = ""
commands = [
"* No Script",
]

1
lib/world/trg/1.toml Normal file
View file

@ -0,0 +1 @@
trigger = []

1
lib/world/trg/2.toml Normal file
View file

@ -0,0 +1 @@
trigger = []

View file

@ -0,0 +1,2 @@
files = [
]

5
lib/world/trg/index.toml Normal file
View file

@ -0,0 +1,5 @@
files = [
"0.toml",
"1.toml",
"2.toml"
]

7
lib/world/wld/0.toml Normal file
View file

@ -0,0 +1,7 @@
[[room]]
vnum = 1
name = "Limbo"
description = "Floating in the void, you lose all sense of time and space.\n"
flags = [0, 0, 0, 0]
sector = 0

2370
lib/world/wld/1.toml Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/wld/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]

12
lib/world/zon/0.toml Normal file
View file

@ -0,0 +1,12 @@
[[zone]]
vnum = 0
builders = "Immortal Zone"
name = "Kinther"
bot = 1
top = 99
lifespan = 30
reset_mode = 2
flags = [0, 0, 0, 0]
min_level = -1
max_level = -1

12
lib/world/zon/1.toml Normal file
View file

@ -0,0 +1,12 @@
[[zone]]
vnum = 1
builders = "City of Caleran"
name = "Kinther"
bot = 100
top = 999
lifespan = 30
reset_mode = 2
flags = [0, 0, 0, 0]
min_level = -1
max_level = -1

View file

@ -0,0 +1,2 @@
files = [
]

4
lib/world/zon/index.toml Normal file
View file

@ -0,0 +1,4 @@
files = [
"0.toml",
"1.toml"
]