aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/client.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 16:37:45 -0400
committerhistoria <[not public]>2026-07-01 16:37:45 -0400
commite6b4cb9f5816c6ee239233bc85f74ee446a161c2 (patch)
tree1c3bf71c8b7f095baae989afe5e33183a7ed3929 /data/mobs/examples/client.yaml
parent649ef4b7416ce7053145878841fc9b0bff2f5fec (diff)
downloadthehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'data/mobs/examples/client.yaml')
-rw-r--r--data/mobs/examples/client.yaml62
1 files changed, 38 insertions, 24 deletions
diff --git a/data/mobs/examples/client.yaml b/data/mobs/examples/client.yaml
index 91b6802..0d5f27d 100644
--- a/data/mobs/examples/client.yaml
+++ b/data/mobs/examples/client.yaml
@@ -19,17 +19,18 @@ talk:
nodes:
assign_task:
action:
- assign_task: true
- message: '"Let me check what''s available..." The Client scrolls through their data pad.'
+ messages:
+ - '"Let me check what''s available..." The Client scrolls through their data pad.'
options:
- text: '"Understood."'
- goto: start
text: '"What else do you have?"'
buy_acid:
action:
- cost: 10
+ credits: -10
give_item: acid_vial
- message: '"Handle with care." The Client passes you a vial of corrosive acid.'
+ messages:
+ - '"Handle with care." The Client passes you a vial of corrosive acid.'
options:
- condition:
min_credits: 10
@@ -42,7 +43,8 @@ talk:
reputation_cost: 200
set_player_flags:
assassin_unlocked_auto_acid_vial: true
- message: '"Auto-acid purchased. Acid vials will no longer be consumed."'
+ messages:
+ - '"Auto-acid purchased. Acid vials will no longer be consumed."'
options:
- goto: rep_shop
text: '"Thanks."'
@@ -51,7 +53,8 @@ talk:
reputation_cost: 200
set_player_flags:
assassin_unlocked_auto_salt: true
- message: '"Auto-salt purchased. You''ll no longer consume salt on finishing blows."'
+ messages:
+ - '"Auto-salt purchased. You''ll no longer consume salt on finishing blows."'
options:
- goto: rep_shop
text: '"Thanks."'
@@ -60,23 +63,26 @@ talk:
reputation_cost: 100
set_player_flags:
assassin_unlocked_extend: true
- message: '"You can now extend tasks via our conversation."'
+ messages:
+ - '"You can now extend tasks via our conversation."'
options:
- goto: rep_shop
text: '"Thanks."'
buy_gloves:
action:
- cost: 50
+ credits: -50
give_item: insulated_gloves
- message: '"These''ll keep the current from frying your hands." The Client tosses you a pair of thick rubber gloves.'
+ messages:
+ - '"These''ll keep the current from frying your hands." The Client tosses you a pair of thick rubber gloves.'
options:
- goto: supplies
text: '"Thanks."'
buy_salt:
action:
- cost: 5
+ credits: -5
give_item: salt
- message: '"Here you go." The Client slides a packet of salt across the table.'
+ messages:
+ - '"Here you go." The Client slides a packet of salt across the table.'
options:
- condition:
min_credits: 5
@@ -89,24 +95,28 @@ talk:
reputation_cost: 300
set_player_flags:
assassin_unlocked_superiors: true
- message: '"Superior encounters unlocked. Watch yourself out there."'
+ messages:
+ - '"Superior encounters unlocked. Watch yourself out there."'
options:
- goto: rep_shop
text: '"Thanks."'
buy_visor:
action:
- cost: 75
+ credits: -75
give_item: spectral_visor
- message: '"Spectral frequency filter. Makes the invisible visible — and keeps their attacks from scrambling your brain."'
+ messages:
+ - '"Spectral frequency filter. Makes the invisible visible — and keeps their attacks from scrambling your brain."'
options:
- goto: supplies
text: '"Thanks."'
current_task:
- message: '"Let me check your file." The Client pulls up your record.'
+ messages:
+ - '"Let me check your file." The Client pulls up your record.'
options:
- text: '"Okay."'
extend_confirm:
- message: '"Extending your task costs 30 Reputation and adds more kills. Want to proceed?"'
+ messages:
+ - '"Extending your task costs 30 Reputation and adds more kills. Want to proceed?"'
options:
- goto: extend_done
text: '"Yes, extend it."'
@@ -114,12 +124,13 @@ talk:
text: '"Never mind."'
extend_done:
action:
- extend_task: true
- message: '"Done. I''ve added more targets to your contract."'
+ messages:
+ - '"Done. I''ve added more targets to your contract."'
options:
- text: '"Thanks."'
rep_shop:
- message: '"Here''s what I''ve got. All purchases are permanent."'
+ messages:
+ - '"Here''s what I''ve got. All purchases are permanent."'
options:
- condition:
not: true
@@ -144,7 +155,8 @@ talk:
- goto: start
text: '"Back."'
skip_confirm:
- message: '"Skipping a task costs 30 Reputation and resets your streak. Are you sure?"'
+ messages:
+ - '"Skipping a task costs 30 Reputation and resets your streak. Are you sure?"'
options:
- goto: skip_done
text: '"Yes, skip it."'
@@ -152,14 +164,15 @@ talk:
text: '"Never mind."'
skip_done:
action:
- skip_task: true
- message: '"Task cancelled. Your streak has been reset."'
+ messages:
+ - '"Task cancelled. Your streak has been reset."'
options:
- goto: assign_task
text: '"Give me a new one."'
- text: '"Goodbye."'
start:
- message: The Client looks up from their data pad. "What do you need?"
+ messages:
+ - The Client looks up from their data pad. "What do you need?"
options:
- condition:
not: true
@@ -190,7 +203,8 @@ talk:
text: '"I need supplies."'
- text: '"Goodbye."'
supplies:
- message: '"I stock everything you need for the job. Cheap, too."'
+ messages:
+ - '"I stock everything you need for the job. Cheap, too."'
options:
- condition:
min_credits: 5