aboutsummaryrefslogtreecommitdiff
path: root/data/objects/tool_shed.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 18:20:26 -0400
committerhistoria <[not public]>2026-06-19 18:20:26 -0400
commit0ea4eec5dd2122c6704216971eb1249276297867 (patch)
tree430fbbef04e837820f1d031c190f52ecd6112e25 /data/objects/tool_shed.yaml
parent3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff)
downloadthehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'data/objects/tool_shed.yaml')
-rw-r--r--data/objects/tool_shed.yaml94
1 files changed, 89 insertions, 5 deletions
diff --git a/data/objects/tool_shed.yaml b/data/objects/tool_shed.yaml
index 752c921..9b59682 100644
--- a/data/objects/tool_shed.yaml
+++ b/data/objects/tool_shed.yaml
@@ -1,7 +1,91 @@
-id: tool_shed
-name: tool shed
color: "94"
-behavior: tool_shed_talk
+description: 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."
-description: "A small shed for storing farming tools. Talk to it to store or retrieve tools."
+id: tool_shed
+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
+ message: 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
+ message: 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
+ message: You retrieve the watering can from the tool shed.
+ options:
+ - goto: start
+ text: Continue
+ start:
+ message: 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
+ - end: true
+ text: Never mind
+ store_rake:
+ action:
+ set_player_flags:
+ tool_shed_rake: true
+ take_item: rake
+ message: 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
+ message: 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
+ message: You store the watering can in the tool shed.
+ options:
+ - goto: start
+ text: Continue