$bPrintedMenuBar = true;
}
}
function printMenuJavaScript()
{
global $bPrintedJavaScript, $TEST_DIR;
if ( !$bPrintedJavaScript )
{
?>
home » builders » builder's lessons » sample objects - keys
Sample objects - keys
Keys do not save if left in inventory when a player quits. They will only save if the character puts the key into a container. Also there is a chance of the key breaking etc when being used. In order for a door to be picked it must have a key, even if they key can never be found. Note that when setting the key vnum in the door information, the vnum does not have to be type key.
#8076
dungeon key~
{80}a dungeon key~
{80}A dungeon key lies here. ~
~
ITEM_TYPE_KEY
0
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_WORTHLESS MATERIAL_IRON COND_PERFECT SIZE_MEDIUM
0 0 0 0 0 0
E
dungeon key~
This key is made of iron. It looks like it would
fit the dungeon door.
~