forked from GitHub-Mirrors/foundry-sw5e
Big Species Update
All manner of Species updates, as well as some new CSS for journal entries and rollable tables.
This commit is contained in:
parent
60c587024f
commit
ebc70539ff
376 changed files with 5339 additions and 51 deletions
|
@ -162,8 +162,9 @@ export class Item5e extends Item {
|
|||
|
||||
// Species Items
|
||||
else if ( itemData.type === "species" ) {
|
||||
labels.species = C.species[data.species];
|
||||
}
|
||||
|
||||
}
|
||||
// Equipment Items
|
||||
else if ( itemData.type === "equipment" ) {
|
||||
labels.armor = data.armor.value ? `${data.armor.value} AC` : "";
|
||||
|
@ -346,6 +347,7 @@ export class Item5e extends Item {
|
|||
// Rich text description
|
||||
data.description.value = TextEditor.enrichHTML(data.description.value, htmlOptions);
|
||||
|
||||
|
||||
// Item type specific properties
|
||||
const props = [];
|
||||
const fn = this[`_${this.data.type}ChatData`];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue