Kalgoorlie Retro Docs

Documentation for the Kalgoorlie Retro BBS, its games and servers

User Tools

Site Tools


castle:settings

Settings and retheming

CASTLE.CFG

A plain key = value file in the castle's folder, written by CASTCFG with comments; you can also edit it by hand. Every key must be present. If one is missing or out of range, the castle tells the player which setting is wrong and goes back to LORD. “x level” means the amount is multiplied by the player's level.

Setting Default Meaning
TIMEOUTSECS 180 Seconds idle before the player is sent back to LORD (60 to 3600)
MAXGOLD 2,000,000,000 Most gold a player may keep in the Counting House
MAXGEMS 30,000 Most gems kept
MAXFIGHTS 200 Most forest fights kept
MAXPFIGHTS 20 Most player fights kept
FIGHTSOUTDAY 40 Fights (both kinds together) a player may take out per day
MAXTRANSFER 2,000,000,000 Largest single gold deposit or withdrawal
TABLEMAXSTAKE 1,000,000 Twenty-One's largest stake
BONESMAXSTAKE 250,000 Knucklebones' largest stake
FORGEBASECOST 2,500 Forge price: this x level x (jobs today + 1)
FORGEPERDAY 5 Forge jobs per day
HEALCOSTPERHP 4 Chapel: gold x level per hit point
WELLCOST 25 The well's coin, x level
WISHGOLD 5,000 A wish for gold gives this x level
WISHGEMS 10 A wish for gems gives this many
JOUSTPRIZE 750 Joust prize, x level
COFFINGOLD 120 A catacomb coffer holds up to this x level
DESCENTSPERDAY 10 Catacomb descents per day
RIDDLESPERDAY, JOUSTSPERDAY, WELLSPERDAY, BLESSPERDAY, ALEPERDAY 1 Uses per day
SOLAR, FORGE, COUNTINGHOUSE, TAVERN, CHAPEL, LISTS, WELL, CATACOMBS, RANKINGS yes Whether that place is open
NEWS yes Write jousts won and wishes granted to LORD's Daily News

CASTLE.TXT

Every room's description. A screen starts with @#ID on a line of its own and ends at a blank line or the next @#. A line holding just . is an empty line inside a screen. LORD colour codes work, and these are filled in: @NAME@, @SIR@ (Sir or Dame), @GOLD@, @GEMS@, @HP@, @HPMAX@, @VERSION@. Keep the IDs as they are: GATEHOUSE, ABOUT, GREATHALL, SOLAR, FORGE, COUNTING, TAVERN, CHAPEL, LISTS, WELL, CATACOMBS. The menus are printed by the program after each screen.

GOSSIP.TXT

The tavern gossip: one line each, LORD colour codes allowed. Lines starting with ; are skipped.

Other files

File What
CASTLE.DAT Each player's castle record (daily uses, Counting House, jousts), 128 bytes each, keyed by name
CASTLE.LOG What each player did, with the time and node
castle/settings.txt · Last modified: by 127.0.0.1