Spec equipped token

From The Final Challenge Wiki
Revision as of 16:39, 7 June 2016 by Tynian (talk | contribs) (Created page with "''Not yet ready for use -- draft'' spec_equipped_token is a Mob Extended Function. It provides for special behavior when a PC has equipped/worn the object specified with...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Not yet ready for use -- draft

spec_equipped_token is a Mob Extended Function. It provides for special behavior when a PC has equipped/worn the object specified with the special function.

Usage:

N <mob vnum> spec_equipped_token <token object vnum equipped> <token type> <match value or -1> <match type or -1> <string vnum or -1>

Field Description
mob vnum The vnum of the mob that this special function is attached to
token object vnum equipped The vnum of the token object that will trigger the special function when the object is equipped by a PC
token type Indicates when a PC will be checked for equipped object (token).
-1 causes any subsequent special functions on the mob to be bypassed.
1 also causes any subsequent special functions on the mob to be bypassed.
2 causes next special function on the mob to run.
3 causes an aggressive mob to no longer be aggressive to the PC wearing the token.
match value Causes the token to match only if target PC meets the specified additional criteria, provided in match type. -1 if not being used.

Example:

N 1200 spec_equipped_token 20