From 8ee8982b8759bcae116647cc993867f4c8b0a6ce Mon Sep 17 00:00:00 2001 From: workhorse Date: Fri, 19 Jun 2026 20:24:52 -0400 Subject: reorganized items, objects, and rooms in directories. oranized module names. added startup checks. --- worldbuilding_guide/recipes.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'worldbuilding_guide/recipes.md') diff --git a/worldbuilding_guide/recipes.md b/worldbuilding_guide/recipes.md index 81a1240..29b513a 100644 --- a/worldbuilding_guide/recipes.md +++ b/worldbuilding_guide/recipes.md @@ -4,7 +4,7 @@ Recipes define how items are processed on stations to produce new items. They are the foundation for cooking, smithing, crafting, and fletching. -Recipe files live in `data/recipes/.yaml`. +Recipe files live in `data/recipes//.yaml` (e.g., `data/recipes/smithing/smith_bronze_dagger.yaml`). ### Recipe vs MadeFrom @@ -39,7 +39,7 @@ Each consume entry defines an ingredient slot with multiple valid items. The fir ```yaml consume: - items: [item_id, alternative_id, ...] - qty: 1 + quantity: 1 byproducts: [byproduct_for_item, byproduct_for_alt, ...] ``` @@ -48,10 +48,10 @@ consume: ```yaml consume: - items: [bucket_of_water, vial_of_water] - qty: 1 + quantity: 1 byproducts: [empty_bucket, ""] # bucket returns empty, vial is consumed entirely - items: [herb] - qty: 1 # no byproducts — herb is consumed entirely + quantity: 1 # no byproducts — herb is consumed entirely ``` ### Station-based recipe (cooking on a fire) @@ -66,7 +66,7 @@ wait: 6 station: [fire, cooking_range] consume: - items: [raw_trout] - qty: 1 + quantity: 1 output: trout fail: burnt_fish message: "Cooked to perfection. It looks great!" @@ -85,7 +85,7 @@ wait: 6 station: [cooking_range] consume: - items: [bread_dough] - qty: 1 + quantity: 1 output: bread fail: burnt_meat message: "You bake the dough into a fresh loaf of bread." @@ -106,9 +106,9 @@ wait: 4 station: [furnace] consume: - items: [iron_ore] - qty: 1 + quantity: 1 - items: [coal] - qty: 2 + quantity: 2 output: steel_bar message: "You remove a white hot steel bar!" fail_message: "You fail to smelt a usable bar." @@ -137,7 +137,7 @@ wait: 4 station: [anvil] consume: - items: [steel_bar] - qty: 5 + quantity: 5 output: steel_platebody message: "You hammer out a steel platebody." ``` @@ -154,7 +154,7 @@ wait: 4 station: [anvil] consume: - items: [iron_bar] - qty: 1 + quantity: 1 output: iron_nails output_qty: 15 message: "You hammer out some iron nails." @@ -171,9 +171,9 @@ name: bread dough color: "222" made_from: - items: [pot_of_flour] - qty: 1 + quantity: 1 - items: [bucket_of_water, pitcher_of_water, vial_of_water] - qty: 1 + quantity: 1 ``` The player uses `use flour on water` to combine them. The system finds that `bread_dough` can be made from these ingredients and produces it. -- cgit v1.2.3