home » builders » builder's lessons » mposet and mpoadd fields

Mposet and mpoadd fields

For builders with high level god testing characters on the testport, many of these commands can be used with mset for testing and for OLC. Some fields cannot be mpoadd or cannot be mposet. If a sample is not given for mpoadd or mposet, then that particular field cannot be mposet or mpoadd 'd. Note that when the object is being carried by the PC, you need to use the "on $n" syntax.

actiondesc This is the fourth line on an object after the long description. This field is not used by FKMud.
affect Sets affects on an object.
mposet on $n iQQ00 affect luck 3
mposet $o affect luck 3
capacity Sets the capacity field (value0) on containers, carts, sheathes and quivers.
mposet on $n iQQ01 capacity 30
mposet $o capacity 30
cflags This is the container flags, for containers, carts, sheaths and quivers.
mposet on $n iQQ00 cflags 1
mposet $o cflags 1
charges Sets the charges (value2) on Wands and Staves.
mposet $o charges 10
mposet on $n iQQ01 charges 10
mpoadd $o charges 5
mpoadd on $n iQQ01 charges 5
condition Sets the condition of the object.
mposet $o condition 1
mposet on $n $o condition 1
mpoadd $o condition 1
mpoadd on $n $o condition 1
cost Sets the cost value of the object.
mposet $o cost 2000
mposet on $n $o cost 2000
mpoadd $o cost 100
mpoadd on $n $o cost 100
Cost value is in copper.
delay This field is no longer used by FKMud.
doses What is this?
ed Sets the extra description on an object. It does this by adding extra lines to the description.
mposet iQQ11 ed addline 'pink gem hilted longsword' {D0}There is a pink orb set into the hilt of the sword.
mposet on $n iQQ11 ed addline 'pink gem hilted longsword' {D0}There is a pink orb set into the hilt of the sword.
flags Sets the flags on an object.
mposet on $n iQQ10 flags magic
mposet $o flags magic
identify Sets an identify field on an object for objects who's magic lies within object programs rather than applies.
mposet $o identify This object does something big!
mposet on $n iQQ01 identify This object does something big!
key Sets the key vnum needed to open containers, carts, sheaths and quivers.
mposet $o key QQ01
mposet on $n iQQ03 key QQ01
level Sets the level of an object.
mposet $o level 1
mposet on $n iQQ01 level 1
long Sets the long description of an object.
mposet $o long {A0}A green wand is lying here.
mposet on $n iQQ01 long {90}A red wand is lying here.
mark Sets the ownership mark on an object.
mposet $o mark $n
mposet on $n iQQ01 mark $n
material Sets the material type of an object.
mposet $o material 11
mposet on $n iQQ01 material 11
Use the bit vector number rather than the word.
maxcharges Sets the maximum charges on a wand or staff. Does it do more types than this?
maxdoses What is this?
name Sets the keywords on an object.
mposet $o name iQQ01 long black robe
mposet on $n iQQ01 name iQQ01 long black robe
It is important to but the iVNUM back into the keywords when giving an object new or different keywords.
quality Sets the quality of an object.
mposet $o quality 3
mposet on $n iQQ01 quality 3
mpoadd $o quality 1
mpoadd on $n iQQ01 quality 1
Use the bit vector number rather than the word.
quest This field is no longer used by FKMud.
randquest This field is no longer used by FKMud.
rmaffect This field removes an affect from the object in order. For instance if you want the second affect from an object removed, then you will specify 2.
mposet $o rmaffect 2
mposet on $n iQQ01 rmaffect 2
short Sets the short description of an object.
mposet $o short {80}a black robe
mposet on $n iQQ01 short {80}a black robe
size Sets the size of an object.
mposet $o size 4
mposet on $n iQQ01 size 4
mpoadd $o size 1
mpoadd on $n iQQ01 size 1
Use the bit vector number rather than the word.
slevel This is the spell level of wands, scrolls, potions, pills and staves.
mposet $o slevel 30
mposet on $n iQQ01 slevel 30
spell Sets the first spell on an object, value1. Syntax needed
spell1 Sets the second spell on an object, value2 Syntax needed
spell2 Sets the third spell on an object. Syntax needed
spell3 Sets the fourth spell on an object. Syntax needed
tflags This sets the Trigger Flags (value0) on buttons and levers etc. Syntax needed
timer Sets the timer on an object.
mposet $o timer 100
mposet on $n iQQ01 timer 100
mpoadd $o timer 10
mpoadd on $n iQQ01 timer 10
type Sets the item type of an object.
mposet $o type 1
mposet on $n iQQ01 type 1
Use the bit vector number rather than the word.
value0 Sets the value of value0.
mposet $o value0 5
mposet on $n iQQ01 value0 5
mpoadd $o value0 1
mpoadd on $n iQQ01 value0 1
For many object types this value sets a specific thing on the object. Change with care.
value1 Sets the value of value1.
mposet $o value1 5
mposet on $n iQQ01 value1 5
mpoadd $o value1 1
mpoadd on $n iQQ01 value1 1
For many object types this value sets a specific thing on the object. Change with care.
value2 Sets the value of value2.
mposet $o value2 5
mposet on $n iQQ01 value2 5
mpoadd $o value2 1
mpoadd on $n iQQ01 value2 1
For many object types this value sets a specific thing on the object. Change with care.
value3 Sets the value of value3.
mposet $o value3 5
mposet on $n iQQ01 value3 5
mpoadd $o value3 1
mpoadd on $n iQQ01 value3 1
For many object types this value sets a specific thing on the object. Change with care.
value4 Sets the value of value4.
mposet $o value4 5
mposet on $n iQQ01 value4 5
mpoadd $o value4 1
mpoadd on $n iQQ01 value4 1
For many object types this value sets a specific thing on the object. Change with care.
value5 Sets the value of value5. Value5 is not a specified field in any object type. This makes it ideal for using in object programs to check values and usage of an item.
mposet $o value5 5
mposet on $n iQQ01 value5 5
mpoadd $o value5 1
mpoadd on $n iQQ01 value5 1
value0bits Sets the quest bits on an object in value0.
mposet $o value0bits 0 5 1
mposet on $n iQQ01 value0bits 0 5 1
mpoadd $o value0bits 0 5 1
mpoadd on $n iQQ01 value0bits 0 5 1
Note that this value is often used by objects to set specific fields. Use this with caution. It is recommended that value5bits be used in most instances.
value1bits Sets the quest bits on an object in value1.
mposet $o value1bits 0 5 1
mposet on $n iQQ01 value1bits 0 5 1
mpoadd $o value1bits 0 5 1
mpoadd on $n iQQ01 value1bits 0 5 1
Note that this value is often used by objects to set specific fields. Use this with caution. It is recommended that value5bits be used in most instances.
value2bits Sets the quest bits on an object in value2.
mposet $o value2bits 0 5 1
mposet on $n iQQ01 value2bits 0 5 1
mpoadd $o value2bits 0 5 1
mpoadd on $n iQQ01 value2bits 0 5 1
Note that this value is often used by objects to set specific fields. Use this with caution. It is recommended that value5bits be used in most instances.
value3bits Sets the quest bits on an object in value3.
mposet $o value3bits 0 5 1
mposet on $n iQQ01 value3bits 0 5 1
mpoadd $o value3bits 0 5 1
mpoadd on $n iQQ01 value3bits 0 5 1
Note that this value is often used by objects to set specific fields. Use this with caution. It is recommended that value5bits be used in most instances.
value4bits Sets the quest bits on an object in value4.
mposet $o value4bits 0 5 1
mposet on $n iQQ01 value4bits 0 5 1
mpoadd $o value4bits 0 5 1
mpoadd on $n iQQ01 value4bits 0 5 1
Note that this value is often used by objects to set specific fields. Use this with caution. It is recommended that value5bits be used in most instances.
value5bits Sets the quest bits on an object in value5. Value5 is not used by any objects to set any specific fields, so this value is safe to use for quest bit checking.
mposet $o value5bits 0 5 1
mposet on $n iQQ01 value5bits 0 5 1
mpoadd $o value5bits 0 5 1
mpoadd on $n iQQ01 value5bits 0 5 1
weapontype Sets the weapon type of an object.
mposet $o weapontype 1
mposet on $n iQQ01 weapontype 1
Use the bit vector number rather than the word.
Syntax check needed.
wear Sets the wear location of an object.
mposet $o wear neck
mposet on $n iQQ01 wear neck
weight Sets the weight of an object.
mposet $o weight 10
mposet on $n iQQ01 weight 10
mpoadd $o weight 1
mpoadd on $n iQQ01 weight 1