aboutsummaryrefslogtreecommitdiff
path: root/internal/behavior/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/behavior/types.go')
-rw-r--r--internal/behavior/types.go59
1 files changed, 29 insertions, 30 deletions
diff --git a/internal/behavior/types.go b/internal/behavior/types.go
index f451400..7aba045 100644
--- a/internal/behavior/types.go
+++ b/internal/behavior/types.go
@@ -28,30 +28,29 @@ func WordPrefixMatch(input, name string) bool {
type ActionType string
const (
- TypeGather ActionType = "gather"
- TypeSteal ActionType = "steal"
- TypeTalk ActionType = "talk"
- 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"
- TypeInteractionSeq ActionType = "interaction_seq"
+ TypeGather ActionType = "gather"
+ TypeSteal ActionType = "steal"
+ TypeTalk ActionType = "talk"
+ 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"
)
type Action struct {
@@ -111,7 +110,7 @@ type TalkData struct {
EstateDirectory bool
StealGuard bool
PendingChoice string
- PendingAction *NodeAction
+ PendingAction *Step
CancelTalk bool
PendingSeq bool
PendingChosen bool
@@ -143,11 +142,11 @@ type ObstacleData struct {
CompletionXP int
// FailChance is the resolved failure probability for this attempt.
// nil => derived at runtime from agility level vs RequiredLevel.
- FailChance *float64
- FailDamageMin int
- FailDamageMax int
- Phases []PhaseData
- RequiredLevel int
+ FailChance *float64
+ FailDamageMin int
+ FailDamageMax int
+ Phases []PhaseData
+ RequiredLevel int
}
// PhaseData is the runtime form of an obstacle phase.