triggers:oprog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
triggers:oprog [2017/06/08 08:35] – bobble | triggers:oprog [2019/03/24 05:13] (current) – vodur | ||
---|---|---|---|
Line 9: | Line 9: | ||
|ch1|[[: | |ch1|[[: | ||
|ch2|[[: | |ch2|[[: | ||
+ | |text1|string|see table| | ||
|trigger|string|see table| | |trigger|string|see table| | ||
|trigtype|string|see table| | |trigtype|string|see table| | ||
Line 14: | Line 15: | ||
The actual object to which the script is attached can be referenced in the script through ' | The actual object to which the script is attached can be referenced in the script through ' | ||
- | ^trigtype^obj2^ch1^ch2^trigger^Phrase type^Description| | + | ^trigtype^obj2^ch1^ch2^text1^trigger^Phrase type^Description| |
- | |[[: | + | |[[: |
- | |drop< | + | |drop< |
- | |eat< | + | |eat< |
- | |drink< | + | |drink< |
- | |quaff< | + | |quaff< |
- | |sacrifice< | + | |sacrifice< |
- | |wear< | + | |wear< |
- | |remove< | + | |remove< |
- | |spell< | + | |spell< |
- | |speech|none|speaker|none|full speech text|string(keyword or < | + | |speech|none|speaker|none|none|full speech text|string(keyword or < |
- | |try|none|tryer|none|full try text|string(phrase or < | + | |try|none|tryer|none|none|full try text|string(phrase or < |
- | |put< | + | |put< |
- | |get< | + | |get< |
- | |merge< | + | |merge< |
- | | rand| none| none| none| none| number(%chance)| | + | | rand| none| none| none| none| none| number(%chance)| |
- | | greet| | + | | greet| |
- | | [[: | + | | [[: |
- | | lore< | + | | lore< |
- | |move< | + | |move< |
- | |enter< | + | |enter< |
- | |unlock< | + | |unlock< |
- | |open< | + | |open< |
- | |sit< | + | |sit< |
- | |rest< | + | |rest< |
- | |sleep< | + | |sleep< |
- | |wake< | + | |wake< |
- | |fight|none|wearer|enemy|none|number(%chance)|Checked every round of a fight. Only checked for worn/ | + | |fight|none|wearer|enemy|none|none|number(%chance)|Checked every round of a fight. Only checked for worn/ |
- | |death|none|killer|victim|none|number(%chance)|Triggers when object is in inventory or equipped by killer. Checked when victim is killed by the killer.| | + | |death|none|killer|victim|none|none|number(%chance)|Triggers when object is in inventory or equipped by killer. Checked when victim is killed by the killer.| |
- | |prehit< | + | |prehit< |
- | |hit|none|hitter|victim|none|number(%chance)|Checks on weapon after successful hit (and after other effects such as weapon flag, stance, behead, etc). Checks on gloves when fighting unarmed.| | + | |hit|none|hitter|victim|none|none|number(%chance)|Checks on weapon after successful hit (and after other effects such as weapon flag, stance, behead, etc). Checks on gloves when fighting unarmed.| |
- | |[[: | + | |[[: |
- | |command|none|commander|none|command name|string(command name)| | + | |command|none|commander|none|command arguments|command name|string(command name)| |
|(< | |(< |
triggers/oprog.txt · Last modified: 2019/03/24 05:13 by vodur