aboutsummaryrefslogtreecommitdiff
path: root/internal/behavior
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-08 01:22:38 -0400
committerhistoria <[not public]>2026-07-08 01:22:38 -0400
commit71f0f381de64e045f91da19450adacf10fbc7902 (patch)
treec567d665eed2e5d61aeae21bd6a75f280118d277 /internal/behavior
parent3682acf24575731deef587a19c940814ad8a9a81 (diff)
downloadthehouseoficarus-71f0f381de64e045f91da19450adacf10fbc7902.tar.gz
feat: multi-tool gather objects correctly handled. hide more irrelevant fishing fields.
Diffstat (limited to 'internal/behavior')
-rw-r--r--internal/behavior/behavior.go27
-rw-r--r--internal/behavior/types.go2
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"`