Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
I'm making a d20 FR datafile with all the languages, spells, feats, FR races, Regions and Regional feats — akin to the great work RavenX did for PF.
Languages are done. Races are easy. I just copied standard, changed ability adjustment, height, weight and age info, descriptions and removed the automatic and bonus language bootstraps/tags. I've entered (most of) the regions as +0 LA inherited templates, with exp-reqs by race. The last big step is entering all the regional feats, and that's where I have a few questions. I realize I could just tag them Upbringing feats, but I want to make a new feat tag for Regional — to assuage my nitpicking sense of uniformity — and to prevent other existing upbringing feats from being included. • How do I make feats under the new tag only selectable at 1st level? • How do I allow only one Regional feat to be chosen? • Do Upbringing feats already do exactly those things, and should I just suck it up and use that tag instead? Thanks |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Quote:
Quote:
Quote:
Last edited by Sendric; September 20th, 2012 at 07:37 AM. |
||||
#2 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
I get that, but how can I make the feat only available at level one? I need to make it so only 1st level characters can take regional feats.
|
#3 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
Right now, I just have this pre-req
Code:
~ We make 1st level prereq if (herofield[tLevel].value = 1) then @valid = 1 endi I think the Regional feat limitation is solved with this: Code:
~We check for other Regional feats if (hero.tagcount[fCategory.Regional] <= 1) then @valid = 1 endif |
#4 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
And another thing.
I'm trying to enter the exp-reqs for the feats to only be available to characters from certain regions. To facilitate, I made a special tag for each individual region with this format (Race initial)(Region), such that an Elf from Evermeet has a SpecSource.EEvermee tag, and a Human from Chessenta has a SpecSource.HChessen tag. I'm doing the Education feat first, since my character has it, and I'm trying to enter the proper Exp-Req The requirement message is "Must be elf (Evermeet, Silverymoon, Snow Eagle Eryie), gnome (Lantan), half elf (Silverymoon), or human (Chessenta, Lantan, Silverymoon, Waterdeep)" This is the Exp-req I've got now, but it's not letting me select it with my Sun Elf with the Evermeet region template. Code:
hero.tagis[SpecSource.EEvermee] + hero.tagis[SpecSource.ESilvery] + hero.tagis[SpecSource.ESnowEag] + hero.tagis[SpecSource.GLantan] + hero.tagis[SpecSource.HESilver] + hero.tagis[SpecSource.HChessen] + hero.tagis[SpecSource.HLantan] + hero.tagis[SpecSource.HSilvery] + hero.tagis[SpecSource.HWaterde] <> 0 |
#5 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
Code:
@valid = 0 ~ If we're a thing, we can't add a new feat if there are any other upbringing feats if (@ispick = 0) then if (hero.tagcount[fCategory.Upbringing] = 0) then @valid = 1 endif ~ If we're a pick, we're valid as long as there are no other upbringing feats elseif (hero.tagcount[fCategory.Upbringing] = 1) then @valid = 1 endif |
|
#6 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
Also, I'd encourage a set pattern to your tag names so you can employ wildcards in the expr-reqs. Maybe start with RgElfXXXX for all elven ones, RgDwfXXXX for all dwarven ones. That way you can check for presence/abscense of any regional template with just hero.tagis[SpecSource.Rg? or you could check for any Elven regional template with hero.tagis[SpecSource.RgElf?. Using this, the above expr-req would be much shorter. As I understand it, you are looking for any elven, half-elven, or human regional template, yes? You could do that like this: Code:
hero.tagis[SpecSource.RgElf?] + hero.tagis[SpecSource.RgHEl?] + hero.tagis[SpecSource.RgHum?] <> 0 |
|
#7 |
Member
Join Date: Apr 2012
Location: Washington, D.C.
Posts: 76
|
Ahh, the issue is I had the SpecSource tags on the templates, but not getting assigned on the hero.
I suppose I will need to write an eval script in each template to do that? Code:
perform hero.assign[SpecSource.EEvermee] As for the naming system, I was using E(region) for the elf regions, D(Region) for the dwarf, ect. ect. The trouble with using a wild card is many of these feats are specific to individual regions and races. An elf from waterdeep doesn't get Education, but a human from there does, as does an elf from Evermeet. |
#8 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
I'll do you one better:
Code:
perform forward[SpecSource.?] |
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Is the region usually more important than the race? You could set up the system to use wildcards with that, but you'll have to pick one or the other.
|
#10 |
|
|