1 #pragma once 2 3 #include "tag-version.h" 4 5 // Be sure to update artefact_prop_data[] in artefact.cc. Also, 6 // _randart_propnames() in describe.cc, but order doesn't matter there. 7 enum artefact_prop_type 8 { 9 ARTP_BRAND, 10 ARTP_AC, 11 ARTP_EVASION, 12 ARTP_STRENGTH, 13 ARTP_INTELLIGENCE, 14 ARTP_DEXTERITY, 15 ARTP_FIRE, 16 ARTP_COLD, 17 ARTP_ELECTRICITY, 18 ARTP_POISON, 19 ARTP_NEGATIVE_ENERGY, 20 ARTP_WILLPOWER, 21 ARTP_SEE_INVISIBLE, 22 ARTP_INVISIBLE, 23 ARTP_FLY, 24 ARTP_BLINK, 25 ARTP_BERSERK, 26 ARTP_NOISE, 27 ARTP_PREVENT_SPELLCASTING, 28 ARTP_CAUSE_TELEPORTATION, 29 ARTP_PREVENT_TELEPORTATION, 30 ARTP_ANGRY, 31 #if TAG_MAJOR_VERSION == 34 32 ARTP_METABOLISM, 33 #endif 34 ARTP_CONTAM, 35 #if TAG_MAJOR_VERSION == 34 36 ARTP_ACCURACY, 37 #endif 38 ARTP_SLAYING, 39 #if TAG_MAJOR_VERSION == 34 40 ARTP_CURSE, 41 #endif 42 ARTP_STEALTH, 43 ARTP_MAGICAL_POWER, 44 ARTP_BASE_DELAY, 45 ARTP_HP, 46 ARTP_CLARITY, 47 ARTP_BASE_ACC, 48 ARTP_BASE_DAM, 49 ARTP_RMSL, 50 #if TAG_MAJOR_VERSION == 34 51 ARTP_FOG, 52 #endif 53 ARTP_REGENERATION, 54 #if TAG_MAJOR_VERSION == 34 55 ARTP_SUSTAT, 56 #endif 57 ARTP_NO_UPGRADE, 58 ARTP_RCORR, 59 ARTP_RMUT, 60 #if TAG_MAJOR_VERSION == 34 61 ARTP_TWISTER, 62 #endif 63 ARTP_CORRODE, 64 ARTP_DRAIN, 65 ARTP_SLOW, 66 ARTP_FRAGILE, 67 ARTP_SHIELDING, 68 ARTP_HARM, 69 ARTP_RAMPAGING, 70 ARTP_ARCHMAGI, 71 ARTP_NUM_PROPERTIES 72 }; 73