triggers:oprog
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| triggers:oprog [2014/12/24 03:51] – vodur | triggers:oprog [2026/10/13 19:13] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ObjProgs ====== | ||
| - | |||
| - | Obj progs are attached in oedit with addoprog command. | ||
| - | |||
| - | Obj progs are always lua scripts. | ||
| - | |||
| - | ^Argument ^Type ^Note | | ||
| - | |obj |[[http:// | ||
| - | |obj2 |[[http:// | ||
| - | |ch1 |[[http:// | ||
| - | |ch2 |[[http:// | ||
| - | |trigger |string |see table | | ||
| - | |trigtype |string |see table | | ||
| - | |||
| - | ^[[http:// | ||
| - | |[[http:// | ||
| - | |drop< | ||
| - | |eat< | ||
| - | |quaff< | ||
| - | |sacrifice< | ||
| - | |wear< | ||
| - | |remove< | ||
| - | |spell< | ||
| - | |speech |obj |none |speaker |none |full speech text |string(keyword or < | ||
| - | |try |obj |none |tryer |none |full try text |string(phrase or < | ||
| - | |put< | ||
| - | |get< | ||
| - | |rand |obj |none |none |none |none |number(%chance) |Checks every tick | | ||
| - | |greet |obj |none |ch |none |none |number(%chance) |No vis check | | ||
| - | |[[http:// | ||
| - | |lore< | ||
| - | |enter< | ||
| - | |unlock< | ||
| - | |open< | ||
| - | |sit< | ||
| - | |wake< | ||
| - | |fight |obj |none |wearer |enemy |none |number(%chance) |Checked every round of a fight. Only checked for worn/ | ||
| - | |prehit< | ||
| - | |hit |obj |none |hitter |victim |none |number(%chance) |Checks on weapon after successful hit (and after other effects such as weapon flag, stance, behead, etc). | | ||
| - | |[[http:// | ||
| - | |||
| - | |[[http:// | ||
| - | |||
| - | \\ | ||
triggers/oprog.1419393071.txt.gz · Last modified: by vodur
