aboutsummaryrefslogtreecommitdiff
path: root/data/objects/tool_shed.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 05:27:10 -0400
committerhistoria <[not public]>2026-07-09 05:27:10 -0400
commitc705ae942573984784ef501bf8198f61f5206ddd (patch)
treec964066f3a244002bf75cb50a877630f46496f81 /data/objects/tool_shed.yaml
parent74153c7814fc4cef988066ef04e38731a943bc12 (diff)
downloadthehouseoficarus-c705ae942573984784ef501bf8198f61f5206ddd.tar.gz
refactor: simplify yaml, remove support for old scalar fields
Diffstat (limited to 'data/objects/tool_shed.yaml')
-rw-r--r--data/objects/tool_shed.yaml183
1 files changed, 92 insertions, 91 deletions
diff --git a/data/objects/tool_shed.yaml b/data/objects/tool_shed.yaml
index 119d3e2..7b539db 100644
--- a/data/objects/tool_shed.yaml
+++ b/data/objects/tool_shed.yaml
@@ -1,96 +1,97 @@
color: "5E"
-description: A small shed for storing farming tools. Talk to it to store or retrieve tools.
+description:
+- text: A small shed for storing farming tools. Talk to it to store or retrieve tools.
hidden: false
inroom_description: A weathered tool shed stands against the wall.
name: tool shed
talk:
- nodes:
- retrieve_rake:
- action:
- give_item: rake
- set_player_flags:
- tool_shed_rake: false
- messages:
- - You retrieve the rake from the tool shed.
- options:
- - goto: start
- text: Continue
- retrieve_spade:
- action:
- give_item: spade
- set_player_flags:
- tool_shed_spade: false
- messages:
- - You retrieve the spade from the tool shed.
- options:
- - goto: start
- text: Continue
- retrieve_watering_can:
- action:
- give_item: watering_can
- set_player_flags:
- tool_shed_watering_can: false
- messages:
- - You retrieve the watering can from the tool shed.
- options:
- - goto: start
- text: Continue
- start:
- messages:
- - The tool shed is open. What would you like to do?
- options:
- - condition:
- has_item: rake
- goto: store_rake
- text: Store rake
- - condition:
- has_item: spade
- goto: store_spade
- text: Store spade
- - condition:
- has_item: watering_can
- goto: store_watering_can
- text: Store watering can
- - condition:
- player_flag: tool_shed_rake
- goto: retrieve_rake
- text: Retrieve rake
- - condition:
- player_flag: tool_shed_spade
- goto: retrieve_spade
- text: Retrieve spade
- - condition:
- player_flag: tool_shed_watering_can
- goto: retrieve_watering_can
- text: Retrieve watering can
- - text: Never mind
- store_rake:
- action:
- set_player_flags:
- tool_shed_rake: true
- take_item: rake
- messages:
- - You store the rake in the tool shed.
- options:
- - goto: start
- text: Continue
- store_spade:
- action:
- set_player_flags:
- tool_shed_spade: true
- take_item: spade
- messages:
- - You store the spade in the tool shed.
- options:
- - goto: start
- text: Continue
- store_watering_can:
- action:
- set_player_flags:
- tool_shed_watering_can: true
- take_item: watering_can
- messages:
- - You store the watering can in the tool shed.
- options:
- - goto: start
- text: Continue
+ nodes:
+ retrieve_rake:
+ action:
+ give_item: rake
+ set_player_flags:
+ tool_shed_rake: false
+ messages:
+ - You retrieve the rake from the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ retrieve_spade:
+ action:
+ give_item: spade
+ set_player_flags:
+ tool_shed_spade: false
+ messages:
+ - You retrieve the spade from the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ retrieve_watering_can:
+ action:
+ give_item: watering_can
+ set_player_flags:
+ tool_shed_watering_can: false
+ messages:
+ - You retrieve the watering can from the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ start:
+ messages:
+ - The tool shed is open. What would you like to do?
+ options:
+ - condition:
+ has_item: rake
+ goto: store_rake
+ text: Store rake
+ - condition:
+ has_item: spade
+ goto: store_spade
+ text: Store spade
+ - condition:
+ has_item: watering_can
+ goto: store_watering_can
+ text: Store watering can
+ - condition:
+ player_flag: tool_shed_rake
+ goto: retrieve_rake
+ text: Retrieve rake
+ - condition:
+ player_flag: tool_shed_spade
+ goto: retrieve_spade
+ text: Retrieve spade
+ - condition:
+ player_flag: tool_shed_watering_can
+ goto: retrieve_watering_can
+ text: Retrieve watering can
+ - text: Never mind
+ store_rake:
+ action:
+ set_player_flags:
+ tool_shed_rake: true
+ take_item: rake
+ messages:
+ - You store the rake in the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ store_spade:
+ action:
+ set_player_flags:
+ tool_shed_spade: true
+ take_item: spade
+ messages:
+ - You store the spade in the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ store_watering_can:
+ action:
+ set_player_flags:
+ tool_shed_watering_can: true
+ take_item: watering_can
+ messages:
+ - You store the watering can in the tool shed.
+ options:
+ - goto: start
+ text: Continue