Page 1 of 1

Subraces with the same 'race' alternate starts

Posted: Sun Oct 14, 2012 6:49 pm
by SCO
I was thinking of something like this:

Code: Select all

newBirthDescriptor
{
	type = "subrace",
	name = "Shalore exile",
	locked = function() return profile.mod.allow_build.yeek end,
	locked_desc = "Aparently not just one race, one mind, one way. Before the fall of Nargal, a few elves visited Rel, studying the primordial Yeek gestalt. Stranded on Rel, the study bore fruit: their descendents were joined in 'The Way'",
	desc = {
		"Shaloren exiles have all the characteristics of a their mainland cousins, except they also follow the way, in a primitive fashion.",
		"#GOLD#Stat modifiers:",
		"#LIGHT_BLUE# * -2 Strength, +1 Dexterity, +0 Constitution",
		"#LIGHT_BLUE# * +2 Magic, +3 Willpower, +1 Cunning",
		"#GOLD#Life per level:#LIGHT_BLUE# 9",
		"#GOLD#Experience penalty:#LIGHT_BLUE# 35%",
	},
	inc_stats = { str=-3, con=-5, cun=4, wil=6, mag=0, dex=-2 },
	talents_types = { ["race/yeek"]={true, 0}, ["race/shalore"]={true, 0} },
	talents = {
		[ActorTalents.T_YEEK_WILL]=1,
		[ActorTalents.T_YEEK_ID]=1,
	},
	copy = {
		faction = "the-way",
		moddable_tile = "elf_#sex#",
		moddable_tile_base = "base_shalore_01.png",
		moddable_tile_ornament = {female="braid_02"},
		random_name_def = "shalore_#sex#", random_name_max_syllables = 4,
		life_rating = 9,
		default_wilderness = {"playerpop", "yeek"},
		starting_zone = "town-irkkk",
		starting_quest = "start-yeek",
		starting_intro = "yeek",
	},
	experience = 1.35,
	random_escort_possibilities = { {"trollmire", 2, 3}, {"ruins-kor-pul", 1, 2}, {"daikara", 1, 2}, {"old-forest", 1, 4}, {"dreadfell", 1, 8}, {"reknor", 1, 2}, },
}
Seems to work if you move the id orb down to the subclasses instead of the prototype. Of course, the text in the main quest is all - up, and i'm not sure it won't break because it is checking for race instead of origin/faction/whatever.