Forked from
tome / Tales of MajEyal
10597 commits behind the upstream repository.
-
dg authored
onyl for yeeks & ghouls now, more later git-svn-id: http://svn.net-core.org/repos/t-engine4@3691 51575b47-30f0-44d4-a5cc-537603b46e54
dg authoredonyl for yeeks & ghouls now, more later git-svn-id: http://svn.net-core.org/repos/t-engine4@3691 51575b47-30f0-44d4-a5cc-537603b46e54
wizard-hat.lua 1.78 KiB
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newEntity{
define_as = "BASE_WIZARD_HAT",
slot = "HEAD",
type = "armor", subtype="head",
add_name = " (#ARMOR#)",
display = "]", color=colors.BLUE, image = resolvers.image_material("wizardhat", "cloth"),
moddable_tile = resolvers.moddable_tile("wizard_hat"),
encumber = 2,
rarity = 6,
desc = [[A pointy cloth hat, very wizardly...]],
randart_able = { attack=10, physical=10, spell=80, def=10, misc=10 },
egos = "/data/general/objects/egos/wizard-hat.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
}
newEntity{ base = "BASE_WIZARD_HAT",
name = "linen wizard hat",
level_range = {1, 20},
cost = 2,
material_level = 1,
wielder = {
combat_def = 1,
},
}
newEntity{ base = "BASE_WIZARD_HAT",
name = "cashmere wizard hat",
level_range = {20, 40},
cost = 4,
material_level = 3,
wielder = {
combat_def = 2,
},
}
newEntity{ base = "BASE_WIZARD_HAT",
name = "elven-silk wizard hat",
level_range = {40, 50},
cost = 7,
material_level = 5,
wielder = {
combat_def = 3,
},
}