diff options
Diffstat (limited to 'internal/behavior')
| -rw-r--r-- | internal/behavior/behavior.go | 27 | ||||
| -rw-r--r-- | internal/behavior/types.go | 2 |
2 files changed, 16 insertions, 13 deletions
diff --git a/internal/behavior/behavior.go b/internal/behavior/behavior.go index ec9fc7c..d31a0a5 100644 --- a/internal/behavior/behavior.go +++ b/internal/behavior/behavior.go @@ -1,20 +1,21 @@ package behavior type GatherConfig struct { - Skill string `yaml:"skill"` - Tools []string `yaml:"tools"` - Bait string `yaml:"bait"` + Skill string `yaml:"skill"` + Tools []string `yaml:"tools"` + NoToolSpeed float64 `yaml:"no_tool_speed,omitempty"` + Bait string `yaml:"bait"` Success SuccessFormula `yaml:"success"` - GatherMessage string `yaml:"gather_message"` - DepletedMessage string `yaml:"depleted_message"` - ExhaustedMessage string `yaml:"exhausted_message"` - FailMessage string `yaml:"fail_message"` - Drops []DropEntry `yaml:"drops"` - RespawnTimer float64 `yaml:"respawn_timer"` - RespawnBroadcast string `yaml:"respawn_broadcast"` - DepleteTimer float64 `yaml:"deplete_timer"` - NestChance int `yaml:"nest_chance"` - BroadcastMessage string `yaml:"broadcast_message"` + GatherMessage string `yaml:"gather_message"` + DepletedMessage string `yaml:"depleted_message"` + ExhaustedMessage string `yaml:"exhausted_message"` + FailMessage string `yaml:"fail_message"` + Drops []DropEntry `yaml:"drops"` + RespawnTimer float64 `yaml:"respawn_timer"` + RespawnBroadcast string `yaml:"respawn_broadcast"` + DepleteTimer float64 `yaml:"deplete_timer"` + NestChance int `yaml:"nest_chance"` + BroadcastMessage string `yaml:"broadcast_message"` } type SuccessFormula struct { diff --git a/internal/behavior/types.go b/internal/behavior/types.go index c43a0d9..7d95cc3 100644 --- a/internal/behavior/types.go +++ b/internal/behavior/types.go @@ -79,6 +79,7 @@ type GatherData struct { Step int Verb string ToolName string + ToolType string } type ProductionData struct { @@ -213,6 +214,7 @@ type TriggerModuleData struct { type DropEntry struct { ItemID string `yaml:"item_id"` Table string `yaml:"table"` + Tool string `yaml:"tool,omitempty"` Weight int `yaml:"weight"` Quantity int `yaml:"quantity"` Depletes bool `yaml:"depletes"` |
