diff options
| author | historia <[not public]> | 2026-07-10 17:39:15 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-10 17:39:15 -0400 |
| commit | 451fdf82ce1385c16d0d88cd5b2a878ba4cba22c (patch) | |
| tree | 63be73a330254be6809952c6bb44bef4bdbe31d5 /internal/behavior | |
| parent | d02f0d2cdf67f1445a9ccae86b99a2578adab585 (diff) | |
| download | thehouseoficarus-451fdf82ce1385c16d0d88cd5b2a878ba4cba22c.tar.gz | |
feat(admin): better toggle on trigger page, removed irrelevant value field for clarity
Diffstat (limited to 'internal/behavior')
| -rw-r--r-- | internal/behavior/behavior.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/behavior/behavior.go b/internal/behavior/behavior.go index 9152f8c..7dab514 100644 --- a/internal/behavior/behavior.go +++ b/internal/behavior/behavior.go @@ -89,9 +89,10 @@ func (s Step) HasEffects() bool { // its Steps run as a scripted sequence. // // For verb blocks only ItemID/Condition/Steps/Lock are meaningful. For -// on_flag_change/on_global_flag_change blocks, OnPlayerFlag/OnGlobalFlag (and -// optional Value) declare the flag subscription; Condition provides an -// additional gate (use the Room condition to scope a flag trigger to a room). +// on_flag_change/on_global_flag_change blocks, OnPlayerFlag/OnGlobalFlag +// declare the flag subscription; Condition provides an additional gate +// (use a player_flag/global_flag + value condition to match a specific +// flag value, or Room to scope a flag trigger to a room). // // Lock, when true, makes the sequence atomic: the player is blocked from any // verb (except quit) until it completes, and the sequence is saved and resumed @@ -104,7 +105,6 @@ type Trigger struct { Steps []Step `yaml:"steps"` OnPlayerFlag string `yaml:"on_player_flag,omitempty"` OnGlobalFlag string `yaml:"on_global_flag,omitempty"` - Value any `yaml:"value,omitempty"` DedupKey string `yaml:"-"` // runtime only — disambiguates flag-trigger dedup keys } |
