Page 1 of 1

How do you associate racial talents with a race?

Posted: Sat Jul 16, 2011 11:34 pm
by aberk
I am thinking about designing a new race, but can't find out how to associate a racial talent tree with a race. Any guidance will be deeply appreciated.

Re: How do you associate racial talents with a race?

Posted: Sat Jul 16, 2011 11:51 pm
by Zonk
Pretty simple:

Code: Select all

talents_types = { [x]={true, 0} },
in the racial entry, where x is the talent tree name.

You can check some racial entries, for example Highers( check /game/modules/tome/data/birth/races/human.lua) have:

Code: Select all

talents_types = { ["race/higher"]={true, 0} },
(they also have

Code: Select all

talents = {
		[ActorTalents.T_HIGHER_HEAL]=1,
	},
so they get the first talent of the tree for free.)