aboutsummaryrefslogtreecommitdiff
path: root/internal/behavior/types.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 22:30:31 -0400
committerhistoria <[not public]>2026-07-01 22:30:31 -0400
commitc14c2e403c75a913e1a6d962fb6fe64f013adae5 (patch)
tree75070293fe2535b594ac72e501cbf08a3f1146e0 /internal/behavior/types.go
parent8eec7b75ff9c8c368b252373db45fb891732d2ca (diff)
downloadthehouseoficarus-c14c2e403c75a913e1a6d962fb6fe64f013adae5.tar.gz
fix: combat formulas and mob attack types (mobs switch attack styles if safespotting)
Diffstat (limited to 'internal/behavior/types.go')
-rw-r--r--internal/behavior/types.go94
1 files changed, 47 insertions, 47 deletions
diff --git a/internal/behavior/types.go b/internal/behavior/types.go
index 29e2631..5fdebdb 100644
--- a/internal/behavior/types.go
+++ b/internal/behavior/types.go
@@ -28,30 +28,30 @@ func WordPrefixMatch(input, name string) bool {
type ActionType string
const (
- TypeGather ActionType = "gather"
- TypeSteal ActionType = "steal"
- TypeTalk ActionType = "talk"
- TypeUse ActionType = "use"
- TypeBurn ActionType = "burn"
- TypeStoke ActionType = "stoke"
- TypeSearch ActionType = "search"
- TypeIdentify ActionType = "identify"
- TypePlant ActionType = "plant"
- TypeHarvest ActionType = "harvest"
- TypeRake ActionType = "rake"
- TypeWater ActionType = "water"
- TypeCure ActionType = "cure"
- TypeObstacle ActionType = "obstacle"
- TypeFletch ActionType = "fletch"
- TypeClean ActionType = "cleaning"
- TypeCook ActionType = "cook"
- TypeSmelt ActionType = "smelting"
- TypeSmith ActionType = "smith"
- TypeCraft ActionType = "craft"
- TypeCombine ActionType = "combine"
- TypeMix ActionType = "mix"
- TypeConstruct ActionType = "construct"
- TypeTriggerModule ActionType = "trigger_module"
+ TypeGather ActionType = "gather"
+ TypeSteal ActionType = "steal"
+ TypeTalk ActionType = "talk"
+ TypeUse ActionType = "use"
+ TypeBurn ActionType = "burn"
+ TypeStoke ActionType = "stoke"
+ TypeSearch ActionType = "search"
+ TypeIdentify ActionType = "identify"
+ TypePlant ActionType = "plant"
+ TypeHarvest ActionType = "harvest"
+ TypeRake ActionType = "rake"
+ TypeWater ActionType = "water"
+ TypeCure ActionType = "cure"
+ TypeObstacle ActionType = "obstacle"
+ TypeFletch ActionType = "fletch"
+ TypeClean ActionType = "cleaning"
+ TypeCook ActionType = "cook"
+ TypeSmelt ActionType = "smelting"
+ TypeSmith ActionType = "smith"
+ TypeCraft ActionType = "craft"
+ TypeCombine ActionType = "combine"
+ TypeMix ActionType = "mix"
+ TypeConstruct ActionType = "construct"
+ TypeTriggerModule ActionType = "trigger_module"
TypeUseInteraction ActionType = "use_interaction"
)
@@ -72,23 +72,23 @@ func (a *Action) Advance() bool {
}
type GatherData struct {
- ObjDefID string
- InstanceKey string
- InstanceIdx int
- Wait float64
- DepleteTimer bool
- Step int
- Verb string
- ToolName string
+ ObjDefID string
+ InstanceKey string
+ InstanceIdx int
+ Wait float64
+ DepleteTimer bool
+ Step int
+ Verb string
+ ToolName string
}
type ProductionData struct {
- ItemID string
- Phase int
- TicksPerCycle float64
- StartMessage string
- EndMessage string
- Remaining int
+ ItemID string
+ Phase int
+ TicksPerCycle float64
+ StartMessage string
+ EndMessage string
+ Remaining int
}
type StealData struct {
@@ -175,20 +175,20 @@ type SearchData struct {
}
type CombineData struct {
- ItemID string
- Phase int
- StepIndex int
- Remaining int
- StartMessage string
- EndMessage string
+ ItemID string
+ Phase int
+ StepIndex int
+ Remaining int
+ StartMessage string
+ EndMessage string
TicksPerCycle float64
}
type FletchData struct {
- ItemID string
- Phase int
+ ItemID string
+ Phase int
TicksPerCycle float64
- Remaining int
+ Remaining int
}
type CleanData struct {