

LANGBONUS:Giant,Gnome,Goblin,Orc,Terran,UndercommonĪBILITY:Internal|AUTOMATIC|Race Traits ~ Dwarf The definition of the Dwarf race in cr_races.lst is fairly straightforward. are standardised according to the Data LST standards. The 3.5ed files are similarly named rsrd for the Revised System Reference Document - look in data/35e/wizards_of_the_coast/rsrd/basics/.

Note the file-names all start with cr standing for the core rulebook. the category Fighter Bonus Feat which contains all the feats that Fighter-class characters are allowed to take at 1st, 2nd, 4th, etc. The most obvious use of this file is to group abilities for the player to choose amongst, i.e. which are used when coding cr_abilities_race.lst.

#Pcgen documentation code#
Those who are only interested in simple home-brew code may await that article.įor the time being, let us press on with the dissection of the PCGen data files. I will write a separate article walking through the coding of a home-brew race. Home-brew races don’t need this complexity, and are therefore much easier to implement. Hill Dwarf, Aquatic Dwarf, Desert Dwarf…). In dissecting these files, I have discovered that the Pathfinder and DnD 3.5e data files are made quite complicated by the need to support sub-races (i.e. In this article, I will dissect the Pathfinder data files cr_races.lst and cr_abilities_race.lst files to determine how the Dwarf race is defined, and trace back the code responsible for implementing the Dwarf ~ Defensive Training ability (one of a half-dozen abilities making up the Dwarf.) I would prefer to learn the language by dissecting the Pathfinder and DnD 3.5 data files, which are the most up-to-date available in the PCGen project. the use of the SAB tag where the ASPECT tag would be preferred for new code. My concern with the LST File Classes is that they were written many years ago, and don’t always show the “modern” way of doing things. These lessons are enough to learn the basics.

The PCGen Documentation > List Files > LST File Classes, Lessons 3 through 6, Fundamentals of Race Building, walks through the construction of example races. +2 morale bonus on saving throws against fear: This bonus stacks with the halfling’s +1 bonus on saving throws in general.+2 racial bonus on Climb, Jump, Listen, and Move Silently checks.Small: As a Small creature, a halfling gains a +1 size bonus to Armor Class, a +1 size bonus on attack rolls, and a +4 size bonus on Hide checks, but she uses smaller weapons than humans use, and her lifting and carrying limits are three-quarters of those of a Medium character.How would we go about defining something like the Halfling from the d20 SRD?
