Object Affect Fields[]
Object Affect Fields give objects magical properties. They affect characters when the object is worn, not when picked up.
The format of an Object Affect Field is:
A
<location> <value>
Location[]
The aspect of the character affected by the object. It must be one of the following numbers:
0 NONE No effect (typically not used). 1 STR Apply to strength. 2 DEX Apply to dexterity. 3 INT Apply to intelligence. 4 WIS Apply to wisdom. 5 CON Apply to constitution. 6 CHA Apply to charisma. 7 CLASS Unimplemented. Do not use. 8 LEVEL Unimplemented. Do not use. 9 AGE Apply to character's MUD age, in MUD-years. 10 CHAR_WEIGHT Apply to weight. 11 CHAR_HEIGHT Apply to height. 12 MANA Apply to MAX mana points. 13 HIT Apply to MAX hit points. 14 MOVE Apply to MAX movement points. 15 GOLD Unimplemented. Do not use. 16 EXP Unimplemented. Do not use. 17 AC Apply to armor class (AC). 18 HITROLL Apply to hitroll. 19 DAMROLL Apply to damage roll bonus. 20 SAVING_PARA Apply to save throw: paralyze 21 SAVING_ROD Apply to save throw: rods 22 SAVING_PETRI Apply to save throw: petrif 23 SAVING_BREATH Apply to save throw: breath 24 SAVING_SPELL Apply to save throw: spells
Value[]
The number used to modify the Location.
Extra Effects[]
A bitvector replaces the older unique numeric bit order methodology of assigning attributes or the "special effects" of the object. Flags that are marked as "cosmetic" merely add an interesting message to the object when it is examined, but has no substantive effect otherwise. The flags have the following values:
1 A GLOW Item is glowing (cosmetic).2 B HUM Item is humming (cosmetic).
3 C DARK Item can only be seen with infravision.
4 D LOCK Item is locked.
5 E EVIL Item is evil aligned.
6 F INVISIBLE Item is invisible.
7 G MAGIC Item is magic and cannot be enchanted.
8 H NODROP Item is cursed and cannot be dropped.
9 I BLESS Item is blessed. (cosmetic)
10 J ANTI_GOOD Item is !good.
11 K ANTI_EVIL Item is !evil.
12 L ANTI_NEUTRAL Item is !neutral.
13 M GOOD Item is good.
14 N NO_MORTAL Item can only be used by Immortals.
15 O NO_MAGE Item is not mage usable.
16 P NO_CLERIC Item is not cleric usable.
17 Q NO_THIEF Item is not thief usable.
18 R NO_WARRIOR Item is not warrior usable.
19 S NO_PALADIN Item is not paladin usable.
20 T NO_ANTIPAL Item is not anti-paladin usable.
21 U NO_NINJA Item is not ninja usable.
22 V NO_JEDI Item is not jedi usable.
23 W NO_SOHEI Item is not sohei usable.
24 X LIMITED No new items of this type will spawn if a certain number of these
items exist in game.
25 Y NOPURGE Item cannot be purged. (For devices)
26 Z NORENT Item cannot be rented.
27 a SPEC_PROC Item's use triggers a special procedure. (For devices)
28 b NODONATE Item cannot be donated.
29 c NORANGER Item is not ranger usable.
30 d NOBARD Item is not bard usable.
31 e HIDDEN Item is hidden.