mud++0.35/etc/
mud++0.35/etc/guilds/
mud++0.35/help/propert/
mud++0.35/mudC/
mud++0.35/player/
mud++0.35/src/interface/
mud++0.35/src/os/cygwin32/
mud++0.35/src/os/win32/
mud++0.35/src/os/win32/bcppbuilder/
mud++0.35/src/osaddon/
mud++0.35/src/util/
// It is absolutely out of date - check items2.doc for info
// This document is left only as reference to possible fields of
// objects

items.doc

Description of value array and other values for item types.


== FOOD
type name "food"

v0 - food value ( how much food it is )
v1 - type of food
v2 - if set then poison
v3 -
v4 -
v5 -
v6 -
v7 -


== CONTAINER
type name "container"

v0 - integer lock value ( key must mod )
v1 - weight capacity
v2 - volume capacity
v3 - current contained weight
v4 - current contained volume
v5 - 
v6 -
v7 -


== KEY 
type name "key"

v0 - integer key val ( lock must be multiple of key )
v1 -
v2 -
v3 -
v4 - 
v5 -
v6 -
v7 -

NOTE:	Locks can have any value, but if lock mod key = 0 then key can
		open it. This allows for some sort of skeleton key system but
		locks can also have a prime value where only one key can work.


== DRINK CONTAINER
type name "drink-container"

v0 - weight capacity
v1 - volume capacity
v2 - current contained weight
v3 - current contained volume
v4 - liquid type ( string )
v5 -
v6 -
v7 -


== WEAPON
type name "weapon"

v0 - damage type ( 1 word string )
v1 - min damage  ( for roll )
v2 - max damage ( for roll )
v3 - max item damage total ( until equipment is trash )
v4 - max item damage per hit ( threshold per hit )
v5 - current damage
v6 - charges ( for an enchanted weapon )
v7 -


== ARMOR
type name "armor"

v0 -
v1 -
v2 -
v3 - max item damage total ( until equipment is trash )
v4 - max item damage per hit ( threshold per hit )
v5 - current damage
v6 - charges ( for an enchanted item )
v7 -


Note:  Enchanted armor casts spell on the person who hits it in battle.
       For example Klepto is fighting a minotaur guard, the minotaur
       connects with a nice mace bash, hitting Klepto's enchanted breast
       plate which glows and disintegrates the minotaur with a bolt of
       lightning! The item can be created with more than 1 charge and can
       also be bestowed with more energy by wizards but when depleted then
       the item will only gain 1 charge, and only one per day.


== WAND
type name "wand"
v0 -
v1 -
v2 -
v3 -
v4 -
v5 - max charges
v6 - charges
v7 -

Note: Use 'zap' for wand.

 
== ORB 
type name "orb"
v0 -
v1 -
v2 -
v3 -
v4 -
v5 - max charges
v6 - charges
v7 -

Note: Use 'tap' or 'rub' for orb.

 
== STAFF
type name "staff"
v0 -
v1 -
v2 -
v3 -
v4 -
v5 - max charges
v6 - charges
v7 -

Note: Use 'brandish' for staff.

 
== SCROLL
type name "scroll"
v0 -
v1 -
v2 -
v3 -
v4 -
v5 -
v6 - language
v7 -

Note: Use 'recite' for scroll.

 
== POTION 
type name "potion"
v0 -
v1 -
v2 -
v3 -
v4 -
v5 -
v6 -
v7 -

Note: Use 'drink' or 'quaff' for potion.