diff options
Diffstat (limited to 'internal/action')
| -rw-r--r-- | internal/action/action.go | 2 | ||||
| -rw-r--r-- | internal/action/behavior.go | 21 |
2 files changed, 15 insertions, 8 deletions
diff --git a/internal/action/action.go b/internal/action/action.go index 9cd4c0f..44f27f8 100644 --- a/internal/action/action.go +++ b/internal/action/action.go @@ -24,6 +24,8 @@ type DropEntry struct { Quantity int `yaml:"quantity"` Depletes bool `yaml:"depletes"` Message string `yaml:"message"` + Level int `yaml:"level"` + XP int `yaml:"xp"` } type DropTableDef struct { 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 { |
