Newer
Older
--
-- 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
---------------------------------------------------------
---------------------------------------------------------
newBirthDescriptor{
type = "race",
"Halflings are a race of very short stature, rarely exceeding four feet in height.",
"They are like humans in that they can do just about anything they set their minds to, yet they excel at ordering and studying things.",
"Halfling armies have brought many kingdoms to their knees and they kept a balance of power with the Human kingdoms during the Age of Allure.",
"Halflings are agile, lucky, and resilient but lacking in strength.",
subclass = {
-- Only human, elves, halflings and undeads are supposed to be archmages
Archmage = "allow",
},
starting_quest = "start-allied",
starting_intro = "halfling",
resolvers.inscription("INFUSION:_REGENERATION", {cooldown=10, dur=5, heal=100}, 1),
resolvers.inscription("INFUSION:_WILD", {cooldown=14, what={physical=true}, dur=4, power=14}, 2),
resolvers.inscription("INFUSION:_HEALING", {cooldown=12, heal=50}, 3),
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
random_escort_possibilities = { {"tier1.1", 1, 2}, {"tier1.2", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
cosmetic_options = {
skin = {
{name="Skin Color 1", file="base_01"},
{name="Skin Color 2", file="base_02"},
{name="Skin Color 3", file="base_03"},
{name="Skin Color 4", file="base_04"},
{name="Skin Color 5", file="base_05"},
{name="Skin Color 6", file="base_06"},
{name="Blond Hair 1", file="hair_blond_01"},
{name="Blond Hair 2", file="hair_blond_02"},
{name="Blond Hair 3", file="hair_blond_03"},
{name="Blond Hair 4", file="hair_blond_04"},
{name="Dark Hair 1", file="hair_black_01"},
{name="Dark Hair 2", file="hair_black_02"},
{name="Dark Hair 3", file="hair_black_03"},
{name="Dark Hair 4", file="hair_black_04"},
{name="Redhead 1", file="hair_redhead_01", unlock="cosmetic_race_human_redhead"},
{name="Redhead 2", file="hair_redhead_02", unlock="cosmetic_race_human_redhead"},
{name="Redhead 3", file="hair_redhead_03", unlock="cosmetic_race_human_redhead"},
{name="Redhead 4", file="hair_redhead_04", unlock="cosmetic_race_human_redhead"},
},
special = {
DarkGod
committed
{name="Bikini / Mankini", birth_only=true, on_actor=function(actor, birther, last)
if not last then local o = birther.obj_list_by_name[birther.descriptors_by_type.sex == 'Female' and 'Bikini' or 'Mankini'] if not o then print("No bikini/mankini found!") return end actor:getInven(actor.INVEN_BODY)[1] = o:cloneFull() actor.moddable_tile_nude = 1
else actor:registerOnBirthForceWear(birther.descriptors_by_type.sex == 'Female' and "FUN_BIKINI" or "FUN_MANKINI") end
end},
}
---------------------------------------------------------
---------------------------------------------------------
newBirthDescriptor
{
type = "subrace",
"Halflings are a race of very short stature, rarely exceeding four feet in height.",
"They are like humans in that they can do just about anything they set their minds to, yet they excel at ordering and studying things.",
"Halfling armies have brought many kingdoms to their knees and they kept a balance of power with the Human kingdoms during the Age of Allure.",
"They possess the #GOLD#Luck of the Little Folk#WHITE# which allows them to increase their critical strike chance and saves for a few turns.",
"#LIGHT_BLUE# * +0 Magic, +0 Willpower, +3 Cunning",
"#LIGHT_BLUE# * +5 Luck",
"#GOLD#Experience penalty:#LIGHT_BLUE# 10%",
inc_stats = { str=-3, dex=3, con=1, cun=3, lck=5, },
default_cosmetics = { {"hairs", "Dark Hair 1", only_for={sex="Male"}}, {"hairs", "Blond Hair 1", only_for={sex="Female"}} },