Difference between revisions of "Homebrew: Feat"

From 5etools Community Wiki
Jump to: navigation, search
(β†’β€ŽField List (Sources))
m
Line 67: Line 67:
 
:: [[ |🧾 Blank Template]]
 
:: [[ |🧾 Blank Template]]
 
:: [https://github.com/TheGiddyLimit/homebrew/blob/master/feat/Sample%20-%20Giddy%3B%20Magically%20Gifted%2C%20Whip%20Aficionado.json πŸ“– Sample JSON]
 
:: [https://github.com/TheGiddyLimit/homebrew/blob/master/feat/Sample%20-%20Giddy%3B%20Magically%20Gifted%2C%20Whip%20Aficionado.json πŸ“– Sample JSON]
βˆ’
:: [[ |πŸ’Ύ Functional Example]]
+
:: [https://github.com/TheGiddyLimit/homebrew/blob/master/feat/DnD%20Beyond%3B%20Expanded%20Racial%20Feats.json πŸ’Ύ Functional Example]
 
:: [https://github.com/TheGiddyLimit/homebrew/blob/master/feat/ πŸ“š Repository of Other Examples]
 
:: [https://github.com/TheGiddyLimit/homebrew/blob/master/feat/ πŸ“š Repository of Other Examples]
 
----
 
----
Line 86: Line 86:
 
:: Looks like its perfect... (Did we miss anything?)
 
:: Looks like its perfect... (Did we miss anything?)
 
<br/>
 
<br/>
 +
</div>
 
<div style="font-weight:bold;line-height:1.6;">FAQ</div>
 
<div style="font-weight:bold;line-height:1.6;">FAQ</div>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">

Revision as of 19:59, 8 April 2020

framless
v1.1.0

🍺Building a feat

A feat in 5eTools is a commonly used variant rule that happens every 4 levels granting a special feature and p

An Example:

The _Meta is normally included in a full JSON, for this example it has been removed. See the link for how to develop the _meta.

	"feat": [
		{
			"name": "Magically Gifted",
			"source": "json_in_meta",
			"prerequisite": [
				{
					"spellcasting": true
				}
			],
			"entries": [
				"A quirk of ancestry or a touch of extraplanar power has gifted you with the ability to manipulate the weave in ways your peers cannot. You gain the following benefits:",
				{
					"type": "list",
					"items": [
						"You gain one metamagic option of your choice from among those available to the {@class Sorcerer}.",
						"If you have sorcery points, you add one more to your existing pool (regardless of when you gain them); otherwise, you have one sorcery point. This sorcery point is used to fuel your metamagic. A sorcery point is expended when you use it. You regain your expended sorcery point when you finish a long rest."
					]
				}
			]
		}
	]
Learn More
In the example; <description_of_results/fields>

Field List (Sources)

If you do not include the required fields (denoted with bold text) the JSON may pass JSONLint but will fail upon stitch.

Field Name Data Type Description Required
name String Feat's Title True
source String json (_meta's json value) True
additionalSources False
page Integer page number within source False
entries Array of Strings action description True
[[HomebrewObject: ability Array of Objects descript False
srd Boolean Is it part of the SRD False
otherSources Array of Objects Listing of other sources this appears within False
name Object descript boolean



πŸ—„οΈ Reference Files:
πŸ›’οΈ Requirements Specs (Schemata)
[[ |🧾 Blank Template]]
πŸ“– Sample JSON
πŸ’Ύ Functional Example
πŸ“š Repository of Other Examples


Reference Tag: (how to link to entries within the "entries":)


Example:



Homebrew Support


Known Issues
Looks like its perfect... (Did we miss anything?)


FAQ
Nothing's here (Do you have any suggestions?)
Best Practices
None as yet (Do you have any suggestions?)



Related Features



Did that answer your question(s)?

If not please check the under Support; Troubleshooting or the Known Issues page for further guidance, or go to the Discord community and leave a comment in the issues channel.

If you enjoy the project, please follow this link to see how you can contribute and help make it even better.