Repository navigation
Restock Shop Settings
kahlen-tech edited this page Nov 5, 2026
·
1 revision
Keeps your player shop stocked. It goes into your shop and LOOKs at each surface you sell from. For every item in your list that isn't there, it makes a new one with the crafting scripts, stamps it with your maker's mark, and SELLs it on its surface at your price. Afterwards it repairs the tools it used with ;workorders <discipline> repair.
| Material | How it's made |
|---|---|
| steel | Makesteel and Smith, from one refined steel ingot it keeps topped up |
| low carbon steel | The same, from a fresh low-carbon ingot each run |
| heavy burlap, heavy linen, heavy silk | Spin, Weave Cloth and Sew |
| gryphon | Sew, buying the parts the recipe needs |
An item counts as in stock if every word of its full_name appears in one of the surface's items, in any order.
If it can't get into your shop: "Your shop settings appear to be incorrect. Please check the script documentation and update your settings".
restock_shop:
outside_room: 7911
inside_room: 14614
entrance_noun: door
items:
- noun: mask
full_name: quilted heavy silk mask
price: 90000
surface: in cabinet
recipe: a quilted cloth mask
material: heavy silk
- noun: gauntlets
full_name: light steel plate gauntlets
price: 60000
surface: on table
recipe: light plate gauntlets
material: steel
deed_steel_ingot: true
steel_refine_factor: 1.25| Setting | Default | Purpose |
|---|---|---|
| restock_shop |
Required. Your shop: the room outside_room the entrance is in, the inside_room, the entrance_noun to OPEN and GO, and your items. |
|
| deed_steel_ingot | Keep the leftover steel ingot as a deed between runs. Without it, the leftover is thrown away. | |
| steel_refine_factor | 1.25 | How much a refined ingot shrinks: 1.25 with the steel-refining technique, 2.0 without. |
Each item needs:
| Key | Purpose |
|---|---|
| noun | The item's noun. |
| full_name | How it looks in your shop, to tell it from similar items on the same surface. It isn't always the adjective and noun. |
| price | The price, in copper. |
| surface | Where it goes, with in or on, e.g. in cabinet. |
| recipe | The recipe's name in your crafting book. |
| material |
steel, low carbon steel, heavy burlap, heavy linen, heavy silk or gryphon. |
It also uses your crafting settings (crafting_container, forging_belt or engineering_belt, worn_trashcan) and those of the crafting scripts it runs.
None.
;restock-shop
- Home
- Installation
- Script Settings
- Tutorials
- Crafting Setup
- Recommendations
- Plugin development