aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/objects.md
diff options
context:
space:
mode:
authorworkhorse <workhorse@localhost.localdomain>2026-06-19 20:24:52 -0400
committerworkhorse <workhorse@localhost.localdomain>2026-06-19 20:24:52 -0400
commit8ee8982b8759bcae116647cc993867f4c8b0a6ce (patch)
treeee01f7b1d745cbc94d9981108a1209527487b3e5 /worldbuilding_guide/objects.md
parent2bec24859af8f03c80a0a58e3240519942450167 (diff)
downloadthehouseoficarus-8ee8982b8759bcae116647cc993867f4c8b0a6ce.tar.gz
reorganized items, objects, and rooms in directories. oranized module names. added startup checks.
Diffstat (limited to 'worldbuilding_guide/objects.md')
-rw-r--r--worldbuilding_guide/objects.md12
1 files changed, 6 insertions, 6 deletions
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) |