Difference between revisions of "Homebrew: Meta"
(Created page with "= Meta Tag = The meta tag contains all relevant information of the homebrew file you are creating, creating a homebrew file without a meta tag will not work, hence it is impor...")
Revision as of 16:43, 30 November 2019
The meta tag contains all relevant information of the homebrew file you are creating, creating a homebrew file without a meta tag will not work, hence it is important to know which keys are necessary. The meta tag contains an object array labelled "sources", the date the file was added and a new optional conversion table for currencies.
Sources Key List
The following is the list of keys that can be included in the object array, "sources". All keys are enclosed by quotation marks (").
|Key Name||Data Type||Domain||Description||Required|
|json||String||N/A||The name of the json that is used as a reference by homebrew items, class features etc.||True|
|abbreviation||String||N/A||The abbreviation of the homebrew that is to be displayed in 5eTools||True|
|full||String||N/A||The full name of the homebrew||True|
|authors||Array of Strings||N/A||The names of the authors of the homebrew||True|
|convertedBy||Array of Strings||N/A||The names of those who converted the homebrew for 5eTools usage||True|
|url||String||N/A||An url to find this file, whether it be in the homebrew repository or a personal one||True|
|version||String||N/A||The version number of the homebrew file||True|
|targetSchema||String||N/A||The version of the schema that is being used for the homebrew||True|
|color||String||N/A||The hex color value (excluding the hash) for the color of the abbreviation text when used in 5eTools||True|
The value for the date added key is simply a numerical value based on UNIX Time (See https://en.wikipedia.org/wiki/Unix_time for more information).
Item Value Conversion
This is an optional addition to the meta tag, if the economy that your homebrew uses is different from the standard 5e Dungeons and Dragons system this will help to avoid incorrect currency values.
5eTools uses an numerical values based on the amount of copper an item costs and converts between the currencies, hence that is what such a table would be based on.