aboutsummaryrefslogtreecommitdiff
path: root/internal/action/behavior.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-14 22:38:23 -0400
committerhistoria <[not public]>2026-06-14 22:38:23 -0400
commita6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 (patch)
tree89601a502bbfcb50302cf03f09b6febc6040eeb0 /internal/action/behavior.go
parent1aba2bdd23aebed4032333e74aa553c40a31fcbd (diff)
downloadthehouseoficarus-a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77.tar.gz
feat: fractional ticks and server game_speed implemented. potentially insanely janky.
Diffstat (limited to 'internal/action/behavior.go')
-rw-r--r--internal/action/behavior.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/action/behavior.go b/internal/action/behavior.go
index e0b8cdf..c7ed0c4 100644
--- a/internal/action/behavior.go
+++ b/internal/action/behavior.go
@@ -4,7 +4,7 @@ type GatherConfig struct {
Skill string `yaml:"skill"`
Level int `yaml:"level"`
XP int `yaml:"xp"`
- BaseWait int `yaml:"base_wait"`
+ BaseWait float64 `yaml:"base_wait"`
Tools []string `yaml:"tools"`
Bait string `yaml:"bait"`
Success SuccessFormula `yaml:"success"`
@@ -13,10 +13,10 @@ type GatherConfig struct {
ExhaustedMessage string `yaml:"exhausted_message"`
FailMsg string `yaml:"fail_message"`
Drops []DropEntry `yaml:"drops"`
- RespawnTimer int `yaml:"respawn_timer"`
+ RespawnTimer float64 `yaml:"respawn_timer"`
RespawnMsg string `yaml:"respawn_message"`
RespawnBroadcast string `yaml:"respawn_broadcast"`
- DepleteTimer int `yaml:"deplete_timer"`
+ DepleteTimer float64 `yaml:"deplete_timer"`
NestChance int `yaml:"nest_chance"`
}
@@ -64,7 +64,7 @@ type Condition struct {
type UseConfig struct {
Message string `yaml:"message"`
- Wait int `yaml:"wait"`
+ Wait float64 `yaml:"wait"`
Consume map[string]int `yaml:"consume"`
Reward DropEntry `yaml:"reward"`
FailMsg string `yaml:"fail_message"`