Spec check door open

From The Final Challenge Wiki
Revision as of 11:54, 25 December 2011 by Tynian (talk | contribs) (Created page with "spec_check_door_open an in room extended special function. It is used to set a minimum attribute statistic (e.g. strength, dexterity) necessary to open a door in a given directi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

spec_check_door_open an in room extended special function. It is used to set a minimum attribute statistic (e.g. strength, dexterity) necessary to open a door in a given direction.

Usage:

E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum>

Field Description
Room vnum Room to apply the special function to
Door direction The direction of the door the special function applies to
Stat attribute number The number of statistic attribute to use for comparison
Number Attribute
0 Strength
1 Intelligence
2 Wisdom
3 Dexterity
4 Constitution
5 Charisma
6 Luck
Min stat The minimum stat value required to open the door
Vnum of success message -1 - No success message
#STRINGS vnum with success message
Vnum of failure message -1 - No failure message
#STRINGS vnum with failure message

Example:

E <room vnum> spec_check_door_open <door direction> <stat attribute number> <min stat> <success string vnum> <fail string vnum>
S