Skip to content
Snippets Groups Projects
leather-boots.lua 1.73 KiB
Newer Older
  • Learn to ignore specific revisions
  • dg's avatar
    dg committed
    -- ToME - Tales of Maj'Eyal
    
    dg's avatar
    dg committed
    -- Copyright (C) 2009, 2010 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
    
    
    dg's avatar
    dg committed
    newEntity{
    	define_as = "BASE_LEATHER_BOOT",
    
    dg's avatar
    dg committed
    	slot = "FEET",
    
    dg's avatar
    dg committed
    	type = "armor", subtype="feet",
    
    dg's avatar
    dg committed
    	add_name = " (#ARMOR#)",
    
    dg's avatar
    dg committed
    	display = "]", color=colors.UMBER, image = resolvers.image_material("boots", "leather"),
    
    dg's avatar
    dg committed
    	encumber = 2,
    	rarity = 6,
    	desc = [[A pair of boots made of leather.]],
    
    dg's avatar
    dg committed
    	egos = "/data/general/objects/egos/light-boots.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
    
    dg's avatar
    dg committed
    }
    
    newEntity{ base = "BASE_LEATHER_BOOT",
    	name = "pair of rough leather boots",
    	level_range = {1, 20},
    	cost = 2,
    
    dg's avatar
    dg committed
    	material_level = 1,
    
    dg's avatar
    dg committed
    	wielder = {
    		combat_armor = 1,
    		fatigue = 1,
    	},
    }
    
    newEntity{ base = "BASE_LEATHER_BOOT",
    	name = "pair of hardened leather boots",
    	level_range = {20, 40},
    	cost = 4,
    
    dg's avatar
    dg committed
    	material_level = 3,
    
    dg's avatar
    dg committed
    	wielder = {
    		combat_armor = 3,
    		fatigue = 3,
    	},
    }
    
    newEntity{ base = "BASE_LEATHER_BOOT",
    	name = "pair of drakeskin leather boots",
    	level_range = {40, 50},
    	cost = 7,
    
    dg's avatar
    dg committed
    	material_level = 5,
    
    dg's avatar
    dg committed
    	wielder = {
    		combat_armor = 5,
    		fatigue = 5,
    	},
    }