aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_steal.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 22:15:54 -0400
committerhistoria <[not public]>2026-07-09 22:15:54 -0400
commitecba7f726f70b37126d852c38c7e3eec7b04d730 (patch)
tree9129215c6e5015336fde1116395336d82bb952d1 /internal/game/act_steal.go
parentb3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (diff)
downloadthehouseoficarus-ecba7f726f70b37126d852c38c7e3eec7b04d730.tar.gz
feat: old standalone trigger systems completely unified into trigger->condition->action system
Diffstat (limited to 'internal/game/act_steal.go')
-rw-r--r--internal/game/act_steal.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/act_steal.go b/internal/game/act_steal.go
index d081d8b..bf0ce14 100644
--- a/internal/game/act_steal.go
+++ b/internal/game/act_steal.go
@@ -37,17 +37,17 @@ var stallGuardTalk = &behavior.TalkConfig{
},
"bribe": {
Messages: []string{"Smart choice. Hand over 500 credits and we'll forget this happened."},
- Action: &behavior.NodeAction{Credits: -500},
+ Action: &behavior.Step{Credits: -500},
Options: []behavior.TalkOption{{Text: "\"Fine, take it.\""}},
},
"jail": {
Messages: []string{"Off to the detention cell with you!"},
- Action: &behavior.NodeAction{Teleport: 162},
+ Action: &behavior.Step{Teleport: 162},
Options: []behavior.TalkOption{{Text: "(You are dragged away)"}},
},
"fight": {
Messages: []string{"Then defend yourself!"},
- Action: &behavior.NodeAction{SetGlobalFlags: map[string]any{"guard_hostile": true}},
+ Action: &behavior.Step{SetGlobalFlags: map[string]any{"guard_hostile": true}},
Options: []behavior.TalkOption{{Text: "(The guard attacks!)"}},
},
},