Developer reference. The player guide is README.md. (Paths below are relative to the mod folder.) # LonaCraft 1.0.0 (developer reference) Crafting and base building for LonaRPG B.0.10.8.27 (also runs on B.0.10.8.26). ## What it adds - 12 crafting materials: Plank, Hide, Leather, Bone, Iron Ingot, Cloth Bolt, Rope, Stone Block, Glass, Nails, and the raw Iron Ore and Rough Stone that mining gives. - Crafting is done at **stations** (see "Stations" below): **by hand** from the main menu (a short starter list, Common quality only), Carpentry Bench, Furnace, Anvil and Tailor's Table. Each station lists only its own recipes. - The dark pots (inn pots and stoves, the pot placed with "Set Dark Pot") are the game's own again: they only cook. LonaCraft no longer adds a Craft choice there. - With RolePlayS: its Light, Medium and Fire arrows (bundles of 10) can be crafted (see "Recipes"). - Recipes can be changed without touching the mod's files, in `Config/Recipes.json` (see "Config"). - **Salvage** (Carpentry Bench, Anvil, Tailor's Table): each of these has a "Salvage" entry and a box of its own. Put equipment in, choose "Break it down!". A station only breaks gear whose main material is its own (wood at the bench, metal at the anvil, cloth or leather at the tailor's table); other gear stays in the box. Wood gives Planks, metal Iron Ingots, cloth Cloth Bolts, leather Leather (1 or 2 each). Only heavy metal gear (Metal tag 6 or more, e.g. a sabre or a broadsword) also gives 2 Nails. Gold gives nothing yet. Costs 1 stamina per item. Salvage never gives back more than a quarter of the item's price in materials (each material counted at its own price). If it would, Nails are taken off first, then the item's most valuable material, one at a time, until it fits. Cheap gear whose quarter-price is below one unit of anything it is made of (rags, clubs, sickles, the short sword...) gives nothing and stays in the box. - **Bases**: Palisade Walls (they join up), Plank Floors and Wooden Doors built on wilderness maps; a map with something built on it stays that tile's map, with a marker on the world map and "Destroy all bases" on the System page, see "Bases" below. - 54 pieces of furniture and decoration (beds, storage, the four stations, stove, water trough, lights, rugs, racks, banners...) to craft and place in a home you own or a base, see "Furniture" below. - Wild boars, rabbits, dogs, wolves, horses and apes can drop Hide and Bone. - Mining Crystal Ore, Saltpeter or Phosphorus: each ore that drops also has a 60% chance to drop Rough Stone and a separate 35% chance to drop Iron Ore. - **Loose stones** to pick up (no tool) and **boulders** (a pickaxe is needed) on wilderness maps give Rough Stone, and **wood from trees needs an axe**: the new **Hatchet** (bought or crafted), see "Boulders and the axe". - The Noer blacksmith sells Iron Ingots; dress traders (Noer market and others) sell Cloth Bolts. ## Scripts `loader.rb` loads the 27 files of `Scripts/` in this order (the order matters; the number in a name is not the load position): | # | File | What it holds | |---|---|---| | 1 | `0_Core.rb` | constants (materials, the Hatchet, drop table), item registration, load-order warning, ground-drop pictures | | 2 | `05_Config.rb` | `Config/LonaCraft.json`: the debug, self-test, trace and viewport-guard switches | | 3 | `10_Icons.rb` | the mod's icon sheet pasted below the game's `Iconset` | | 4 | `15_Text.rb` | ENG fallback for missing LonaCraft texts | | 5 | `20_Station.rb` | salvage at the bench, anvil and tailor's table (shared boxes); the dark pots only cook; the Cook of the Stove and Cooking Fire | | 6 | `30_Process.rb` | processing recipes (Planks, Stone Blocks, Ingots, Nails, Rope...) | | 7 | `40_Mining.rb` | Rough Stone and Iron Ore drops from mining nodes | | 8 | `45_Nodes.rb` | boulders, loose stones, the axe and pickaxe in hand (spec `docs/SPEC_NODES_AXE.md`) | | 9 | `50_Tiers.rb` | quality tiers: tier variants of every craftable weapon and armour | | 10 | `55_Recipes.rb` | the recipe list (derived + overrides + `Config/Recipes.json`), the JSON parser | | 11 | `25_Shops.rb` | the mod's items at the game's traders, the price floor, `Config/Shops.json` | | 12 | `02_ViewportGuard.rb` | disposes sprites and windows left on a disposed viewport (the RGSS301.dll crash) | | 13 | `60_Skill.rb` | crafting level 0-20 and experience | | 14 | `70_Save.rb` | save registry: remaps the mod's item ids when the load order changes | | 15 | `80_CraftScene.rb` | the crafting screen (`Scene_LonaCraft`) and its crash trace | | 16 | `85_MenuCraft.rb` | the main menu's "Craft" row (crafting by hand) | | 17 | `90_Furniture.rb` | furniture items, placement, persistence, chests | | 18 | `100_Homes.rb` | the Old Shack, the Stone House, the Noer tavern room and the inn rooms | | 19 | `110_Bases.rb` | bases: walls, floors, doors, build mode, pinned maps, markers, names | | 20 | `120_Raids.rb` | night raids on a base, wall and door HP, the siege, `Config/Bases.json` | | 21 | `130_Sewer.rb` | the Deep Sewer map, its vermin and raids (entrances off: `ENTRANCES_OPEN = false`) | | 22 | `140_AwayRaids.rb` | raids on a base while Lona is elsewhere, worked out on the record; reports | | 23 | `150_Mercs.rb` | the mercenary squad from the Noer guild receptionist | | 24 | `160_Rest.rb` | rest tiers (ground, Bedroll, Bed inside walls), the chest meal and the bath | | 25 | `170_Maid.rb` | the maid from Boss Mama: a base or house, wages, morning cooking | | 26 | `95_Debug.rb` | numpad debug keys and god mode (Home), only with `"debug": true` | | 27 | `98_SelfTest.rb` | start-up self-test, `UserData/LonaCraft_selftest.log`; keep it last | `HCGframes/*.rb` are small redirect scripts the game runs through `$mod_load_script` (trees, boulders, loose stones, inn keepers and their naps, Maani, the guild receptionist, Boss Mama); they call into the modules above. ## Where each material comes from | Material | Price | Farm / buy | Made at (station) | Salvage | |---|---|---|---|---| | Plank | 60 | - | 1 Wooden Club (chop trees, needs an axe) -> 2 (by hand, Carpentry Bench) | wooden gear (bench) | | Hide | 80 | hunting drops (boar, rabbit, dog, wolf, horse, ape) | - | - | | Leather | 150 | - | 2 Hide -> 1 (Tailor's Table) | leather gear (tailor) | | Bone | 30 | hunting drops | - | - | | Iron Ore | 120 | mining nodes (35% per ore); boulders (15% per yield) | - | - | | Iron Ingot | 400 | Noer blacksmith | 2 Iron Ore + 1 Wooden Club -> 1 (Furnace) | metal gear (anvil) | | Cloth Bolt | 60 | dress traders (Noer market) | 4 plants/herbs -> 1 (Tailor's Table) | cloth gear (tailor) | | Rope | 40 | - | 4 plants/herbs -> 1 (by hand, Tailor's Table); 3 Cloth Bolt -> 1 (Tailor's Table) | - | | Rough Stone | 10 | **loose stones** on the same maps and the plains roads (one pick with the action key, no tool, 1 each); **boulders** on plains, badlands, mountains, pine forests and deserts (4 per boulder, pickaxe required); cave ore nodes (60% per ore) | - | - | | Wooden Club (game item) | 100 | chop trees (**needs an axe** carried or equipped); weapon traders and many shops sell it | 2 Plank -> 1 (Carpentry Bench) | - | | Stone Block | 30 | - | 2 Rough Stone -> 1 (Carpentry Bench) | - | | Glass | 150 | - | 2 Crystal Ore + 1 Wooden Club -> 1 (Furnace) | - | | Nails | 25 | - | 1 Iron Ingot -> 4 (Anvil) | metal gear with Metal 6 or more | Prices are the items' own prices; shops sell at that price times the shop's markup. "Plants/herbs" means any item tagged as a plant or herb for the dark pot (fruit, vegetables, mushrooms, nuts, herbs; mixing is fine). The cheapest ones you carry are used first, and the message says which. Wooden Clubs come from chopping trees, which needs an axe (see "Boulders and the axe"). Your crafting skill and the ids of crafted items, materials and furniture are stored in your save file (see "Save data"). ## Boulders and the axe `Scripts/45_Nodes.rb` (spec: `docs/SPEC_NODES_AXE.md`). Switches at the top of the file: `BOULDERS_ENABLED`, `PICKAXE_REQUIRED`, `AXE_REQUIRED` (all `true`). **Boulders.** Every time you enter a wilderness map from the world map, a few boulders are placed on it (new ones each visit, like the game's own ore nodes and plants): | Family (map name) | Boulders per visit | Where on the map | |---|---|---| | r1 PlainField (incl. RolePlayS's r1_PlainField4) | 1-2 | open ground (map region 11) | | r3 BadlandMountain | 1-4 | open ground (region 9) | | r5 PineForest | 1-2 | open ground (region 9) | | r6 BadlandForest | 1-3 | open ground (region 9) | | r7 PineForestMountain | 1-4 | the rock faces beside the path, where the game puts Phosphorus (region 39) | | r14 AbomDesert, r19 OrkDesert | 1-2 | open ground (region 9) | | r16 PlainBadland, r28 OrkBadland | 1-3 | open ground (region 9) | The first boulder is always there; each further one appears on the game's own roll for its nodes (Wisdom and Survival help). Boulders never stand on a path tile, next to another event or near the map's start point. Change the table in `LonaCraft::Nodes::BOULDER_MAPS`. Mining a boulder (face it and press the action key, as with ore): | | | |---|---| | Tool | **a pickaxe is required**, carried or equipped. Without one Lona only says "Need a pickaxe to break this." | | Stamina per swing | 1 with the pickaxe equipped, 2 when it is only carried (the game's rule for ore nodes; with RolePlayS its own harvest cost, same numbers) | | Hits | 9; every 3rd hit drops 1 Rough Stone on Lona's tile, the last one 2 (**4 Rough Stone per boulder**) | | Iron Ore | 15% with each drop | | Afterwards | the boulder is gone until the next visit | Pickaxes are sold by the Noer blacksmith and the weapon traders (200 gold before markup). **Loose stones.** On the same visits, 1-3 small stones lie on the ground of every boulder map and of the plains roads (r11 RoadPlain, incl. RolePlayS's r11_RoadPlain4; map region 11; on r7 they lie on the path, region 4). A loose stone is a small node like the boulder, not a dropped item: it stays on the map for the whole visit (dropped items vanish after a while) and comes back fresh on the next visit. Face it and press the action key: 1 Rough Stone at once, no tool, no stamina, then it is gone. You can walk over it. They use the boulders' tile rule but may lie as close as 3 tiles to the start point. The picture is the game's small rock (the thrown-rock drop); a 32 x 32 `Graphics/Characters/LonaCraft_LooseStone.png` replaces it. Table: `LonaCraft::Nodes::LOOSE_MAPS`; switch `LOOSE_ENABLED`. **The axe.** Trees that give Wooden Clubs (the common trees, and the noble road's trees) need an axe carried or equipped: the **Hatchet**, or with RolePlayS its Lumberjack Axe or Poleaxe. Without one Lona only says "Need an axe to cut wood." and nothing happens. Stamina stays the game's (or RolePlayS's: the Lumberjack Axe equipped makes chopping cheap). Fruit trees (apple, banana, nuts, areca) still give their fruit by hand. **Hatchet** (tool, 150 gold, not equipped): sold by the Noer blacksmith and the common weapon traders, or made by hand or at the Carpentry Bench from 1 Wooden Club + 2 Rough Stone + 1 Rope (always Common, skill 0). **Gold-free start**: pick up 2 loose stones, make Rope from plants, and craft the Hatchet by hand with the Wooden Club Lona starts with. Or buy the Hatchet: the bench itself needs no stone. How it hooks in: the tree scripts are redirected through `$mod_load_script` to `HCGframes/CommonTree.rb` and `HCGframes/CommonTreeNoble.rb`, which check the axe and then run the script that was there before (RolePlayS's copy when it is loaded, else the game's). Boulders are an EventLib event copied from the game's Saltpeter node at start-up and placed when the map's start-up event runs. Nothing is saved: boulders come and go with the visit. The placeholder picture is the game's `$_boulder`; put a 48 x 48 `Graphics/Characters/LonaCraft_Boulder.png` in the mod to replace it (prompt in `docs/ASSET_PROMPTS.md`). ## Stations | Station | Where | Built from | Crafts there | |---|---|---|---| | By hand (main menu) | the **Craft** entry of the main menu, anywhere Lona can open it | - | **Starter list, always Common**: Wooden Club -> 2 Planks, 4 plants -> 1 Rope, the Carpentry Bench, the Bedroll (2 Hide, 1 Rope), the Cooking Fire (2 Plank, 4 Rough Stone), with RolePlayS Light Arrows x10 (1 Plank, 1 Bone). | | Cooking pot | every dark pot, inn stove, the pot from "Set Dark Pot" | - | **Cook only** (the game's own pot, unchanged). No crafting. | | Cooking Fire | furniture you place in your home | by hand or at the Carpentry Bench | **Cook only**, the same cooking as a dark pot. No crafting. | | Carpentry Bench | craft one by hand (main-menu Craft) and place it | 6 Plank, 2 Rope (no nails) | Wooden Club -> Planks, 2 Rough Stone -> 1 Stone Block, **all furniture and decorations**, weapons and shields mostly of wood. Salvage of wooden gear. | | Furnace | Noer smithy; or craft one | 6 Stone Block, 8 Rough Stone | 2 Iron Ore + 1 Wooden Club -> 1 Iron Ingot, Glass | | Anvil | Noer smithy; or craft one | 3 Iron Ingot, 2 Plank | 1 Iron Ingot -> 4 Nails, weapons and armour mostly of metal. Salvage of metal gear. | | Tailor's Table | beside the Noer market dress trader; or craft one | 4 Plank, 2 Rope, 3 Cloth Bolt | plants -> Cloth Bolt, plants or Cloth Bolt -> Rope, 2 Hide -> 1 Leather, armour and weapons mostly of cloth or leather. Salvage of cloth and leather gear. | The station of a weapon or armour piece is decided by its **main material**: the largest of its Wood, Metal, Cloth and Leather tags (ties go Metal, then Wood, then Cloth, then Leather). Wood -> Carpentry Bench, Metal -> Anvil, Cloth or Leather -> Tailor's Table. A recipe file may name its station(s) itself with `"station": "anvil"` or `"station": ["hand", "carpentry"]` (`"pot"`, the old name, still means `"hand"`). **By hand** shows only recipes that name the `hand` station, and everything made by hand is **Common**: the hand station's tier cap is 1 (`Stations::MAX_TIER`, changeable in `Config/Recipes.json`). The cap is applied to the roll and to the chances the screen shows, so a recipe moved to `hand` in the config still rolls normally at its bench. **Bootstrap path** (no gold needed): pick up loose stones -> craft a **Hatchet** by hand (start-kit Wooden Club, 2 Rough Stone, 1 Rope; or buy one) -> chop trees for Wooden Clubs -> from the main menu's **Craft** make Planks (from Wooden Clubs) and Rope (from plants) -> craft the **Carpentry Bench** by hand and place it in your home -> at the bench cut Rough Stone (buy a pickaxe, mine boulders) into Stone Blocks -> **Furnace** -> smelt Iron Ore into Iron Ingots -> **Anvil** -> with Cloth Bolts (dress trader) build the **Tailor's Table**. **Town stations.** So crafting works before you own a home, fixed stations stand in Noer: | Station | Map | Tile (x, y) | |---|---|---| | Furnace | NoerBlackSmithShop (the smithy) | 20, 31: the smithy's own forge in the back room becomes the Furnace | | Anvil | NoerBlackSmithShop | 19, 32 (back room, left of the forge's work spot) | | Tailor's Table | NoerMarket | 50, 37 (two tiles left of the dress trader's spot; 2 wide x 1 high, covers 50-51 on row 37) | There is no town Carpentry Bench: it is the first thing the player builds (by hand from the main menu) and places in a home or a base. They work like placed ones but cannot be picked up. To move one, change its row in `LonaCraft::Furniture::TOWN_STATIONS` (`Scripts/90_Furniture.rb`): `[map name, x, y, kind]`, or `[map name, x, y, kind, :existing]` to turn the map's own event on that tile into the station (used for the smithy forge). A new station is skipped (console note) when any tile of its footprint has a map event, a placed piece of furniture, or is not walkable. ## Crafting screen Choose **Craft** at a station, or **Craft** in the main menu for the by-hand list. The screen looks like the storage-box screen; the title at the top left is the station's name ("By hand" for the main menu) and only that station's recipes are listed: - **Left: recipes**, grouped **Processing**, **Weapons**, **Ammo**, **Armour**, **Furniture** and **Decorations**. Each row shows the result's icon and name, how many one craft makes when it is more than one (Planks x2), and the crafting skill it needs. Rows you can't afford yet are dimmed. Recipes above your crafting skill are not listed at all; they appear as your skill grows (`LonaCraft::CraftUI::HIDE_LOCKED` in `Scripts/80_CraftScene.rb` set to false shows them dimmed and marked **Locked** instead). - **Right: details** of the selected recipe: the materials with have/need (red when short), the skill needed against yours (and your crafting level), the chance of each quality tier (Common to Legendary) as a coloured bar (after the station's and the recipe's tier cap: by hand always 100% Common), and for weapons and armour what the Common version gives (ATK or DEF), which higher tiers scale up. - **Craft:** the OK key or a left click on a recipe. If you have the materials and the skill, the materials are used and a window shows what you made and its tier. If not, you hear a buzzer and the missing materials (or the skill line) blink red. - **Leave:** Cancel/Esc, a right click, or click **Cancel** at the top right (back to the map, or to the main menu when the screen was opened from there). - Up/Down, Page Up/Down and the mouse wheel scroll the list; moving the mouse over a recipe selects it. Processing recipes still work as before (1 stamina each, any plants or herbs for the plant-fibre ones) and always give the plain material. Weapons and armour roll a quality tier based on your crafting skill. **Crafting by hand (main menu).** The main menu has a **Craft** row right after **Items**. OK on it (or a left click on its page) opens the crafting screen for the hand station: only the hand recipes, and whatever you make is Common. Leaving the screen brings you back to the menu. It is blocked (buzzer, the reason in red on the page) in combat, on the world map and when you are not playing Lona, and the row is hidden whenever Items is (while you cannot move). Cocona's menu has no Craft row. With the Craft row a full menu has 10 rows, so the rows move 1 px closer together (17 instead of 18) to keep the last one above the stats block under the menu; with 9 rows or fewer nothing moves. With RolePlayS it works the same: the row takes RolePlayS's menu font, the menu reopens on the Craft row, and the map HUD comes back as usual when you close the menu. The crafting screen uses RolePlayS's window skin when RolePlayS is on. ## Tiers Crafted weapons and armour come in five quality tiers. The item you already know is **Common**; the mod adds Uncommon, Rare, Epic and Legendary versions of every craftable item when the game starts. | Tier | Colour | Price | ATK/DEF of the item | Extra while equipped | |---|---|---|---|---| | Common | white | x1 | x1.0 | - | | Uncommon | green | x1.5 | x1.1 | max stamina +5 | | Rare | blue | x2.5 | x1.2 | max stamina +5, max health +5 | | Epic | purple | x4 | x1.35 | max stamina +10, max health +5, ATK/DEF +1 | | Legendary | yellow | x7 | x1.5 | max stamina +15, max health +10, ATK/DEF +2, move speed +0.1 | - ATK is scaled on weapons, DEF on armour (a shield that only gives DEF scales DEF). - Weight, icon, look on Lona, equip slot and skills are those of the Common item. - Every craftable item shows its tier in its name, the plain one too: "Short Sword (Common)", "Short Sword (Rare)". Only the displayed text changes; the item itself, shops, quests and tool checks are untouched. The description ends with one line: the tier name in the tier colour, then that item's actual ATK and DEF and its HP, STA and SPD bonuses (green when they raise the stat, yellow when they lower it), e.g. "Rare ATK 2.4, HP +5, STA +5". Item names in lists are not coloured yet. - Craftable means: weapons and armour with wood, metal, cloth or leather in them (their dark-pot tags), that have a price, are not key items, bondage gear, hair or Cocona's gear, and whose name has none of Cuff, Collar, Chain, Rope, Bondage, Slave. The list is built at start from whatever the game and the mods loaded before LonaCraft define, and printed to the console. - Tools by their exact item (Lantern light, RolePlayS tool checks, quest checks) only recognise the Common item. ## Recipes (derived + overrides + config) Recipes come in three layers; a higher one wins, recipe by recipe: 1. `Config/Recipes.json`, your own changes, merged field by field (see "Config"). 2. `Recipes/*.json`, the mod's recipe files (furniture, arrows, the two examples below). 3. Recipes worked out from each item's dark-pot tags (below) and the processing recipes in the code. Every craftable item has a recipe built from its dark-pot tags, so new items from other mods get recipes automatically: | Tag in the item | Material | |---|---| | Wood x | Plank, half of x rounded up (at least 1) | | Metal x | Iron Ingot, a third of x rounded up (at least 1) | | Cloth x | Cloth Bolt, half of x rounded up (at least 1) | | Leather x | Leather, half of x rounded up (at least 1) | | Wood and Metal | + 1 Nails | | Cloth and Leather | + 1 Rope | Then, if those materials are worth less than a quarter of the item's price (count x each material's own price), more of the material of the item's biggest tag is added (Metal: Iron Ingot, Wood: Plank, Cloth: Cloth Bolt, Leather: Leather) until they are, but never more than 12 of any one material. Expensive items therefore often end at 12 of their main material. The skill it asks for is the square root of (price / 50), rounded, from 0 to 20 (price 50 asks 1, 200 asks 2, 1250 asks 5, 5000 asks 10, 20000 asks 20). To change a recipe, put a JSON file in `LonaCraft/Recipes/` (any file name): ```json {"output": "ItemMhShortSword", "inputs": {"ItemLonaCraftIronIngot": 2, "ItemLonaCraftLeather": 1}, "skill_req": 5} ``` It replaces the built recipe for that item. A file may also hold a list of such objects. An override is used exactly as written (no topping-up to a quarter of the price). `skill_req` can be left out (then the square-root rule is used). An item that is not craftable can be given a recipe this way too; it is always made as Common. Two examples ship: Wooden Club (2 Planks) and Short Sword (2 Iron Ingots + 1 Leather). Optional fields: `"station"`, `"category"` (`"furniture"`, `"decoration"`, `"ammo"`, `"building"`), `"fixed_tier"`, `"amount"` (how many one craft makes), `"max_tier"` (best tier), `"requires": ["ModId"]` (the recipe is skipped quietly unless that mod is on) and `"id"` (a second recipe for the same item needs its own id; the by-hand Bedroll and Cooking Fire use `"hand:ItemLonaCraftFurniturePottedPlant"` and `"hand:ItemLonaCraftFurnitureCampfire"`). **Arrows (RolePlayS).** Three recipe files make RolePlayS's arrow bundles (10 arrows per craft, never a tier, 1 stamina per material, 1 crafting exp like processing, listed under **Ammo**): | Arrows | File | Materials | Skill | Station | |---|---|---|---|---| | Light Arrows (x10) | `Recipes/Arrows_Light.json` | 1 Plank, 1 Bone | 0 | by hand, Carpentry Bench | | Medium Arrows (x10) | `Recipes/Arrows_Medium.json` | 2 Plank, 4 Nails | 3 | Anvil | | Fire Arrows (x10) | `Recipes/Arrows_Fire.json` | 1 Light Arrows (x10), 1 Cloth Bolt, 2 Oil | 2 | Carpentry Bench | They carry `"requires": ["RolePlayS"]`: without RolePlayS they are skipped without a console line and nothing shows. RolePlayS must load before LonaCraft (see "Load order"). The processing recipes (Plank, Leather, Nails, Rope, Cloth Bolt, Glass, Iron Ingot, Stone Block) are in the same list, never roll a tier and cost 1 stamina. Weapons and armour cost 1 stamina per material used. Crafting needs stamina above 0, like cooking. ## Crafting skill - Crafting level 0 to 20. Level n to n+1 needs 20 x (n+1) exp. Each weapon or armour you craft gives 5 + its skill requirement exp; each processing recipe gives 1. "Crafting skill up" pops up on level-up. - **Effective skill** = crafting level + half of Lona's Survival trait (rounded). - Tier roll: a random number 0-99, plus 8 x effective skill, minus 4 x the recipe's skill requirement. 170 or more is Legendary, 130 Epic, 95 Rare, 60 Uncommon, below that Common. The crafting screen shows the exact chances. A recipe above your effective skill cannot be made and is hidden from the list (see "Crafting screen"). - With RolePlayS, every craft also gives a little Survival attribute exp. ## Config `Config/LonaCraft.json` (the debug switch and the self-test settings) is described under "Debug switch and self-test" below. The rest of this section is about the recipe config. `Config/Recipes.json` holds your changes to the recipes. The mod never writes it; it is read when the game starts (testing build: **Numpad \*** on the map reloads all recipes). Each start the game also writes `Config/Recipes_defaults.json` (only when it changed): every recipe that loaded, one line each, with the item's display name in a `//` comment above it. Do not edit that one: copy a line from it into the `"recipes"` list of `Config/Recipes.json` and keep only `"id"` and what you change. Lines starting with `//` are comments. A mistake skips that entry (or, if the file cannot be read at all, the whole file) with a line in the console; there is never a message box. | Key | Type | Default | Meaning | |---|---|---|---| | `stations..max_tier` | 1 to 5 | hand 1, others none | best tier that station can give (1 Common .. 5 Legendary) | | `recipes[].id` | text, required | - | the output's item name, `process:` for a processing recipe (Plank, Leather, Nails, RopeCloth, RopeFibre, ClothFibre, Glass, Smelt, CutStone), or a recipe file's own `id` | | `enabled` | true / false | true | `false` removes the recipe everywhere | | `station` | text or list | from the lower layer | `hand`, `carpentry`, `furnace`, `anvil`, `tailor` (`pot` = `hand`) | | `skill` | 0 to 20 | from the lower layer | crafting skill needed | | `inputs` | {item name: count} | from the lower layer | replaces the whole list; `*plant` = any plant or herb | | `amount` | 1 or more | 1 | how many one craft makes | | `max_tier` | 1 to 5 | none | best tier this recipe can give (1 = always Common) | | `category` | gear / furniture / decoration / ammo / building | from the lower layer | the group it is listed in | | `requires` | [mod id, ...] | [] | the entry counts only when those mods are on (no console line otherwise) | An unknown key gives a console line and is ignored. An entry with an unknown id, input or station is skipped with a console line. An id with no recipe yet makes a new one (an item name; then `station` and `inputs` are needed). The file ships with only the `stations` block. Example: ```json {"stations": {"hand": {"max_tier": 1}}, "recipes": [ {"id": "ItemLonaCraftFurnitureCarpentryBench", "station": ["hand", "carpentry"], "skill": 1, "inputs": {"ItemLonaCraftPlank": 6, "ItemLonaCraftRope": 2}}, {"id": "ItemArrowsShortX10", "requires": ["RolePlayS"], "category": "ammo", "station": ["hand", "carpentry"], "skill": 0, "inputs": {"ItemLonaCraftPlank": 1, "ItemLonaCraftBone": 1}}, {"id": "process:RopeFibre", "station": ["hand", "tailor"]}, {"id": "ItemMhShortSword", "skill": 6} ]} ``` ## Furniture 54 pieces of furniture and decoration are crafted at the **Carpentry Bench** (the bench itself, the Bedroll and the Cooking Fire also by hand from the main menu, with their own materials). The crafting screen lists them under **Furniture** (pieces you can use) and **Decorations** (pieces that only stand there, give light, or can be walked on). They never roll a tier (always Common), cost 1 stamina per material like weapons and armour, and give crafting exp like them (5 + skill requirement). | Piece | Group | Sprite (file [index] direction/pattern) | Footprint | Use | Recipe | Skill | Weight | Price | Icon | |---|---|---|---|---|---|---|---|---|---| | Bed | furniture | grimdark64_01 [4] 8/1 | 1x2 | Sleep | 6 Plank, 4 Nails, 2 Cloth Bolt | 4 | 12 | 700 | 262 | | Bed (dark wood) | furniture | grimdark64_01 [4] 8/0 | 2x2 | Sleep | 6 Plank, 4 Nails, 2 Cloth Bolt, 1 Leather | 4 | 12 | 880 | 262 | | Bed (blue) | furniture | grimdark64_01 [4] 8/2 | 1x2 | Sleep | 6 Plank, 4 Nails, 3 Cloth Bolt | 4 | 12 | 770 | 262 | | Storage Chest | furniture | !$_chest_4 [0] 2/1 | rule | Open | 5 Plank, 4 Nails, 1 Iron Ingot | 4 | 10 | 960 | 270 | | Narrow Table | furniture | !_clutter2 [3] 2/1 | 1x2 | Open | 8 Plank, 6 Nails | 4 | 12 | 760 | 266 | | Apothecary Table | decoration | grimdark64_01 [2] 8/2 | rule | - | 6 Plank, 4 Nails, 1 Glass | 4 | 10 | 730 | 266 | | Carpentry Bench | furniture | grimdark64_03 [1] 6/0 | rule | Craft/Salvage | 6 Plank, 2 Rope | 1 | 12 | 530 | 331 | | Furnace | furniture | grimdark128_01 [3] 2/1 | rule | Craft (light) (animated) | 6 Stone Block, 8 Rough Stone | 2 | 12 | 310 | 836 | | Anvil | furniture | grimdark64_02 [3] 4/0 | 1x1 | Craft/Salvage | 3 Iron Ingot, 2 Plank | 3 | 12 | 1580 | 284 | | Tailor's Table | furniture | grimdark96_01 [2] 2/1 | rule | Craft/Salvage | 4 Plank, 2 Rope, 3 Cloth Bolt | 2 | 10 | 600 | 321 | | Stove | furniture | grimdark64_04 [1] 2/0 | rule | Cook (light) (animated) | 6 Stone Block, 1 Iron Ingot, 2 Plank | 4 | 12 | 840 | 271 | | Wooden Tub | decoration | grimdark32_02 [0] 4/1 | rule | - | 6 Plank, 4 Nails, 1 Rope | 3 | 10 | 600 | 265 | | Water Trough | furniture | grimdark64_02 [7] 6/2 | rule | Bathe | 5 Plank, 3 Nails, 4 Stone Block | 3 | 12 | 590 | 265 | | Round Table | decoration | grimdark64_02 [4] 4/0 | rule | - | 4 Plank, 2 Nails | 2 | 8 | 350 | 266 | | Long Table | decoration | grimdark64_04 [4] 2/1 | rule | - | 6 Plank, 4 Nails, 1 Cloth Bolt | 3 | 12 | 620 | 266 | | Wooden Door | decoration | grimdark64_03 [4] 8/0 | rule | - | 3 Plank, 2 Nails | 1 | 6 | 280 | 151 | | Chair (wooden) | decoration | !_clutter2 [1] 2/0 | rule | - | 2 Plank, 2 Nails | 1 | 4 | 200 | 151 | | Armchair (red) | decoration | !_clutter2 [2] 2/0 | rule | - | 3 Plank, 2 Nails, 1 Cloth Bolt, 1 Leather | 3 | 6 | 530 | 151 | | Shelf | decoration | grimdark64_03 [0] 2/1 | rule | - | 5 Plank, 4 Nails | 3 | 9 | 480 | 271 | | Wine Barrel | decoration | grimdark32_01 [3] 2/2 | rule | - | 5 Plank, 3 Nails | 2 | 6 | 450 | 268 | | Cloth Pile | decoration | grimdark32_01 [3] 2/0 | rule | - | 2 Cloth Bolt, 1 Rope | 1 | 2 | 190 | 260 | | Bucket | decoration | grimdark32_01 [3] 8/1 | rule | - | 2 Plank, 1 Nails, 1 Rope | 1 | 2 | 220 | 265 | | Cooking Fire | furniture | !_fire [4] 2/0 | rule | Cook (light) (animated) | 2 Plank, 4 Stone Block; by hand 2 Plank, 4 Rough Stone | 1 | 6 | 290 | 836 | | Lamp Post | decoration | grimdark96_01 [4] 4/0 | 1x1 | - (light) | 1 Iron Ingot, 1 Glass, 1 Rope, 2 Plank | 5 | 8 | 850 | 272 | | Candelabra | decoration | !_clutter [4] 8/0 | rule | - (light) | 1 Iron Ingot | 3 | 3 | 480 | 274 | | Wall Torch | decoration | !_fire [0] 6/1 | 1x1 | - (light) (animated) (wall) | 1 Iron Ingot, 1 Plank, 1 Cloth Bolt | 2 | 2 | 620 | 836 | | Wall Candles | decoration | grimdark64_02 [2] 2/0 | 1x1 | - (light) (wall) | 1 Iron Ingot, 1 Cloth Bolt | 2 | 2 | 550 | 274 | | Hanging Lantern | decoration | grimdark96_01 [5] 4/0 | 1x1 | - (light) | 1 Iron Ingot, 1 Glass, 2 Plank | 3 | 6 | 800 | 272 | | Torch Stand | decoration | !_fire [0] 2/1 | rule | - (light) (animated) | 1 Iron Ingot, 2 Plank, 1 Cloth Bolt | 2 | 4 | 700 | 836 | | Rug (red) | decoration | grimdark32_02 [7] 2/0 | 1x1 | - (walkable) | 3 Cloth Bolt | 1 | 3 | 220 | 378 | | Rug (patterned) | decoration | grimdark64_02 [2] 2/1 | 1x1 | - (walkable) | 4 Cloth Bolt, 1 Rope | 2 | 4 | 340 | 378 | | Goods Table | decoration | grimdark64_01 [7] 2/0 | rule | - | 3 Leather | 3 | 5 | 540 | 451 | | Bedroll | furniture | grimdark64_01 [6] 2/1 | 1x1 | Sleep (walkable) (occupies its tile) | 2 Stone Block, 1 Plank; by hand 2 Hide, 1 Rope | 1 | 4 | 140 | 309 | | Flower Pot | decoration | !_clutter [7] 2/0 | rule | - | 2 Stone Block | 1 | 2 | 70 | 309 | | Butcher Post | decoration | grimdark64_01 [2] 4/0 | rule | - | 2 Cloth Bolt, 1 Plank | 2 | 3 | 220 | 233 | | Banner | decoration | grimdark96_01 [0] 4/0 | 1x1 | - (wall) | 3 Cloth Bolt, 2 Plank, 1 Rope | 2 | 5 | 410 | 233 | | Painting | decoration | grimdark64_02 [3] 2/1 | 1x1 | - (wall) | 2 Plank, 2 Cloth Bolt | 3 | 3 | 290 | 233 | | Deer Trophy | decoration | grimdark64_01 [6] 4/0 | 1x1 | - (wall) | 2 Plank, 1 Leather, 1 Nails | 3 | 4 | 350 | 451 | | Sword Crate | decoration | !_clutter [6] 6/0 | rule | - | 4 Plank, 3 Nails, 1 Iron Ingot | 4 | 8 | 860 | 147 | | Spear Rack | decoration | !_clutter [6] 6/1 | rule | - | 4 Plank, 3 Nails, 1 Iron Ingot | 4 | 8 | 860 | 154 | | Deepone Trophy | decoration | grimdark64_02 [0] 4/2 | 1x1 | - (wall) | 3 Plank, 2 Nails, 1 Leather | 3 | 6 | 460 | 502 | | Stacked Crates | decoration | grimdark64_01 [5] 4/0 | rule | - | 5 Plank, 4 Nails, 2 Glass | 4 | 10 | 840 | 271 | | Shrine | decoration | !_clutter [4] 8/1 | 1x1 | - (wall) | 4 Stone Block, 2 Plank, 1 Cloth Bolt | 3 | 8 | 360 | 359 | | Fancy Dining Set | decoration | grimdark64_04 [4] 4/1 | rule | - | 8 Plank, 6 Nails, 3 Cloth Bolt, 2 Leather | 6 | 12 | 1330 | 151 | | Stone Idol | decoration | grimdark64_03 [5] 4/0 | rule | - | 10 Stone Block | 5 | 12 | 360 | 257 | | Skull Relief | decoration | grimdark64_03 [2] 4/0 | 1x1 | - (wall) | 2 Cloth Bolt, 2 Plank, 1 Leather | 3 | 4 | 470 | 339 | | Iron Cage | decoration | grimdark64_04 [4] 8/1 | rule | - | 3 Iron Ingot, 1 Plank | 5 | 12 | 1510 | 808 | | Hay Pile | decoration | grimdark64_02 [7] 8/0 | rule | - | 2 Rope | 1 | 4 | 100 | 269 | | Crate Stack | decoration | grimdark64_02 [7] 8/1 | rule | - | 3 Plank, 2 Nails | 1 | 5 | 280 | 151 | | Log Pile | decoration | grimdark64_03 [7] 8/1 | rule | - | 6 Plank, 1 Rope | 1 | 10 | 480 | 331 | | Skeleton Throne | decoration | grimdark96_01 [2] 2/1 | rule | - | 3 Plank, 2 Nails, 2 Cloth Bolt | 2 | 6 | 420 | 321 | | Still | decoration | grimdark128_01 [2] 2/0 | rule | - (animated) | 2 Iron Ingot, 2 Glass, 2 Plank | 5 | 12 | 1460 | 271 | | Market Stall | decoration | grimdark128_01 [6] 2/1 | rule | - | 8 Plank, 4 Nails, 4 Cloth Bolt, 2 Rope | 4 | 12 | 1080 | 267 | | Tent | decoration | grimdark128_01 [2] 4/0 | rule | - | 6 Cloth Bolt, 3 Rope, 3 Plank | 3 | 12 | 790 | 262 | Every piece also has Pick up / Cancel. The recipes are ordinary override files (`Recipes/Furniture_*.json`, with `"category": "furniture"` or `"decoration"` and `"fixed_tier": 1`), so they can be changed like any other recipe. A new piece is one row in `KINDS` (`Scripts/90_Furniture.rb`), one `Item/Furniture_.json`, one `Recipes/Furniture_.json` and its texts in `Text//Furniture.txt`. The internal key (file names, item names such as `ItemLonaCraftFurnitureFurRug`) stays fixed for saves even when the display name changes (that key is now the Goods Table). Removed kinds (Brazier, Scroll Shelf, Crate, Fireplace, Lantern (small)): their pieces in an old save are skipped with a console note. **Placing.** Open the inventory and *use* the piece (the hotkey slots do not place furniture). The menu closes and a see-through copy of the piece appears on the tile in front of Lona. Move it with the arrow keys (up to 3 tiles from Lona in each direction), **OK** places it, **Cancel** stops without using anything. The copy turns faint on a tile where it cannot go; pressing OK there gives a buzzer and the game's "cannot place here" line. A spot is fine when every tile the piece covers (its footprint, below) is free ground: inside the map, not Lona's own tile, no event (person, door, object) on it, not water or bush, and walkable from all four sides. A rug does not count as taken (a table can stand on it); the Bedroll does (`:occupy`). The piece is taken from the inventory only when it is placed. **Wall pieces** (Banner, Painting, Deer Trophy, Deepone Trophy, Shrine, Skull Relief, Wall Torch, Wall Candles; `:wall` in `KINDS`) hang on the back wall: they can be placed only on an owned back-wall tile (`LonaCraft::Homes.wall_allowed_at?`, windows excluded), never on the floor, and floor pieces never go on those wall tiles. The ghost can be moved onto the wall for them. A wall piece is 1x1, has no blockers (the wall already blocks) and is drawn like "above characters" (`@forced_z`) while keeping normal priority, so the action key still reaches it from the floor tile in front. **Footprint.** A piece blocks the floor tiles under its picture. From the picture's cell size (cw x ch pixels): width w = (cw - 16) / 32 rounded up, i.e. cw / 32 rounded half down (32 and 48 px -> 1, 64 -> 2, 96 -> 3, 128 -> 4; at least 1), height h = ch / 64 rounded up (at least 1; the top half of a picture is drawn "up the wall", not on the floor). The piece's own tile is the bottom row, centre: odd widths cover the same number of tiles left and right; even widths are drawn half a tile to the right, so a 2-wide piece covers its tile and the one to the right, a 4-wide one (the Furnace, 128 px) one tile left and two right. Rows go up h - 1 tiles from the piece's tile. So: 32 px pieces and the !_clutter and !_fire pieces (32 x 64, e.g. the Cooking Fire) 1x1, 64 px pieces (benches, tables) 2 wide x 1 high, 96 px pieces (Tailor's Table placeholder, Skeleton Throne) 3 x 2, 128 px pieces (Furnace, Still, Tent, Market Stall) 4 x 2. A `KINDS` row in `Scripts/90_Furniture.rb` may set `:foot_w` and/or `:foot_h` (tiles) to override the formula for that piece; then the half-tile shift follows `:foot_w` (odd: drawn centred, even: half a tile right), otherwise the picture width. Overrides in use: the single beds and the Narrow Table 1 x 2 (rows y-1..y), the dark-wood bed (a double) 2 x 2, the Anvil, Lamp Post and Hanging Lantern 1 x 1. Invisible blockers stand on the extra tiles; pressing the action key at one opens the piece's menu. Rugs cover only their own tile and can be walked on. Blockers saved under an older rule are rebuilt on the next map load. **Where.** In a home you own (`LonaCraft::Homes.furniture_allowed?(map)`, the homes script) or wherever a base can be built out in the wild (`LonaCraft::Bases.furniture_map_ok?(map)`, see "Bases"), never on the world map or during combat. Anywhere else the game says "You can only furnish a home you own or a base of yours out in the wild". Without the homes and bases scripts nothing can be placed. Another mod can allow more maps with `LonaCraft::Furniture.allowed_maps = ["MapName", ...]`. **Using a piece.** Walk up to it and press the action key (rugs: stand on them). - **Sleep** (beds, Bedroll): exactly what the game's beds do (the usual sleep menu follows). - **Open** (Storage Chest, Narrow Table): a storage box of its own, kept in the save. Two pieces never share a box. - **Craft** (stations): the crafting screen for that station. **Salvage** (Carpentry Bench, Anvil, Tailor's Table): see "What it adds". - **Cook** (Stove, Cooking Fire): the normal dark-pot cooking, same as at any pot. - **Bathe** (Water Trough): the game's own bath, the same as at a water spot. - Lights light the area around them (the game's KHAS lights, as the placed cooking pot): `torch_weak` for Furnace, Stove, Cooking Fire, Wall Torch, Wall Candles, Torch Stand; `lanternSM_item` for Lamp Post, Hanging Lantern, Candelabra. Furnace, Stove, Cooking Fire, Wall Torch, Torch Stand and Still are animated. - **Pick up:** removes the piece and puts the item back in the inventory. A storage piece with anything in it refuses ("empty it first"). Town stations cannot be picked up. **Owner sprites.** The Anvil, Carpentry Bench and Tailor's Table use placeholder art from the game until their own pictures are in `LonaCraft/Graphics/Characters/`: `LonaCraft_Anvil.png`, `LonaCraft_CarpentryBench.png`, `LonaCraft_TailorTable.png` (`LonaCraft::Furniture::CUSTOM_SPRITES`; a `LonaCraft_Loom.png` entry is reserved for a later piece). Format: **one PNG = one cell** (the Anvil is 48 x 48, the other two 64 x 64; other sizes work and set the footprint), transparent background, the object standing on the bottom edge (the bottom centre of the picture sits on the tile's bottom centre). No 3 x 4 sheet: the event uses the whole picture (the game's manual cell size, `@manual_cw = 1`, `@manual_ch = 1`). If a file is missing, that piece keeps its placeholder. **What is saved.** Each placed piece is one entry (number, map, x, y, item) in the game's own system data in the save, plus a storage piece's box contents in the game's storage boxes. Pieces come back every time the map is entered, after sleeping, and after loading. If LonaCraft is removed, the pieces on the map you are standing on stay visible until you leave it but do nothing; the entries stay in the save and come back if the mod is turned on again. If a furniture item is removed from the mod, its pieces are skipped (console note) and kept in the save. The salvage boxes of the stations are shared by every station of that kind (town or home). **Known limits.** - The footprint comes from the picture's cell size (lower half only), even where the art itself is smaller or transparent; use `:foot_w` / `:foot_h` for exceptions. - Pieces cannot be moved; pick up and place again. - Pieces belong to a map number. If the game reuses one map for several places, the pieces show up in each of them. - Furniture item ids follow the material ids, so the load-order rule below applies to them too. ## Homes `Scripts/100_Homes.rb`. Turn the whole feature off with `LonaCraft::Homes::ENABLED = false` (then there is no door, no offer and furniture can be placed nowhere). Each place is one row of `LonaCraft::Homes::LOCATIONS`; its texts are in `Text//Homes.txt`. | Place | Price | Sold by | Where | |---|---|---|---| | Old Shack (`noer_shack`) | buy, 5 Gold Coins | Maani, the bank clerk who keeps the storage | World map, bottom-left corner of Noer (tile 23,100) | | Stone House (`noer_stonehouse`) | buy, 15 Gold Coins | Maani, the bank clerk who keeps the storage | World map, middle of Noer, two tiles left of the tavern (tile 31,100) | | Upstairs Room (`noer_inn_room`) | rent, 2 Large Copper Coins a week | Boss Mama, the tavern keeper | Noer tavern, the room right of Cocona's (top-left) | **Buying (the shack, the stone house).** While a house is not owned, Maani's menu has one more line for it, "Buy shack 5 gold" and "Buy stone house 15 gold". It takes that many Gold Coins (only Gold Coins count). Not enough: she refuses. Everything else in the menu is the game's own, unchanged. **The Old Shack.** In this game Noer is the world map itself: each building is a point on it that leads into its own map. The shack is a point like that (a small wooden house) in the bottom-left corner of the city, far from the gates. Not owned: "Locked. The bank sells this house." Owned: Enter / Leave. Inside is one empty wooden room, 6 x 4 tiles of weathered boards (`Maps/NoerShack.rvdata2`, built from the middle room of the game's NoerTransHouse map); the stairs at the bottom lead back out, as in every building of the game. Move the door by editing `:door` (map name, x, y, picture) in the row. **The Stone House.** Bigger and of better materials, 15 Gold Coins. Its door is a point like the shack's (a big brown townhouse) in the middle of Noer, two tiles left of the tavern. Locked / Enter / Leave as the shack. Inside is one empty room, 8 x 5 tiles of grey flagstone under grey dressed-stone walls with two windows (`Maps/NoerStoneHouse.rvdata2`, laid out like the shack); the stairs at the bottom lead back out. **Renting (the tavern room).** Boss Mama's menu gets, at the end: - not rented: "Rent room 2 LC a week" (LC = Large Copper Coin) - rented: "Extend rent 2 LC a week" and "Rent status" ("The room is yours for N more days") - whenever she holds things of Lona's: "Collect belongings" (everything back at once) Renting or extending asks 1 / 2 / 4 weeks / Cancel and takes 2 Large Copper Coins per week; not enough coins: she refuses. The menu lines are kept short on purpose: the game's choice window squeezes a line wider than its 608 px text area, and then also showed a dim copy under the selected line; LonaCraft clears that row before the selected line is drawn (a small fix in 100_Homes.rb). Paying while the rent still runs adds the weeks to its end. A week is 7 game days (the end is kept as the game's date count, two steps per day). The rent runs out when that date has passed; this is checked every time a map loads, every time the date moves (each sleep) and when Boss Mama's menu opens. Then the room is the game's own again at the next load (bed, bucket, table, torch), and every piece Lona placed in it, with the contents of its chests, goes to Boss Mama: the popup says "Your room rent ran out. Boss Mama is holding your belongings." Collect them from her menu (an item that no longer exists is skipped, console note). **The Upstairs Room while rented.** The room's own bed, water bucket, small table and the wall torch above it are gone (the window stays); Lona furnishes it herself. Sleeping on her own bed in the room is the inn's own paid sleep (night visitors as the inn has them, then the meal, bath and full restore of a room key) without needing or using a key. The rest of the tavern still needs a key as before, and Boss Mama's own room key still works as before. The room is worked out from the map each time it loads: every walkable tile reached from `:room_seed` without crossing `:door_tiles` (the room's door and the closed stair to the floor above), inside `:room_bounds`, plus the table's tile: 11 tiles. The bed's and a scene point are moved just outside the door. The map file is never changed. Renting while Lona stands in the tavern clears the room at once. **Furniture** may be placed anywhere in an owned house and only on the room's tiles while the rent runs (`LonaCraft::Homes.furniture_allowed_at?(map, x, y)`). Wall decorations go on the wall tile just above the floor, except the windows (`LonaCraft::Homes.wall_allowed_at?(map, x, y)`): in the shack (11,12), (13,12), (14,12), (16,12); in the stone house (11,12), (13,12) to (16,12), (18,12); in the tavern room (31,28) to (34,28). **Sleeping in a house** (the shack, the stone house) on a placed bed is the plain nap, the same as sleeping in the field: no meal, stamina comes back from satiety and satiety goes down. **Saved.** Which places are owned, the rent end, and what Boss Mama holds (game system data in the save, no extra hook). If LonaCraft or homes are turned off while Lona is inside a house, leave it first: the house maps are only known while the mod runs. **Adding a place.** A house: a map file in `Maps/`, a row with `:door` and `:interior`, texts. A room on a game map: a row with `:map`, `:room_seed`, `:room_bounds`, `:door_tiles`, `:keep`, `:move_points`, `:tile_overrides`, `:remove_event_tiles`, `:floor_ref` and, for an inn, `:nap_script`; `:mode => :rent` with `:price` and `:coin` per week. A new seller: one `SELLERS` line and a two-line `HCGframes/