-- 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{ base = "BASE_LORE",
	name = "我被拯救的经历", lore="zigur-potion", unique=true,
	desc = [[一个关于古老的魔法威胁论的传说。]],
	level_range = {1, 20},
	rarity = 40,
}

newEntity{ base = "BASE_LORE",
	name = "关于Artelia诞生的记忆", lore="creation-elf", unique=true,
	desc = [[有关第一个被唤醒精灵的记忆。]],
	level_range = {1, 25},
	rarity = 40,
	-- Only elves can find it
	checkFilter = function(e) local p = game.party:findMember{main=true} if p.descriptor.race == "Elf" then return true end return false end,
}

newEntity{ base = "BASE_LORE",
	name = "人类诞生的神话", lore="creation-human", unique=true,
	desc = [[人类诞生的神话。]],
	level_range = {1, 25},
	rarity = 40,
	-- Only humans can find it
	checkFilter = function(e) local p = game.party:findMember{main=true} if p.descriptor.race == "Human" then return true end return false end,
}

newEntity{ base = "BASE_LORE",
	name = "一个关于起源的逻辑分析，作者：哲学家Smythen", lore="creation-halfling", unique=true,
	desc = [[半身人诞生的神话。]],
	level_range = {1, 25},
	rarity = 40,
	-- Only hhalflings can find it
	checkFilter = function(e) local p = game.party:findMember{main=true} if p.descriptor.race == "Halfling" then return true end return false end,
}

newEntity{ base = "BASE_LORE",
	name = "月亮女神的传说", lore="moons-human", unique=true,
	desc = [[Eyal月亮的起源。]],
	level_range = {1, 35},
	rarity = 40,
	-- Only humans can find it
	checkFilter = function(e) local p = game.party:findMember{main=true} if p.descriptor.race == "Human" then return true end return false end,
}
