-- 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_LITE",
	slot = "LITE",
	type = "lite", subtype="lite", image = resolvers.image_material("lite", {"brass","","dwarven","","faenorian"}),
	display = "~",
	desc = [[照亮世界的每个角落！]],
	randart_able = { attack=10, physical=10, spell=10, def=30, misc=40 },
	egos = "/data/general/objects/egos/lite.lua", egos_chance = { prefix=resolvers.mbonus(15, 3), suffix=resolvers.mbonus(15, 3) },
}

newEntity{ base = "BASE_LITE",
	name = "黄铜灯笼", color=colors.UMBER, short_name = "brass",
	desc = [[一个有引线的黄铜容器，上面覆盖有一张纸防止灯油溅出来。它有一只把手，可以提着。]],
	level_range = {1, 20},
	rarity = 7,
	encumber = 2,
	cost = 0.5,
	material_level = 1,

	wielder = {
		lite = 2,
	},
}

newEntity{ base = "BASE_LITE",
	name = "炼金灯笼", color=colors.LIGHT_UMBER, short_name = "alchemist's",
	desc = [[一个普通的黄铜灯笼，炼金的力量增强了它的亮度。]],
	level_range = {20, 35},
	rarity = 10,
	encumber = 1,
	cost = 3,
	material_level = 5,

	wielder = {
		lite = 3,
	},
}

newEntity{ base = "BASE_LITE",
	name = "矮人灯笼", color=colors.GOLD, short_name = "dwarven",
	desc = [[矮人制造，这种灯笼可以在地底深处提供足够的光线。]],
	level_range = {35, 50},
	rarity = 12,
	encumber = 1,
	cost = 4,
	material_level = 5,

	wielder = {
		lite = 4,
	},
}

