-- 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

---------------------------------------------------------
--                       Yeeks                       --
---------------------------------------------------------
newBirthDescriptor{
	type = "race",
	name = "Yeek",
	display_name = "夺心魔系",
	locked = function() return profile.mod.allow_build.yeek end,
	locked_desc = "    一个种族，一种思想，一种道 路。我们的压抑终于要终结，而我 们将继承Eyal，不要认为我们很柔 弱，只有那些帮助我们的人才能见 识到我们的力量。",
	desc = {
		"    夺心魔是一支神秘的种族，生 活于热带岛屿 Rel。",
		"    他们的身体覆盖者白色的皮肤， 他们奇怪的头颅大小比例使他们看 上去很可笑。",
		"    尽管他们在Maj’Eyal中几乎不 曾被提到过，他们已经作为半身人 王国Nargol的奴隶存在了数个世纪。",
		"    他们在Pyre纪元获得了自由并 在那个时候建立起维网——1个由 他们超能力思维组成的网络。",
	},
	descriptor_choices =
	{
		subrace =
		{
			__ALL__ = "disallow",
			Yeek = "allow",
		},
	},
	copy = {
		faction = "the-way",
		type = "humanoid", subtype="yeek",
		size_category = 2,
		default_wilderness = {"playerpop", "yeek"},
		starting_zone = "town-irkkk",
		starting_quest = "start-yeek",
		starting_intro = "yeek",
		blood_color = colors.BLUE,
		resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=60}),
		resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={physical=true}, dur=4, power=14}),
	},
	random_escort_possibilities = { {"trollmire", 2, 3}, {"ruins-kor-pul", 1, 2}, {"daikara", 1, 3}, {"old-forest", 1, 5}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
}

---------------------------------------------------------
--                       Yeeks                       --
---------------------------------------------------------
newBirthDescriptor
{
	type = "subrace",
	name = "Yeek",
	display_name = "夺心魔",
	locked = function() return profile.mod.allow_build.yeek end,
	locked_desc = "    一个种族，一种思想，一种道 路。我们的压抑终于要终结，而我 们将继承Eyal，不要认为我们很柔 弱，只有那些帮助我们的人才能见 识到我们的力量。",
	desc = {
		"    夺心魔是一支神秘的种族，生 活于热带岛屿 Rel。",
		"    尽管他们在Maj’Eyal中几乎不 曾被提到过，他们已经作为半身人 王国Nargol的奴隶存在了数个世纪。",
		"    他们在Pyre纪元获得了自由并 在那个时候建立起维网——1个由 他们超能力思维组成的网络。",
		"    他们天生掌握#GOLD#主导思维#WHITE#，允许 他们在短时间内控制 1个较弱生物 的思维。当效果结束时，被控制目 标死亡。",
		"#GOLD#属性修正：",
		"#LIGHT_BLUE# * -3 力量，-2 敏捷，-5 体质",
		"#LIGHT_BLUE# * +0 魔法，+6 意志，+4 灵巧",
		"#GOLD#每等级增加生命值：#LIGHT_BLUE# 7",
		"#GOLD#经验惩罚：#LIGHT_BLUE# -15%",
		"#GOLD#混乱抗性：#LIGHT_BLUE# 35%",
	},
	inc_stats = { str=-3, con=-5, cun=4, wil=6, mag=0, dex=-2 },
	talents_types = { ["race/yeek"]={true, 0} },
	talents = {
		[ActorTalents.T_YEEK_WILL]=1,
		[ActorTalents.T_YEEK_ID]=1,
	},
	copy = {
		life_rating=7,
		confusion_immune = 0.35,
		max_air = 200,
		moddable_tile = "yeek",
		random_name_def = "yeek_#sex#",
	},
	experience = 0.85,
}
