1 /* 2 * armour.c 3 * Copyright (C) 2009-2011, 2012 Joachim de Groot <jdegroot@web.de> 4 * 5 * NLarn is free software: you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * NLarn is distributed in the hope that it will be useful, but 11 * WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 * See the GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License along 16 * with this program. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #include "armour.h" 20 #include "items.h" 21 22 const armour_data armours[AT_MAX] = 23 { 24 /* id name ac category material effect we pr disguise ob un*/ 25 { AT_CLOAK, "cloak", 1, AC_CLOAK, IM_CLOTH, ET_NONE, 400, 15, AT_MAX, 1, 0 }, 26 { AT_LGLOVES, "pair of leather gloves", 1, AC_GLOVES, IM_LEATHER, ET_NONE, 800, 25, AT_MAX, 1, 0 }, 27 { AT_LBOOTS, "pair of leather boots", 1, AC_BOOTS, IM_LEATHER, ET_NONE, 1800, 25, AT_MAX, 1, 0 }, 28 { AT_LHELMET, "leather helmet", 1, AC_HELMET, IM_LEATHER, ET_NONE, 2200, 25, AT_MAX, 1, 0 }, 29 { AT_LEATHER, "leather armour", 2, AC_SUIT, IM_LEATHER, ET_NONE, 4000, 40, AT_MAX, 1, 0 }, 30 { AT_WSHIELD, "wooden shield", 1, AC_SHIELD, IM_WOOD, ET_NONE, 3500, 25, AT_MAX, 1, 0 }, 31 { AT_SLEATHER, "studded leather armour", 3, AC_SUIT, IM_LEATHER, ET_NONE, 7500, 80, AT_MAX, 1, 0 }, 32 { AT_RINGMAIL, "ring mail", 5, AC_SUIT, IM_IRON, ET_NONE, 10000, 320, AT_MAX, 1, 0 }, 33 { AT_LSHIELD, "large shield", 2, AC_SHIELD, IM_IRON, ET_NONE, 7800, 125, AT_MAX, 1, 0 }, 34 { AT_CHAINHOOD, "chainmail hood", 2, AC_HELMET, IM_IRON, ET_NONE, 3400, 180, AT_MAX, 1, 0 }, 35 { AT_CHAINMAIL, "chain mail", 6, AC_SUIT, IM_IRON, ET_NONE, 11500, 600, AT_MAX, 1, 0 }, 36 { AT_SPLINTMAIL, "splint mail", 7, AC_SUIT, IM_IRON, ET_NONE, 13000, 1000, AT_MAX, 1, 0 }, 37 { AT_PHELMET, "plate helmet", 3, AC_HELMET, IM_IRON, ET_NONE, 2800, 450, AT_MAX, 0, 0 }, 38 { AT_PBOOTS, "pair of plate boots", 3, AC_BOOTS, IM_IRON, ET_NONE, 3400, 450, AT_MAX, 0, 0 }, 39 { AT_SPEEDBOOTS, "pair of boots of speed", 1, AC_BOOTS, IM_LEATHER, ET_SPEED, 800, 2800, AT_LBOOTS, 0,1 }, 40 { AT_PLATEMAIL, "plate mail", 8, AC_SUIT, IM_IRON, ET_NONE, 17500, 2200, AT_MAX, 0, 0 }, 41 { AT_SSHIELD, "stainless shield", 4, AC_SHIELD, IM_STEEL, ET_NONE, 8000, 880, AT_MAX, 0, 0 }, 42 { AT_SPLATEMAIL, "stainless plate mail", 9, AC_SUIT, IM_STEEL, ET_NONE, 19000, 3800, AT_MAX, 0, 0 }, 43 { AT_INVISCLOAK, "cloak of invisibility", 1, AC_CLOAK, IM_CLOTH, ET_INVISIBILITY, 400,2800, AT_CLOAK,0,1 }, 44 { AT_ELVENCHAIN, "elven chain", 12, AC_SUIT, IM_MITHRIL, ET_NONE, 8500, 16400, AT_MAX, 0, 1 }, 45 }; 46