A look at the Item and Spell Types
type Equipment
Name as String
Prefix as Integer
Suffix as Integer
Base as Integer
what as Integer
Strmod as Integer
Dexmod as Integer
Conmod as Integer
Intmod as Integer
Wismod as Integer
Chamod as Integer
AttackBonus as Integer
Dambase as Integer
Dambonus as Integer
Location as Integer
hands as Boolean
Attack1 as String
Attack2 as String
Damagetype as Integer
Slashing as Boolean
Blunt as Boolean
Piercing as Boolean
Threat as Integer
Multiplier as Integer
Image as Integer
Value as Integer
HPmax as Integer
HPcur as Integer
Armorbonus as Integer
Armorbase as Integer
Special1 as Integer
Special2 as Integer
Duration as Integer
Fighter as Boolean
Rouge as Boolean
Cleric as Boolean
Druid as Boolean
Barbarian as Boolean
Ranger as Boolean
Wizard as Boolean
Bard as Boolean
Monk as Boolean
Earth as Integer
Air as Integer
Fire as Integer
Water as Integer
Magic as Integer
endtype
type Magic
Name as String
Pointcost as Integer
Fire as Integer
Earth as Integer
Water as Integer
Air as Integer
Code as String
Damagedice as Integer
Numdice as Integer
Levelbonus as Integer
Classbonus as Integer
Wizard as Boolean
Cleric as Boolean
Paladin as Boolean
Ranger as Boolean
Bard as Boolean
Duration as Integer
Strength as Integer
Dexterity as Integer
Constitution as Integer
Intelligence as Integer
Wisdom as Integer
Charisma as Integer
HP as Integer
Summon as String
Party as Boolean
Personal as Boolean
Enemytarget as Integer
endtype