aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors
diff options
context:
space:
mode:
authorworkhorse <workhorse@localhost.localdomain>2026-06-19 11:51:17 -0400
committerworkhorse <workhorse@localhost.localdomain>2026-06-19 11:51:17 -0400
commit575a71dcfed3b9fa44af244836f638a23df05a9a (patch)
treeeb5eff16eab86247a3dd93ff4d7fd3781f291b64 /data/behaviors
parent52a3ce6a4b4a254dc5d3067979a09e93c060fa20 (diff)
downloadthehouseoficarus-575a71dcfed3b9fa44af244836f638a23df05a9a.tar.gz
feat: farming roughly implemented
Diffstat (limited to 'data/behaviors')
-rw-r--r--data/behaviors/tool_shed_talk.yaml86
1 files changed, 86 insertions, 0 deletions
diff --git a/data/behaviors/tool_shed_talk.yaml b/data/behaviors/tool_shed_talk.yaml
new file mode 100644
index 0000000..87db9fa
--- /dev/null
+++ b/data/behaviors/tool_shed_talk.yaml
@@ -0,0 +1,86 @@
+id: tool_shed_talk
+type: talk
+nodes:
+ start:
+ message: "The tool shed is open. What would you like to do?"
+ options:
+ - text: "Store rake"
+ goto: store_rake
+ condition:
+ has_item: rake
+ - text: "Store spade"
+ goto: store_spade
+ condition:
+ has_item: spade
+ - text: "Store watering can"
+ goto: store_watering_can
+ condition:
+ has_item: watering_can
+ - text: "Retrieve rake"
+ goto: retrieve_rake
+ condition:
+ player_flag: tool_shed_rake
+ - text: "Retrieve spade"
+ goto: retrieve_spade
+ condition:
+ player_flag: tool_shed_spade
+ - text: "Retrieve watering can"
+ goto: retrieve_watering_can
+ condition:
+ player_flag: tool_shed_watering_can
+ - text: "Never mind"
+ end: true
+ store_rake:
+ message: "You store the rake in the tool shed."
+ action:
+ take_item: rake
+ set_player_flags:
+ tool_shed_rake: true
+ options:
+ - text: "Continue"
+ goto: start
+ store_spade:
+ message: "You store the spade in the tool shed."
+ action:
+ take_item: spade
+ set_player_flags:
+ tool_shed_spade: true
+ options:
+ - text: "Continue"
+ goto: start
+ store_watering_can:
+ message: "You store the watering can in the tool shed."
+ action:
+ take_item: watering_can
+ set_player_flags:
+ tool_shed_watering_can: true
+ options:
+ - text: "Continue"
+ goto: start
+ retrieve_rake:
+ message: "You retrieve the rake from the tool shed."
+ action:
+ give_item: rake
+ set_player_flags:
+ tool_shed_rake: false
+ options:
+ - text: "Continue"
+ goto: start
+ retrieve_spade:
+ message: "You retrieve the spade from the tool shed."
+ action:
+ give_item: spade
+ set_player_flags:
+ tool_shed_spade: false
+ options:
+ - text: "Continue"
+ goto: start
+ retrieve_watering_can:
+ message: "You retrieve the watering can from the tool shed."
+ action:
+ give_item: watering_can
+ set_player_flags:
+ tool_shed_watering_can: false
+ options:
+ - text: "Continue"
+ goto: start