Homebrew: Variant Rules

From 5etools Community Wiki
Jump to: navigation, search


๐ŸบBuilding Variantrules

Variant Rules are rules that modify or change the game's mechanics. They can be simply discussing new items features or properties, or as complicated as having to be willing to perform whatever action your character is supposed to be attempting. In short they are the house rules the DM is choosing to use in their playstyle.

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.

	"variantrule": [
			"name": "Split Hit Dice",
			"entries": [
				"When you roll Hit Dice for any reason, you may opt to roll two dice of half the face value of the original die, and use that total. For example, if you choose to roll for hit points when gaining a level in Cleric, you could opt to roll 2d4 instead of 1d8. The primary effect of this change is to have the roll be equivalent to taking the rounded \"average\" value, instead of half a hit-point less."
			"source": "json_in_meta"
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 Name/Title of the Variant Rule True
type String False
entries Array of Strings descriptive text of the variant rules True
source String json (_meta's json value) True
page Integer The Page number it apepars upon False
ruleType string One of the follow:
Optional ("O"), Variant ("V"), Unknown ("U")

๐Ÿ—„๏ธ Reference Files:
๐Ÿ›ข๏ธ Requirements Specs (Schemata)
[[ |๐Ÿงพ Blank Template]]
๐Ÿ“– Sample JSON
๐Ÿ’พ Functional Example
๐Ÿ“š Repository of Other Examples

Reference Tag: (how to link to entries within the string.)
{@variantrule <name_of_variantRule> | <json_source> | <optional_text_information>}

 {@variantrule Multiclassing|phb} 
{@variantrule Multiclassing|phb|and optional link text added with another pipe}

Homebrew Support

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

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.
Work Around  : 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.

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.