diff options
| author | historia <[not public]> | 2026-06-18 18:50:54 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-18 18:50:54 -0400 |
| commit | 17e7725f252c7f5d3be2e9c37d62751c631f196f (patch) | |
| tree | 40698c5c95cb21302adbb8cd021bd8d049b6fce1 /internal/player | |
| parent | fae979b75e37b6ad57e57062a1b637a37ec87174 (diff) | |
| download | thehouseoficarus-17e7725f252c7f5d3be2e9c37d62751c631f196f.tar.gz | |
feat: fletching added including zero-time bolt feathering, which probably will break lots of things
Diffstat (limited to 'internal/player')
| -rw-r--r-- | internal/player/player.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/player/player.go b/internal/player/player.go index e7d98ac..edfe5dd 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -127,6 +127,10 @@ var OptionDefs = []OptionDef{ {"visual_ticks", OptBool, false, nil, "Display a tick marker every game tick"}, {"visual_tick_count", OptInt, 0, nil, "Cycle length for tick counter (0 = no counter)"}, {"visual_tick_text", OptString, "Tick", nil, "Text displayed for visual ticks"}, + {"fletch_all", OptBool, false, nil, "Auto-start fletching when only one product is possible"}, + {"smith_all", OptBool, false, nil, "Auto-start smithing when only one product is possible"}, + {"cook_all", OptBool, false, nil, "Auto-start cooking when only one product is possible"}, + {"smelt_all", OptBool, false, nil, "Auto-start smelting when only one product is possible"}, } var optionByName map[string]*OptionDef @@ -157,8 +161,11 @@ type Player struct { Options map[string]any `yaml:"-"` Flags map[string]any `yaml:"flags"` RegenerateTick int + AmmoQty int `yaml:"ammo_qty,omitempty"` Action *action.Action `yaml:"-"` ActionState any `yaml:"-"` + BackgroundAction *action.Action `yaml:"-"` + BackgroundActionState any `yaml:"-"` WalkSequence []string `yaml:"-"` ConsumeCooldown int `yaml:"-"` MoveTicks int `yaml:"-"` |
