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.go21
1 files changed, 13 insertions, 8 deletions
diff --git a/internal/action/behavior.go b/internal/action/behavior.go
index d8eb909..a3c8802 100644
--- a/internal/action/behavior.go
+++ b/internal/action/behavior.go
@@ -3,8 +3,10 @@ package action
type GatherConfig struct {
Skill string `yaml:"skill"`
Level int `yaml:"level"`
+ XP int `yaml:"xp"`
BaseWait int `yaml:"base_wait"`
- Tool string `yaml:"tool"`
+ Tools []string `yaml:"tools"`
+ Bait string `yaml:"bait"`
Success SuccessFormula `yaml:"success"`
GatherMsg string `yaml:"gather_message"`
FailMsg string `yaml:"fail_message"`
@@ -12,6 +14,8 @@ type GatherConfig struct {
DepleteDelay int `yaml:"deplete_delay"`
RespawnMsg string `yaml:"respawn_message"`
RespawnBroadcast string `yaml:"respawn_broadcast"`
+ SharedDeplete int `yaml:"shared_deplete"`
+ NestChance int `yaml:"nest_chance"`
}
type SuccessFormula struct {
@@ -57,14 +61,15 @@ type Condition struct {
}
type UseConfig struct {
- Message string `yaml:"message"`
- Wait int `yaml:"wait"`
- Consume map[string]int `yaml:"consume"`
- Reward DropEntry `yaml:"reward"`
- FailMsg string `yaml:"fail_message"`
+ Message string `yaml:"message"`
+ Wait int `yaml:"wait"`
+ Consume map[string]int `yaml:"consume"`
+ Reward DropEntry `yaml:"reward"`
+ FailMsg string `yaml:"fail_message"`
Success *SuccessFormula `yaml:"success"`
- Skill string `yaml:"skill"`
- Level int `yaml:"level"`
+ Skill string `yaml:"skill"`
+ Level int `yaml:"level"`
+ XP int `yaml:"xp"`
}
type ToggleConfig struct {