1 #pragma once 2 3 #include "tag-version.h" 4 5 // Adding slots breaks saves. YHBW. 6 enum mon_inv_type // env.mons[].inv[] 7 { 8 MSLOT_WEAPON, // Primary weapon (melee) 9 MSLOT_ALT_WEAPON, // Alternate weapon, ranged or second melee weapon 10 // for monsters that can use two weapons. 11 MSLOT_MISSILE, 12 #if TAG_MAJOR_VERSION == 34 13 MSLOT_ALT_MISSILE, 14 #endif 15 MSLOT_ARMOUR, 16 MSLOT_SHIELD, 17 MSLOT_WAND, 18 MSLOT_JEWELLERY, 19 MSLOT_MISCELLANY, 20 21 // [ds] Last monster gear slot that the player can observe by examining 22 // the monster; i.e. the last slot that goes into monster_info. 23 MSLOT_LAST_VISIBLE_SLOT = MSLOT_MISCELLANY, 24 25 MSLOT_POTION, 26 MSLOT_SCROLL, 27 MSLOT_GOLD, 28 NUM_MONSTER_SLOTS 29 }; 30