forked from GitHub-Mirrors/foundry-sw5e
Updating species content
Aaaaaaand more JavaScript...
This commit is contained in:
parent
b1b182d143
commit
0ff30d2a05
3 changed files with 11 additions and 0 deletions
|
@ -199,6 +199,8 @@
|
||||||
"SW5E.ItemTypeEquipmentPl": "Equipment",
|
"SW5E.ItemTypeEquipmentPl": "Equipment",
|
||||||
"SW5E.ItemTypeLoot": "Loot",
|
"SW5E.ItemTypeLoot": "Loot",
|
||||||
"SW5E.ItemTypeLootPl": "Loot",
|
"SW5E.ItemTypeLootPl": "Loot",
|
||||||
|
"SW5E.ItemTypeSpecies": "Species",
|
||||||
|
"SW5E.ItemTypeSpeciesPl": "Species",
|
||||||
"SW5E.ItemTypeTool": "Tool",
|
"SW5E.ItemTypeTool": "Tool",
|
||||||
"SW5E.ItemTypeToolPl": "Tools",
|
"SW5E.ItemTypeToolPl": "Tools",
|
||||||
"SW5E.ItemTypePower": "Power",
|
"SW5E.ItemTypePower": "Power",
|
||||||
|
@ -457,6 +459,7 @@
|
||||||
"SW5E.PowerUnprepared": "Unprepared",
|
"SW5E.PowerUnprepared": "Unprepared",
|
||||||
"SW5E.PowerUsage": "Power Usage",
|
"SW5E.PowerUsage": "Power Usage",
|
||||||
"SW5E.Powerbook": "Powerbook",
|
"SW5E.Powerbook": "Powerbook",
|
||||||
|
"SW5E.SpeciesTraits": "Species Traits",
|
||||||
"SW5E.SubclassName": "Subclass Name",
|
"SW5E.SubclassName": "Subclass Name",
|
||||||
"SW5E.Supply": "Supply",
|
"SW5E.Supply": "Supply",
|
||||||
"SW5E.Target": "Target",
|
"SW5E.Target": "Target",
|
||||||
|
|
|
@ -160,6 +160,10 @@ export class Item5e extends Item {
|
||||||
else labels.featType = "Passive";
|
else labels.featType = "Passive";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Species Items
|
||||||
|
else if ( itemData.type === "species" ) {
|
||||||
|
|
||||||
|
}
|
||||||
// Equipment Items
|
// Equipment Items
|
||||||
else if ( itemData.type === "equipment" ) {
|
else if ( itemData.type === "equipment" ) {
|
||||||
labels.armor = data.armor.value ? `${data.armor.value} AC` : "";
|
labels.armor = data.armor.value ? `${data.armor.value} AC` : "";
|
||||||
|
|
|
@ -104,6 +104,10 @@ export class ItemSheet5e extends ItemSheet {
|
||||||
else if ( item.type === "feat" ) {
|
else if ( item.type === "feat" ) {
|
||||||
props.push(labels.featType);
|
props.push(labels.featType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if ( item.type === "species" ) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// Action type
|
// Action type
|
||||||
if ( item.data.actionType ) {
|
if ( item.data.actionType ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue