mattekure
April 2nd, 2019, 14:04
For anyone making classes, races, backgrounds or feats I have tried to document all of the strings that FG interprets. Using these strings will allow FG to automate certain behavior as detailed for each one.
Class fields
HD Per Level, default is 1d6
Searches for XdY string to determine the dice value - note that if you use a non-standard die you will not be able to spend hit die, it has to be one of the standard 1d4, 1d6, 1d8, 1d10, 1d12 or 1d20
First level and Multi-class proficiencies
Skill When adding a skill proficiency, FG looks for the following strings in the description of the trait. You MUST capitalize the skills and spell them exactly as they appear on the skills tab of a character sheet. Otherwise FG will silently add a new skill.
"Choose NN from " - Where NN is a number from 1-9 written out. (one, two, three, etc)
"Choose NN skill(s) from " - Where NN is a number from 1-9 written out. (one, two, three, etc). The “s” is optional, so it could be “Choose one skill from” or “Choose two skills from”
The list of skills may be separated by “and”, “or”, or a comma “, “
Examples
“Choose two skills from Arcana, History, Stealth, and Survival”
“Choose one skill from History or Stealth.”
“Choose three from Animal Handling, Athletics, Acrobatics, Animal Handling”
Spellcasting / Pact Magic - When adding the “Spellcasting” or “Pact Magic” feature, FG scans the text of the trait looking for the following string "XXX is your spellcasting ability" where XXX is the name of the ability. The ability it finds will preset the ability selected as the default for the Spells power group and all spell save DC’s and attack bonuses are calculated using it.
If the spellcasting feature includes the text "Preparing and Casting Spells", then FG will calculate and set the number of prepared spells to 1 + ability bonus (minimum of 1).
These are the only text strings searched for within the spellcasting and pact magic class features. The progression of spell slots for a casting class is not determined by what is described within the feature definition, it is instead automatically calculated based on the level that you get the spellcasting/pact magic feature.
Draconic Resilience If you have a feature titled “Draconic Resilience”, FG will check your armor to see if you are wearing any armor, and if not, it will add 3 to your AC and add the additional hitpoints. FG does not look into the text of the trait.
Unarmored Defense If you have a feature titled “Unarmored Defense” FG will check your class and add the appropriate stat modifier to your ac calculation. If you are neither a barbarian or monk, it will not automatically add anything.
Barbarian will add Con
Monk will add Wis.
Skills when added as part of a class feature
All skills must be properly capitalized and spelled exactly as they appear on the skills tab of a char sheet.
"proficiency in the XXX and YYY skills"
"proficiency in the XXX skill"
"proficient in the XXX skill"
"trained in the XXX skill"
"proficiency in WWW skill(s) of your choice" where WWW is the spelled out number between one and nine (one, two,etc)
"proficiency in one of the following skills of your choice" this phrase is followed by the list of skills to choose from.
"proficiency with WWW of the following skills of your choice" where WWW is the spelled out number between one and nine (one, two,etc) and the phrase is followed by a list of skills to choose from.
"proficient in your choice of WWW of the following skills" where WWW is the spelled out number between one and nine (one, two,etc) and the phrase is followed by a list of skills to choose from. After this wording if the phrase "proficiency bonus is doubled" is found, it will double the proficiency bonus for the selected skills.
Racial Trait
Ability Score Increase If you have a racisl feature “Ability Score Increase” FG looks in the text of the feature for the following strings.
"your ability scores each increase" - All ability scores will increase by 1. You cannot set it to increase by any other number.
"your XXX and YYY scores increase by NN" - ability scores XXX and YYY will increase by the number NN.
"your XXX score increases by NN" - ability score XXX will increase by the number NN.
"Your XXX score is reduced by NN" - ability score XXX will decrease by the number NN.
"two other ability scores of your choice increase" or "two different ability scores of your choice increase" - In addition to any previous ability score increase string found, you will get to select 2 ability scores to increase. These will only be increased by 1 and you cannot select any other number.
"either your XXX or your YYY increases by NN" - you get to select either ability XXX or YYY to be increased.
Age A trait named Age will be ignored and not added to the character sheet.
Alignment A trait named Alignment will be ignored and not added to the character sheet
Size If you have a trait named “Size”, FG will look in the text of the trait for the phrase
"Your size is XXX" where XXX is one of the standard FG sizes. This will set the characters size to XXX. If no text is included, or there is no trait named Size, it will default to using Medium.
Speed If you have a trait named “Speed” FG will look in the text of the trait for the following phrases to set your speed correctly.
"walking speed is NN feet" or "land speed is NN feet" - set speed to number NN. It will default to 30 if it cannot determine the number.
"swimming speed of NN feet" - This will add a swimming speed of number NN in addition to your default walking speed.
"flying speed of NN feet" - This will add a flying speed of number NN in addition to your default walking speed.
"climbing speed of NN feet" - This will add a climbing speed of number NN in addition to your default walking speed.
Fleet of Foot If you have a trait named “Fleet of Foot”, FG will look in the text of the trait for the following phrase to modify your walking speed.
"walking speed increases to NN feet" - NN is a number
Darkvision If you have a trait named “Darkvision” it will add that to your character senses. FG will look at the text of the trait and if it finds any number in the text, it will use that number as the distance for the darkvision, otherwise it will just leave the distance portion blank.
Superior Darkvision If you have a trait named “Superior Darkvision” it will add that to your character senses. FG will look at the text of the trait and if it finds any number in the text, it will use that number as the distance for the darkvision, otherwise it will just leave the distance portion blank.
Languages If you have a trait named “Languages” FG will will look in the text of the trait for the following phrases to add languages.
"You can speak, read, and write XXX" or "You can read and write XXX" where XXX is a list of languages. The list of languages is separated by "and ". It can also include the phrases "one extra language of your choice" or "one other language of your choice" Each of the languages in the list will be added to the char sheet.
Extra Language - If you have a trait named “Extra Language” FG will add "Choice" to the languages portion of the char sheet.
Dwarven Toughness - If you have a trait named "Dwarven Toughness" FG will automatically add the appropriate additional HP
“Natural Armor” If the character has a trait with the name “Natural Armor” FG will scan the text of the trait to determine the armor calculation. It looks for the following strings:
"your dexterity modifier doesn't affect this number" - if this string is present, FG will not apply Dex to the AC.
It will then check for one of the following strings to determine the base ac.
"your ac is XX" or "base ac of XX"
"Cat's claws" If you have a feature titled “Cat’s Claws” FG will add “Climb 20 ft” to your speed
Gnome Cunning If you have a feature titled Gnome Cunning FG will auto give adv on int/wis/cha saves against magic.
Class fields
HD Per Level, default is 1d6
Searches for XdY string to determine the dice value - note that if you use a non-standard die you will not be able to spend hit die, it has to be one of the standard 1d4, 1d6, 1d8, 1d10, 1d12 or 1d20
First level and Multi-class proficiencies
Skill When adding a skill proficiency, FG looks for the following strings in the description of the trait. You MUST capitalize the skills and spell them exactly as they appear on the skills tab of a character sheet. Otherwise FG will silently add a new skill.
"Choose NN from " - Where NN is a number from 1-9 written out. (one, two, three, etc)
"Choose NN skill(s) from " - Where NN is a number from 1-9 written out. (one, two, three, etc). The “s” is optional, so it could be “Choose one skill from” or “Choose two skills from”
The list of skills may be separated by “and”, “or”, or a comma “, “
Examples
“Choose two skills from Arcana, History, Stealth, and Survival”
“Choose one skill from History or Stealth.”
“Choose three from Animal Handling, Athletics, Acrobatics, Animal Handling”
Spellcasting / Pact Magic - When adding the “Spellcasting” or “Pact Magic” feature, FG scans the text of the trait looking for the following string "XXX is your spellcasting ability" where XXX is the name of the ability. The ability it finds will preset the ability selected as the default for the Spells power group and all spell save DC’s and attack bonuses are calculated using it.
If the spellcasting feature includes the text "Preparing and Casting Spells", then FG will calculate and set the number of prepared spells to 1 + ability bonus (minimum of 1).
These are the only text strings searched for within the spellcasting and pact magic class features. The progression of spell slots for a casting class is not determined by what is described within the feature definition, it is instead automatically calculated based on the level that you get the spellcasting/pact magic feature.
Draconic Resilience If you have a feature titled “Draconic Resilience”, FG will check your armor to see if you are wearing any armor, and if not, it will add 3 to your AC and add the additional hitpoints. FG does not look into the text of the trait.
Unarmored Defense If you have a feature titled “Unarmored Defense” FG will check your class and add the appropriate stat modifier to your ac calculation. If you are neither a barbarian or monk, it will not automatically add anything.
Barbarian will add Con
Monk will add Wis.
Skills when added as part of a class feature
All skills must be properly capitalized and spelled exactly as they appear on the skills tab of a char sheet.
"proficiency in the XXX and YYY skills"
"proficiency in the XXX skill"
"proficient in the XXX skill"
"trained in the XXX skill"
"proficiency in WWW skill(s) of your choice" where WWW is the spelled out number between one and nine (one, two,etc)
"proficiency in one of the following skills of your choice" this phrase is followed by the list of skills to choose from.
"proficiency with WWW of the following skills of your choice" where WWW is the spelled out number between one and nine (one, two,etc) and the phrase is followed by a list of skills to choose from.
"proficient in your choice of WWW of the following skills" where WWW is the spelled out number between one and nine (one, two,etc) and the phrase is followed by a list of skills to choose from. After this wording if the phrase "proficiency bonus is doubled" is found, it will double the proficiency bonus for the selected skills.
Racial Trait
Ability Score Increase If you have a racisl feature “Ability Score Increase” FG looks in the text of the feature for the following strings.
"your ability scores each increase" - All ability scores will increase by 1. You cannot set it to increase by any other number.
"your XXX and YYY scores increase by NN" - ability scores XXX and YYY will increase by the number NN.
"your XXX score increases by NN" - ability score XXX will increase by the number NN.
"Your XXX score is reduced by NN" - ability score XXX will decrease by the number NN.
"two other ability scores of your choice increase" or "two different ability scores of your choice increase" - In addition to any previous ability score increase string found, you will get to select 2 ability scores to increase. These will only be increased by 1 and you cannot select any other number.
"either your XXX or your YYY increases by NN" - you get to select either ability XXX or YYY to be increased.
Age A trait named Age will be ignored and not added to the character sheet.
Alignment A trait named Alignment will be ignored and not added to the character sheet
Size If you have a trait named “Size”, FG will look in the text of the trait for the phrase
"Your size is XXX" where XXX is one of the standard FG sizes. This will set the characters size to XXX. If no text is included, or there is no trait named Size, it will default to using Medium.
Speed If you have a trait named “Speed” FG will look in the text of the trait for the following phrases to set your speed correctly.
"walking speed is NN feet" or "land speed is NN feet" - set speed to number NN. It will default to 30 if it cannot determine the number.
"swimming speed of NN feet" - This will add a swimming speed of number NN in addition to your default walking speed.
"flying speed of NN feet" - This will add a flying speed of number NN in addition to your default walking speed.
"climbing speed of NN feet" - This will add a climbing speed of number NN in addition to your default walking speed.
Fleet of Foot If you have a trait named “Fleet of Foot”, FG will look in the text of the trait for the following phrase to modify your walking speed.
"walking speed increases to NN feet" - NN is a number
Darkvision If you have a trait named “Darkvision” it will add that to your character senses. FG will look at the text of the trait and if it finds any number in the text, it will use that number as the distance for the darkvision, otherwise it will just leave the distance portion blank.
Superior Darkvision If you have a trait named “Superior Darkvision” it will add that to your character senses. FG will look at the text of the trait and if it finds any number in the text, it will use that number as the distance for the darkvision, otherwise it will just leave the distance portion blank.
Languages If you have a trait named “Languages” FG will will look in the text of the trait for the following phrases to add languages.
"You can speak, read, and write XXX" or "You can read and write XXX" where XXX is a list of languages. The list of languages is separated by "and ". It can also include the phrases "one extra language of your choice" or "one other language of your choice" Each of the languages in the list will be added to the char sheet.
Extra Language - If you have a trait named “Extra Language” FG will add "Choice" to the languages portion of the char sheet.
Dwarven Toughness - If you have a trait named "Dwarven Toughness" FG will automatically add the appropriate additional HP
“Natural Armor” If the character has a trait with the name “Natural Armor” FG will scan the text of the trait to determine the armor calculation. It looks for the following strings:
"your dexterity modifier doesn't affect this number" - if this string is present, FG will not apply Dex to the AC.
It will then check for one of the following strings to determine the base ac.
"your ac is XX" or "base ac of XX"
"Cat's claws" If you have a feature titled “Cat’s Claws” FG will add “Climb 20 ft” to your speed
Gnome Cunning If you have a feature titled Gnome Cunning FG will auto give adv on int/wis/cha saves against magic.