Welcome to PenUltima Online. Click to login or register.

Functions:

EquipFromTemplate( character, template )
Parameters:
Name Type
character Character Reference
template String
Explanation
Creates equipment for a character, using EQUIP.CFG.
Notes: Element properties in EQUIP.CFG can have the following formats: Equip [hex_objtype] [hex_color] Armor [armor_template_name] Weapon [weapon_template_name] Note that object type and color must be in hex format (0xHHHH)
Will not create an item that is not equippable.
Return values
1 on success
Errors
"Invalid parameter"
"Equipment template not found"
"Blech! Can't find '[object name]' named in equip.cfg"
Related
Character
Equipment
Related Configs
equip.cfg