Advertisement
Xanjaycof

Skaven Race for 5E D&D (MPMB's Sheet)

Nov 9th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var iFileName = "Homebrew Syntax - Skaven.js"; // Optional; This is how the file will be named in the sheet if you import it as a file and not copy-paste its content. Only the first occurrence of this variable will be used
  2. RequiredSheetVersion(12.999); // Optional; This is the minimum required version number of the sheet for the script to work. If the sheet being used to import the script is of an earlier version, the user will be warned
  3.  
  4. RaceList["skaven - clan pestilens"] = { //Object name; Note the use of only lower case! Also note the absence of the word "var" and the use of brackets []
  5.  
  6.     regExpSearch : /^(?=.*skaven)(?=.*clan)(?=.*pestilens).*$/i, //required; regular expression of what to look for (i.e. now it looks for any entry that has both the words "something" and "catlike" in it, disregarding capitalization). If this looks too complicated, just write: /something catlike/i
  7.  
  8.     name : "Skaven, Clan Pestilens", //required; the name to use for the race
  9.  
  10.     sortname : "", //optional; this is the name used to fill the drop-down boxes. If you don't include this, the 'name' will used instead
  11.  
  12.     source : ["HB", 0], //required; the source and the page number. "HB" stands for homebrew. See the "Complete SourceList" for an overview of sources that are already defined. Or define a new source using the "Homebrew Syntax - SourceList.js". // This can be an array of arrays to indicate the things appears in multiple sources. For example, if something appears on page 7 of the Elemental Evil Player's Companion and on page 115 of the Sword Coast Adventure Guide, use the following: [["E", 7], ["S", 115]]
  13.  
  14.     plural : "Skaven, Clan Pestilens", //required; the name to use for the race when the plural form is used
  15.  
  16.     size : 3, //required;  the size of the race (Gargantuan = 0, Huge = 1, Large = 2, Medium = 3, Small = 4, Tiny = 5)
  17.  
  18.     speed : { //required; This sets a value for one or more speed modes, and/or a value to be added to a specific speed mode or to all speed modes // the attributes of this object can be "walk", "burrow", "climb", "fly", "swim", and "allModes"
  19.  
  20.         // all of the following attributes are optional and you can add more ("burrow" isn't part of this example!)
  21.  
  22.         walk : { spd : 30, enc : 20 }, // the objects "walk", "burrow", "climb", "fly", "swim" are all the same, they are an object with two attributes, 'spd' for the speed in feet, and 'enc' for the encumbered speed in feet.
  23.  
  24.     },
  25.  
  26. /* SYNTAX CHANGE v12.998 >> old syntax for 'tools' and 'languages' are no longer supported!! */
  27.     toolProfs : [[""], ["", ""], ""], // optional; this is an array with the tool proficiencies gained. Each entry can be its own array of 2 entries (but doesn't have to be). The first entry is the name of the tool and the second entry is either 1) a number if the tool is yet to be chosen, or 2) the 3-letter ability score abbreviation if the tool is to be listed in the skill section and have a bonus calculated
  28.  
  29.     languageProfs : ["Common", "Undercommon"], // optional; this is an array of the language proficiencies gained. An entry can either be 1) a string that represents the language learned or 2) a number which is the number of language gained that can be chosen by the player
  30.  
  31.     weapons : [""], //optional; an array of weapons that are added to the attacks section; This will be the name of the weapon how it appears in the attack section, not necessarily the object name in the WeaponsList
  32.  
  33.     vision : [["Darkvision", 120], ["Sunlight Sensitivity", 0]], //optional; An array of arrays that each have a length of 2; This adds the first value of each array to the Senses field. The second value is the range in feet. If no range is needed, put a 0 there. You can also add a modifier like "+30" or "*2" to have the appropriate calculation done with the range of sense
  34.  
  35.     savetxt : { // Optional; this attribute defines entries to add to the field for "Saving Throw Advantages / Disadvantages"
  36.  
  37.         immune : ["disease"], // Optional; this is an array of strings that the character is immune to. This is put in the field after the text "Immune to ", so in this example it would result in "Immune to poison and disease"
  38.  
  39.     },
  40.  
  41.     age : " reach adulthood in their late teens and live around 20 years", //optional; the age tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  42.  
  43.     height : " range from 5 to over 6 feet tall (4'9\" + 2d8\")", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  44.  
  45.     weight : " weigh around 155 lb (110 + 2d8 \xD7 2d4 lb)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  46.  
  47.     heightMetric : " range from 1,5 to over 1,8 metres tall (145 + 5d8 cm)", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  48.  
  49.     weightMetric : " weigh around 70 kg (50 + 5d8 \xD7 4d4 / 10 kg)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  50.  
  51.     improvements : "Skaven, Clan Pestilens: +2 Dexterity, +1 Constitution;", //required; the text that is displayed when listing all the ability score improvements
  52.  
  53.     scores : [0, 2, 1, 0, 0, 0], //required; the ability score improvements as used by the Ability Score dialog. The syntax is: [Str, Dex, Con, Int, Wis, Cha]
  54.  
  55.     trait : "Skaven, Clan Pestilens (+2 Dexterity, +1 Constitution)\nKeen Smell: I have advantage on Wisdom (Perception) checks that rely on smell.\nPlague: Once per short rest I can apply my plague to my weapons. Applying the plague takes an action. A creature hit by the plagued weapon(s) must make a DC 10 Constitution saving throw or take 1d4 poison damage. Once appiled, the plague retains potency for 1 minute before drying.", //required; the racial trait as it will be put in the Racial Trait field on the second page (note that "\n" is a line break).
  56.  
  57. };
  58. RaceList["skaven - clan eshin"] = { //Object name; Note the use of only lower case! Also note the absence of the word "var" and the use of brackets []
  59.  
  60.     regExpSearch : /^(?=.*skaven)(?=.*clan)(?=.*eshin).*$/i, //required; regular expression of what to look for (i.e. now it looks for any entry that has both the words "something" and "catlike" in it, disregarding capitalization). If this looks too complicated, just write: /something catlike/i
  61.  
  62.     name : "Skaven, Clan Eshin", //required; the name to use for the race
  63.  
  64.     sortname : "", //optional; this is the name used to fill the drop-down boxes. If you don't include this, the 'name' will used instead
  65.  
  66.     source : ["HB", 0], //required; the source and the page number. "HB" stands for homebrew. See the "Complete SourceList" for an overview of sources that are already defined. Or define a new source using the "Homebrew Syntax - SourceList.js". // This can be an array of arrays to indicate the things appears in multiple sources. For example, if something appears on page 7 of the Elemental Evil Player's Companion and on page 115 of the Sword Coast Adventure Guide, use the following: [["E", 7], ["S", 115]]
  67.  
  68.     plural : "Skaven, Clan Eshin", //required; the name to use for the race when the plural form is used
  69.  
  70.     size : 3, //required;  the size of the race (Gargantuan = 0, Huge = 1, Large = 2, Medium = 3, Small = 4, Tiny = 5)
  71.  
  72.     speed : { //required; This sets a value for one or more speed modes, and/or a value to be added to a specific speed mode or to all speed modes // the attributes of this object can be "walk", "burrow", "climb", "fly", "swim", and "allModes"
  73.  
  74.         // all of the following attributes are optional and you can add more ("burrow" isn't part of this example!)
  75.  
  76.         walk : { spd : 35, enc : 25 }, // the objects "walk", "burrow", "climb", "fly", "swim" are all the same, they are an object with two attributes, 'spd' for the speed in feet, and 'enc' for the encumbered speed in feet.
  77.  
  78.     },
  79.  
  80. /* SYNTAX CHANGE v12.998 >> old syntax for 'tools' and 'languages' are no longer supported!! */
  81.     toolProfs : [[""], ["", ""], ""], // optional; this is an array with the tool proficiencies gained. Each entry can be its own array of 2 entries (but doesn't have to be). The first entry is the name of the tool and the second entry is either 1) a number if the tool is yet to be chosen, or 2) the 3-letter ability score abbreviation if the tool is to be listed in the skill section and have a bonus calculated
  82.  
  83.     languageProfs : ["Common", "Undercommon"], // optional; this is an array of the language proficiencies gained. An entry can either be 1) a string that represents the language learned or 2) a number which is the number of language gained that can be chosen by the player
  84.  
  85.     weapons : [""], //optional; an array of weapons that are added to the attacks section; This will be the name of the weapon how it appears in the attack section, not necessarily the object name in the WeaponsList
  86.  
  87.     vision : [["Darkvision", 120], ["Sunlight Sensitivity", 0]], //optional; An array of arrays that each have a length of 2; This adds the first value of each array to the Senses field. The second value is the range in feet. If no range is needed, put a 0 there. You can also add a modifier like "+30" or "*2" to have the appropriate calculation done with the range of sense
  88.  
  89.     skills : ["Stealth"], //optional; Skill proficiencies the race has. This line can be deleted if you don't have anything to put here. If the race doesn't give fixed proficiencies, but instead gives a choice, delete this line and use the line below, "skillstxt"
  90.  
  91.     age : " reach adulthood in their late teens and live around 20 years", //optional; the age tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  92.  
  93.     height : " range from 5 to over 6 feet tall (4'9\" + 2d8\")", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  94.  
  95.     weight : " weigh around 155 lb (110 + 2d8 \xD7 2d4 lb)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  96.  
  97.     heightMetric : " range from 1,5 to over 1,8 metres tall (145 + 5d8 cm)", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  98.  
  99.     weightMetric : " weigh around 70 kg (50 + 5d8 \xD7 4d4 / 10 kg)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  100.  
  101.     improvements : "Skaven, Clan Eshin: +2 Dexterity, +1 Intelligence;", //required; the text that is displayed when listing all the ability score improvements
  102.  
  103.     scores : [0, 2, 0, 1, 0, 0], //required; the ability score improvements as used by the Ability Score dialog. The syntax is: [Str, Dex, Con, Int, Wis, Cha]
  104.  
  105.     trait : "Skaven, Clan Eshin (+2 Dexterity, +1 Intellegence)\nKeen Smell: I have advantage on Wisdom (Perception) checks that rely on smell.", //required; the racial trait as it will be put in the Racial Trait field on the second page (note that "\n" is a line break).
  106.  
  107. };
  108.  
  109. RaceList["skaven - clan skryre"] = { //Object name; Note the use of only lower case! Also note the absence of the word "var" and the use of brackets []
  110.  
  111.     regExpSearch : /^(?=.*skaven)(?=.*clan)(?=.*skryre).*$/i, //required; regular expression of what to look for (i.e. now it looks for any entry that has both the words "something" and "catlike" in it, disregarding capitalization). If this looks too complicated, just write: /something catlike/i
  112.  
  113.     name : "Skaven, Clan Skryre", //required; the name to use for the race
  114.  
  115.     sortname : "", //optional; this is the name used to fill the drop-down boxes. If you don't include this, the 'name' will used instead
  116.  
  117.     source : ["HB", 0], //required; the source and the page number. "HB" stands for homebrew. See the "Complete SourceList" for an overview of sources that are already defined. Or define a new source using the "Homebrew Syntax - SourceList.js". // This can be an array of arrays to indicate the things appears in multiple sources. For example, if something appears on page 7 of the Elemental Evil Player's Companion and on page 115 of the Sword Coast Adventure Guide, use the following: [["E", 7], ["S", 115]]
  118.  
  119.     plural : "Skaven, Clan Skryre", //required; the name to use for the race when the plural form is used
  120.  
  121.     size : 3, //required;  the size of the race (Gargantuan = 0, Huge = 1, Large = 2, Medium = 3, Small = 4, Tiny = 5)
  122.  
  123.     speed : { //required; This sets a value for one or more speed modes, and/or a value to be added to a specific speed mode or to all speed modes // the attributes of this object can be "walk", "burrow", "climb", "fly", "swim", and "allModes"
  124.  
  125.         // all of the following attributes are optional and you can add more ("burrow" isn't part of this example!)
  126.  
  127.         walk : { spd : 30, enc : 20 }, // the objects "walk", "burrow", "climb", "fly", "swim" are all the same, they are an object with two attributes, 'spd' for the speed in feet, and 'enc' for the encumbered speed in feet.
  128.  
  129.     },
  130.  
  131. /* SYNTAX CHANGE v12.998 >> old syntax for 'tools' and 'languages' are no longer supported!! */
  132.     toolProfs : [[""], ["", ""], "Tinker's tools"], // optional; this is an array with the tool proficiencies gained. Each entry can be its own array of 2 entries (but doesn't have to be). The first entry is the name of the tool and the second entry is either 1) a number if the tool is yet to be chosen, or 2) the 3-letter ability score abbreviation if the tool is to be listed in the skill section and have a bonus calculated
  133.  
  134.     languageProfs : ["Common", "Undercommon"], // optional; this is an array of the language proficiencies gained. An entry can either be 1) a string that represents the language learned or 2) a number which is the number of language gained that can be chosen by the player
  135.  
  136.     weapons : [""], //optional; an array of weapons that are added to the attacks section; This will be the name of the weapon how it appears in the attack section, not necessarily the object name in the WeaponsList
  137.  
  138.     vision : [["Darkvision", 120], ["Sunlight Sensitivity", 0]], //optional; An array of arrays that each have a length of 2; This adds the first value of each array to the Senses field. The second value is the range in feet. If no range is needed, put a 0 there. You can also add a modifier like "+30" or "*2" to have the appropriate calculation done with the range of sense
  139.  
  140.     age : " reach adulthood in their late teens and live around 20 years", //optional; the age tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  141.  
  142.     height : " range from 5 to over 6 feet tall (4'9\" + 2d8\")", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  143.  
  144.     weight : " weigh around 155 lb (110 + 2d8 \xD7 2d4 lb)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  145.  
  146.     heightMetric : " range from 1,5 to over 1,8 metres tall (145 + 5d8 cm)", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  147.  
  148.     weightMetric : " weigh around 70 kg (50 + 5d8 \xD7 4d4 / 10 kg)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  149.  
  150.     improvements : "Skaven, Clan Skryre: +2 Dexterity, +1 Wisdom;", //required; the text that is displayed when listing all the ability score improvements
  151.  
  152.     scores : [0, 2, 0, 0, 1, 0], //required; the ability score improvements as used by the Ability Score dialog. The syntax is: [Str, Dex, Con, Int, Wis, Cha]
  153.  
  154.     trait : "Skaven, Clan Skryre (+2 Dexterity, +1 Wisdom)\nKeen Smell: I have advantage on Wisdom (Perception) checks that rely on smell.\nPoisoned Wind Mortar: I have proficiency with artisan's tools (tinker's tools). Using these tools, I can spend 1 hour and 100 gp worth of materials to construct a Poisoned Wind Motar. As an action, I can splash the contents of this flask onto a creature within 5 feet of me or throw it up to 20 feet, shattering it on impact. In either case, make a ranged attack against any creature within 5 feet of the target, treating the Poisoned Wind Mortar as an improvised weapon. Those hit take 2d6 poison damage.", //required; the racial trait as it will be put in the Racial Trait field on the second page (note that "\n" is a line break).
  155.  
  156.     spellcastingAbility : 5, //required for a spellcaster; the ability score to use for spellcasting. Remove this line if your race has no spellcasting. (Str=1, Dex=2, Con=3, Int=4, Wis=5, Cha=6)
  157.  
  158.     spellcastingBonus : { //optional; an object that adds something to the "Bonus Spells" section of the spell selection dialog //this object can have all the same attributes as the "spellcastingList" object as defined in the ClassList, but must also have a "name" defined //the other things that can be defined in this that are not in the "spellcastingList" object, are the "selection", "times" and "prepared" values
  159.  
  160.         name : "Magic Defiler", //required; this is used to identify the object, so must be an unique name
  161.  
  162.         level : [0, 3, 5], //Optional; The lower and upper limit of spell levels that the class has access to.
  163.  
  164.         ritual : false, //Optional; Donates if only ritual (true) or only non-ritual (false) spells should be included in the list
  165.  
  166.         spells : ["poison spray", "ray of sickness", "stinking cloud"], //Optional, but required if not including the "class" entry; If a "spells" array is present, all other objects will be ignored and only this list of spells will populate the list of available spells. each entry has to match the name of the spell in the SpellsList
  167.  
  168.         selection : ["poison spray"], //optional if "spells" is defined; this is the default selection for the array specified in "spells"
  169.  
  170.         times : 2, //optional; this is the number of times the bonus spells should be added. //This can also be an array of 20 values. That way the number of times are level-dependent
  171.  
  172.         prepared : true, //optional; if set to 'true', this makes the spell selected for this/these bonus spells to automatically get a checked off checkbox in the first column, similar to domain spells for a cleric
  173.  
  174.         atwill : true, //optional; if set to 'true', this makes the spell selected for this/these bonus spells to get "At Will" in the first column
  175.     },
  176. };
  177.  
  178. RaceList["skaven - clan moulder"] = { //Object name; Note the use of only lower case! Also note the absence of the word "var" and the use of brackets []
  179.  
  180.     regExpSearch : /^(?=.*skaven)(?=.*clan)(?=.*moulder).*$/i, //required; regular expression of what to look for (i.e. now it looks for any entry that has both the words "something" and "catlike" in it, disregarding capitalization). If this looks too complicated, just write: /something catlike/i
  181.  
  182.     name : "Skaven, Clan Moulder", //required; the name to use for the race
  183.  
  184.     sortname : "", //optional; this is the name used to fill the drop-down boxes. If you don't include this, the 'name' will used instead
  185.  
  186.     source : ["HB", 0], //required; the source and the page number. "HB" stands for homebrew. See the "Complete SourceList" for an overview of sources that are already defined. Or define a new source using the "Homebrew Syntax - SourceList.js". // This can be an array of arrays to indicate the things appears in multiple sources. For example, if something appears on page 7 of the Elemental Evil Player's Companion and on page 115 of the Sword Coast Adventure Guide, use the following: [["E", 7], ["S", 115]]
  187.  
  188.     plural : "Skaven, Clan Moulder", //required; the name to use for the race when the plural form is used
  189.  
  190.     size : 3, //required;  the size of the race (Gargantuan = 0, Huge = 1, Large = 2, Medium = 3, Small = 4, Tiny = 5)
  191.  
  192.     speed : { //required; This sets a value for one or more speed modes, and/or a value to be added to a specific speed mode or to all speed modes // the attributes of this object can be "walk", "burrow", "climb", "fly", "swim", and "allModes"
  193.  
  194.         // all of the following attributes are optional and you can add more ("burrow" isn't part of this example!)
  195.  
  196.         walk : { spd : 30, enc : 20 }, // the objects "walk", "burrow", "climb", "fly", "swim" are all the same, they are an object with two attributes, 'spd' for the speed in feet, and 'enc' for the encumbered speed in feet.
  197.  
  198.     },
  199.  
  200. /* SYNTAX CHANGE v12.998 >> old syntax for 'tools' and 'languages' are no longer supported!! */
  201.     toolProfs : [[""], ["", ""], ""], // optional; this is an array with the tool proficiencies gained. Each entry can be its own array of 2 entries (but doesn't have to be). The first entry is the name of the tool and the second entry is either 1) a number if the tool is yet to be chosen, or 2) the 3-letter ability score abbreviation if the tool is to be listed in the skill section and have a bonus calculated
  202.  
  203.     languageProfs : ["Common", "Undercommon"], // optional; this is an array of the language proficiencies gained. An entry can either be 1) a string that represents the language learned or 2) a number which is the number of language gained that can be chosen by the player
  204.  
  205.     weapons : [""], //optional; an array of weapons that are added to the attacks section; This will be the name of the weapon how it appears in the attack section, not necessarily the object name in the WeaponsList
  206.  
  207.     vision : [["Darkvision", 120], ["Sunlight Sensitivity", 0]], //optional; An array of arrays that each have a length of 2; This adds the first value of each array to the Senses field. The second value is the range in feet. If no range is needed, put a 0 there. You can also add a modifier like "+30" or "*2" to have the appropriate calculation done with the range of sense
  208.  
  209.     age : " reach adulthood in their late teens and live around 20 years", //optional; the age tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  210.  
  211.     height : " range from 5 to over 6 feet tall (4'9\" + 2d8\")", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  212.  
  213.     weight : " weigh around 155 lb (110 + 2d8 \xD7 2d4 lb)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  214.  
  215.     heightMetric : " range from 1,5 to over 1,8 metres tall (145 + 5d8 cm)", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  216.  
  217.     weightMetric : " weigh around 70 kg (50 + 5d8 \xD7 4d4 / 10 kg)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  218.  
  219.     improvements : "Skaven, Clan Moulder: +2 Dexterity, +1 Charisma;", //required; the text that is displayed when listing all the ability score improvements
  220.  
  221.     scores : [0, 2, 0, 0, 0, 1], //required; the ability score improvements as used by the Ability Score dialog. The syntax is: [Str, Dex, Con, Int, Wis, Cha]
  222.  
  223.     trait : "Skaven, Clan Moulder (+2 Dexterity, +1 Charisma)\nKeen Smell: I have advantage on Wisdom (Perception) checks that rely on smell.\nSpeak with Rats: Through simple squeaks and gestures, I can communicate simple ideas with rats, wererats, and other ratkin.\nSwarm Tactics: I have advantage on an attack roll against a creature if at least one other rat, wererat or ratkin is within 5 feet of the creature and isn't incapacitated.\nLead from the Rear: I gain a Giant Rat companion that accompanies me on my adventures and is trained to fight alongside me. On my action I can have him attack. On my bonus action I can have him move.", //required; the racial trait as it will be put in the Racial Trait field on the second page (note that "\n" is a line break).
  224.  
  225. };
  226.  
  227. RaceList["skaven - clan mors"] = { //Object name; Note the use of only lower case! Also note the absence of the word "var" and the use of brackets []
  228.  
  229.     regExpSearch : /^(?=.*skaven)(?=.*clan)(?=.*mors).*$/i, //required; regular expression of what to look for (i.e. now it looks for any entry that has both the words "something" and "catlike" in it, disregarding capitalization). If this looks too complicated, just write: /something catlike/i
  230.  
  231.     name : "Skaven, Clan Mors", //required; the name to use for the race
  232.  
  233.     sortname : "", //optional; this is the name used to fill the drop-down boxes. If you don't include this, the 'name' will used instead
  234.  
  235.     source : ["HB", 0], //required; the source and the page number. "HB" stands for homebrew. See the "Complete SourceList" for an overview of sources that are already defined. Or define a new source using the "Homebrew Syntax - SourceList.js". // This can be an array of arrays to indicate the things appears in multiple sources. For example, if something appears on page 7 of the Elemental Evil Player's Companion and on page 115 of the Sword Coast Adventure Guide, use the following: [["E", 7], ["S", 115]]
  236.  
  237.     plural : "Skaven, Clan Mors", //required; the name to use for the race when the plural form is used
  238.  
  239.     size : 3, //required;  the size of the race (Gargantuan = 0, Huge = 1, Large = 2, Medium = 3, Small = 4, Tiny = 5)
  240.  
  241.     speed : { //required; This sets a value for one or more speed modes, and/or a value to be added to a specific speed mode or to all speed modes // the attributes of this object can be "walk", "burrow", "climb", "fly", "swim", and "allModes"
  242.  
  243.         // all of the following attributes are optional and you can add more ("burrow" isn't part of this example!)
  244.  
  245.         walk : { spd : 30, enc : 20 }, // the objects "walk", "burrow", "climb", "fly", "swim" are all the same, they are an object with two attributes, 'spd' for the speed in feet, and 'enc' for the encumbered speed in feet.
  246.  
  247.     },
  248.  
  249. /* SYNTAX CHANGE v12.998 >> old syntax for 'tools' and 'languages' are no longer supported!! */
  250.     toolProfs : [[""], ["", ""], ""], // optional; this is an array with the tool proficiencies gained. Each entry can be its own array of 2 entries (but doesn't have to be). The first entry is the name of the tool and the second entry is either 1) a number if the tool is yet to be chosen, or 2) the 3-letter ability score abbreviation if the tool is to be listed in the skill section and have a bonus calculated
  251.  
  252.     languageProfs : ["Common", "Undercommon"], // optional; this is an array of the language proficiencies gained. An entry can either be 1) a string that represents the language learned or 2) a number which is the number of language gained that can be chosen by the player
  253.  
  254.     weapons : [""], //optional; an array of weapons that are added to the attacks section; This will be the name of the weapon how it appears in the attack section, not necessarily the object name in the WeaponsList
  255.  
  256.     vision : [["Darkvision", 120], ["Sunlight Sensitivity", 0]], //optional; An array of arrays that each have a length of 2; This adds the first value of each array to the Senses field. The second value is the range in feet. If no range is needed, put a 0 there. You can also add a modifier like "+30" or "*2" to have the appropriate calculation done with the range of sense
  257.  
  258.     skills : ["Stealth"], //optional; Skill proficiencies the race has. This line can be deleted if you don't have anything to put here. If the race doesn't give fixed proficiencies, but instead gives a choice, delete this line and use the line below, "skillstxt"
  259.  
  260.     age : " reach adulthood in their late teens and live around 20 years", //optional; the age tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  261.  
  262.     height : " range from 5 to over 6 feet tall (4'9\" + 2d8\")", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  263.  
  264.     weight : " weigh around 155 lb (110 + 2d8 \xD7 2d4 lb)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry)
  265.  
  266.     heightMetric : " range from 1,5 to over 1,8 metres tall (145 + 5d8 cm)", //optional; the height tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  267.  
  268.     weightMetric : " weigh around 70 kg (50 + 5d8 \xD7 4d4 / 10 kg)", //optional; the weight tooltip/mouseover text (will be displayed in combination with the "plural" entry), when the metric system is chosen
  269.  
  270.     improvements : "Skaven, Clan Mors: +2 Dexterity, +1 Strength;", //required; the text that is displayed when listing all the ability score improvements
  271.  
  272.     scores : [1, 2, 0, 0, 0, 0], //required; the ability score improvements as used by the Ability Score dialog. The syntax is: [Str, Dex, Con, Int, Wis, Cha]
  273.  
  274.     trait : "Skaven, Clan Mors (+2 Dexterity, +1 Strength)\nKeen Smell: I have advantage on Wisdom (Perception) checks that rely on smell.\nCheap Shot: When I score a hit with a melee weapon attack on creature that is blinded, frightened, grappled, incapacitated, paralyzed, prone, restrained, stunned or unconscious I can add an additional 1d6 of extra damage to the hit.\nWarlord: My hit point maximum increases by 1, and it increases by 1 every time I gain a level.", //required; the racial trait as it will be put in the Racial Trait field on the second page (note that "\n" is a line break).
  275.  
  276. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement