diff options
Diffstat (limited to 'internal/behavior/types.go')
| -rw-r--r-- | internal/behavior/types.go | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/internal/behavior/types.go b/internal/behavior/types.go index 3d55d79..1b7ac1a 100644 --- a/internal/behavior/types.go +++ b/internal/behavior/types.go @@ -53,7 +53,8 @@ const ( TypeCraft ActionType = "craft" TypeCombine ActionType = "combine" TypeMix ActionType = "mix" - TypeConstruct ActionType = "construct" + TypeConstruct ActionType = "construct" + TypeTriggerModule ActionType = "trigger_module" ) type Action struct { @@ -183,6 +184,17 @@ type CleanData struct { Filter string } +type ModTriggerStep struct { + Message string `yaml:"message"` + Delay int `yaml:"delay"` +} + +type TriggerModuleData struct { + ModID string + Steps []ModTriggerStep + StepIndex int +} + type DropEntry struct { ItemID string `yaml:"item_id"` Table string `yaml:"table"` |
