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/objects.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'worldbuilding_guide/objects.md') diff --git a/worldbuilding_guide/objects.md b/worldbuilding_guide/objects.md index a7da5e6..38eaeeb 100644 --- a/worldbuilding_guide/objects.md +++ b/worldbuilding_guide/objects.md @@ -124,9 +124,9 @@ Simple message (no action): id: anvil name: anvil use_interactions: - - item: silver_bar + - item_id: silver_bar message: "You should use this with a mold at a furnace." - - item: gold_bar + - item_id: gold_bar message: "You should use this with a mold at a furnace." ``` @@ -135,11 +135,11 @@ Puzzle interaction (take item, set flag): id: crystal_slot name: crystal slot use_interactions: - - item: crystal_key + - item_id: crystal_key condition: flag: crystal_inserted message: "The crystal key is already in the slot." - - item: crystal_key + - item_id: crystal_key message: "You insert the crystal key into the slot. It clicks into place." action: take_item: crystal_key @@ -150,7 +150,7 @@ use_interactions: Quest item exchange: ```yaml use_interactions: - - item: ancient_scroll + - item_id: ancient_scroll condition: player_flag: quest_started message: "You place the scroll on the pedestal. The door rumbles open!" @@ -166,7 +166,7 @@ use_interactions: | Field | Type | Description | | ----------- | ---------- | ------------------------------------------------ | -| `item` | string | Item ID that triggers this interaction | +| `item_id` | string | Item ID that triggers this interaction | | `condition` | Condition | Optional condition (same as exits/talk/use_interactions) | | `message` | string | Message shown to the player | | `action` | NodeAction | Optional actions (same as talk node actions) | -- cgit v1.2.3