aboutsummaryrefslogtreecommitdiff
path: root/internal/action
diff options
context:
space:
mode:
authorworkhorse <workhorse@localhost.localdomain>2026-06-19 03:57:06 -0400
committerworkhorse <workhorse@localhost.localdomain>2026-06-19 03:57:06 -0400
commit52a3ce6a4b4a254dc5d3067979a09e93c060fa20 (patch)
tree167c62990013733bc8669c1387078bc86ea48db5 /internal/action
parentfbd1c30d7b9777c9df6653f0c393afa7a7dfa519 (diff)
downloadthehouseoficarus-52a3ce6a4b4a254dc5d3067979a09e93c060fa20.tar.gz
feat: shops and rough assassin skill
Diffstat (limited to 'internal/action')
-rw-r--r--internal/action/behavior.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/action/behavior.go b/internal/action/behavior.go
index ccd95bf..236ab81 100644
--- a/internal/action/behavior.go
+++ b/internal/action/behavior.go
@@ -50,6 +50,22 @@ type NodeAction struct {
Teleport int `yaml:"teleport"`
Heal int `yaml:"heal"`
Cost int `yaml:"cost"`
+ Shop *ShopConfig `yaml:"shop"`
+ AssignTask bool `yaml:"assign_task"`
+ SkipTask bool `yaml:"skip_task"`
+ ExtendTask bool `yaml:"extend_task"`
+ ReputationCost int `yaml:"reputation_cost"`
+}
+
+type ShopConfig struct {
+ Message string `yaml:"message"`
+ Items []ShopItem `yaml:"items"`
+}
+
+type ShopItem struct {
+ ItemID string `yaml:"item_id"`
+ BuyPrice int `yaml:"buy_price"`
+ SellPrice int `yaml:"sell_price"`
}
type Condition struct {