Difference between revisions of "Homebrew: Feat"

From 5etools Community Wiki
Jump to: navigation, search
m
(β†’β€ŽField List (Sources))
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{HomebrewHeader}}
 
{{HomebrewHeader}}
  
βˆ’
==🍺feat ==
+
==🍺Building a '''feat'''==
βˆ’
<description_of_the_homebrew_category_and_use>
+
A feat in 5eTools is a commonly used variant rule that happens every 4 levels granting a special feature and p
  
 
====An Example:====
 
====An Example:====
 
The [[Homebrew: Meta|'''_Meta''']] is normally included in a full JSON, for this example it has been removed. See [[Homebrew: Meta|the link]] for how to develop the _meta.
 
The [[Homebrew: Meta|'''_Meta''']] is normally included in a full JSON, for this example it has been removed. See [[Homebrew: Meta|the link]] for how to develop the _meta.
  
βˆ’
  "tag": {
+
  "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."
 +
]
 +
}
 +
]
 +
}
 +
]
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px; overflow:auto;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px; overflow:auto;">
Line 24: Line 42:
 
! Field Name !! Data Type !!  Description !! Required
 
! Field Name !! Data Type !!  Description !! Required
 
|-
 
|-
βˆ’
| '''name''' || String || descript || boolean
+
| '''name''' || String || Feat's Title || True
 
|-
 
|-
βˆ’
| name || Array of Strings || descript || boolean
+
| '''source''' || String || json (_meta's json value) || True
 
|-
 
|-
βˆ’
| name || Integer || descript || boolean
+
| [[HomebrewUTIL: additionalsources|additionalSources]] || Array of Strings || Ad|| False
 
|-
 
|-
βˆ’
| name || Object || descript || boolean
+
| page|| Integer || page number within source || False
 +
|-
 +
| [[Page: demo|'''entries''']] || Array of Strings || action description || True
 +
|-
 +
| [[HomebrewObject: ability|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
 
|}
 
|}
  
Line 39: Line 65:
 
:: [[ |🧾 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 57: Line 83:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
:: Looks like its perfect... (Did we miss anything?)
 
:: Looks like its perfect... (Did we miss anything?)
βˆ’
<br/>
 
βˆ’
:: '''NAME OF THE ISSUE'''
 
βˆ’
 
βˆ’
:::: <font color="#2e7bab">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</font>
 
βˆ’
 
βˆ’
:::: <font style="font-weight: bold; font-variant: small-caps"> Work Around </font> : <font style="font-variant: small-caps">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</font>
 
 
<br/>
 
<br/>
 
</div>
 
</div>
Line 80: Line 100:
 
----
 
----
 
:*[[Homebrew]]
 
:*[[Homebrew]]
βˆ’
:*[[]]
+
:*[[Page: managebrew|Homebrew Manager]]
βˆ’
:*[[]]
+
:*[[Page: feats|Feats]]
  
 
<br/>
 
<br/>
 
{{FeatureSupport}}
 
{{FeatureSupport}}

Latest revision as of 20:10, 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 Array of Strings Ad False
page Integer page number within source False
entries Array of Strings action description True
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



πŸ—„οΈ 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.