Difference between revisions of "Homebrew: Feat"

From 5etools Community Wiki
Jump to: navigation, search
m (β†’β€ŽπŸΊfeat)
(β†’β€ŽField List (Sources))
Line 42: 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]] || || False
 +
|-
 +
| page|| Integer || page number within source || False
 +
|-
 +
| [[Page: demo|'''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
 
| name || Object || descript || boolean
Line 76: Line 86:
 
:: Looks like its perfect... (Did we miss anything?)
 
:: Looks like its perfect... (Did we miss anything?)
 
<br/>
 
<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/>
 
βˆ’
</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">
Line 98: Line 101:
 
----
 
----
 
:*[[Homebrew]]
 
:*[[Homebrew]]
βˆ’
:*[[]]
+
:*[[Page: managebrew|Homebrew Manager]]
βˆ’
:*[[]]
+
:*[[Page: feats|Feats]]
  
 
<br/>
 
<br/>
 
{{FeatureSupport}}
 
{{FeatureSupport}}

Revision as of 19:58, 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.