aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/objects.md
diff options
context:
space:
mode:
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) |