aboutsummaryrefslogtreecommitdiff
path: root/internal/action/behavior.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/action/behavior.go')
-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 {