Weapon Layout
This layout is aimed at documenting weapon items.
This layout has two columns:
- The left one contains the fist-level header, author name and date. Under which sits the description of the item.
- The right column contains game statistics, which must be defined in the front matter.
Metadata | Required? | Type | Description |
---|---|---|---|
name | string | Name of the weapon | |
type | string | The type of weapon (i.e. Melee or Ranged) | |
weight | string | The weight of the item, see below | |
value |
float or integer
| The base value of the item, in gold pieces | |
damage |
array of string s | A list of damage descriptors | |
props |
array of string s | A list of strings with weapon properties, if appliable (e.g. Two-hands, Light) | |
attributes |
array of string s | A list of strings with metadata the item grants |
5e Specific Front Matter
Metadata | Required? | Type | Description |
---|---|---|---|
e35.critical | string | The critical modifier to damage, defaults to ×2
| |
e35.range | string | By how far the weapon increments its wielder’s reach, see below |
5e Specific Front Matter
Metadata | Required? | Type | Description |
---|---|---|---|
e5.rarity | string | The rarity of the item (e.g. Common, Artifact, Unique) | |
e5.attunement | string | What kind of creature may attune to the item, see below | |
e5.charges | object | An object containing the charge definitions | |
e5.charges.number | integer | The maximum number of charges | |
e5.charges.reset | string | The time at which the item regains charges, with preposition (i.e. after a long rest , not long rest ) | |
e5.charges.regain | string | The number of charges regained after the reset condition (either an absolute number or a roll condition), required if e5.charges.reset is set |
Attunement
The attunement
variable is optional. If you set it, keep in mind that:
- The item will be considered to require attunement; and
- The string you set will be prepended by
Requires attunement by ...
.
Data with Units
If the metadata variable you are setting would have a spacial unit (e.g. ft
, mi
, m
, km
), you must give it into the variable, which will certainly be a string
. Sadly, D&D works under the archaic imperial system of units, should you want to convert everything under this layout, you may - and would make its owner very proud and happy in the process.
Variables pertaining to value need not be given gp
after them, the layout deal with this.