Overview
This file controls how a monster may be created with specific type of inventory equipment items
These equipment items are randomly generated on the monster, based on the specified parameters in this file
This data relies on the “inventory” field being enabled for the listed monster, found in the monstats.txt file
Data Fields
monster – Defines the monster that should be equipped. Points to the matching “Id” value in the monstats.txt file. If the monster has multiple defined equipment possibilities, then they should always be grouped together. The game will go through the list in order to match what is best to use for the monster.
oninit – Defines if the monster equipment is added on initialization during the monster’s creation, depending how the monster is spawned. Monsters created by a skill have this value set to 0. Monsters created by a level have this value set to 1.
level – Defines the level requirement for the monster in order to gain this equipment. The game will prefer the highest level allowed, so the order of these equipment should be from highest level to lowest level.
item1 (to item3) – Item that the be equipped on the monster (Uses ID pointer from Weapons.txt, Armor.txt or Misc.txt)
loc1 (to loc3) – Specifies the inventory slot where the item will be equipped. Once an item is equipped on that body location, then the game will skip any duplicate calls to equipping the same body location. This is another reason why the equipment should be ordered from highest level to lowest level.
Code | Description |
(empty) | None |
head | Head |
neck | Neck |
tors | Torso |
rarm | Right Arm |
larm | Left Arm |
rrin | Right Ring |
lrin | Left Ring |
belt | Belt |
feet | Feet |
glov | Gloves |
mod1 (to mod3) – Controls the quality level of the related item
Item Quality Code | Description |
0 | Any Quality (Used for a random quality) |
1 | Low Quality (Ex: “Crude”) |
2 | Normal Quality (Default value if the value is empty) |
3 | High Quality (Superior) |
4 | Magic Quality (Uses Magic Prefixes and Suffixes) |
5 | Set Item |
6 | Rare Quality |
7 | Unique (Predetermined stats) |