v10 Migration
This commit is contained in:
parent
39d220cfe6
commit
f5c4213a8f
BIN
images/icons/icon_ability.webp
Normal file
BIN
images/icons/icon_ability.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
images/icons/icon_armor.webp
Normal file
BIN
images/icons/icon_armor.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
images/icons/icon_weapon.webp
Normal file
BIN
images/icons/icon_weapon.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
@ -25,9 +25,8 @@ export class PegasusActorSheet extends ActorSheet {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async getData() {
|
async getData() {
|
||||||
const objectData = PegasusUtility.data(this.object);
|
const objectData = this.object
|
||||||
|
let actorData = duplicate(this.object)
|
||||||
let actorData = duplicate(PegasusUtility.templateData(this.object));
|
|
||||||
|
|
||||||
let formData = {
|
let formData = {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
@ -37,7 +36,7 @@ export class PegasusActorSheet extends ActorSheet {
|
|||||||
name: objectData.name,
|
name: objectData.name,
|
||||||
editable: this.isEditable,
|
editable: this.isEditable,
|
||||||
cssClass: this.isEditable ? "editable" : "locked",
|
cssClass: this.isEditable ? "editable" : "locked",
|
||||||
data: actorData,
|
data: actorData.system,
|
||||||
traumaState: this.actor.getTraumaState(),
|
traumaState: this.actor.getTraumaState(),
|
||||||
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
|
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
|
||||||
limited: this.object.limited,
|
limited: this.object.limited,
|
||||||
@ -87,7 +86,7 @@ export class PegasusActorSheet extends ActorSheet {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async rollIDR( itemId, diceValue) {
|
async rollIDR( itemId, diceValue) {
|
||||||
let item = this.actor.data.items.get( itemId) ?? {name: "Unknown"}
|
let item = this.actor.items.get( itemId) ?? {name: "Unknown"}
|
||||||
let myRoll = new Roll(diceValue+"x").roll({ async: false })
|
let myRoll = new Roll(diceValue+"x").roll({ async: false })
|
||||||
await PegasusUtility.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
|
await PegasusUtility.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
|
||||||
let chatData = {
|
let chatData = {
|
||||||
@ -362,10 +361,9 @@ export class PegasusActorSheet extends ActorSheet {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async _onDropItem(event, dragData) {
|
async _onDropItem(event, dragData) {
|
||||||
console.log(">>>>>> DROPPED!!!!")
|
const item = fromUuidSync(dragData.uuid)
|
||||||
let item = await PegasusUtility.searchItem( dragData)
|
|
||||||
if (item == undefined) {
|
if (item == undefined) {
|
||||||
item = this.actor.items.get( dragData.data._id )
|
item = this.actor.items.get( dragData.uuid )
|
||||||
}
|
}
|
||||||
let ret = await this.actor.preprocessItem( event, item, true )
|
let ret = await this.actor.preprocessItem( event, item, true )
|
||||||
if ( ret ) {
|
if ( ret ) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -48,9 +48,9 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async getData() {
|
async getData() {
|
||||||
const objectData = PegasusUtility.data(this.object);
|
const objectData = this.object
|
||||||
|
|
||||||
let itemData = foundry.utils.deepClone(PegasusUtility.templateData(this.object));
|
let itemData = foundry.utils.deepClone(objectData)
|
||||||
let formData = {
|
let formData = {
|
||||||
title: this.title,
|
title: this.title,
|
||||||
id: this.id,
|
id: this.id,
|
||||||
@ -61,7 +61,7 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
cssClass: this.isEditable ? "editable" : "locked",
|
cssClass: this.isEditable ? "editable" : "locked",
|
||||||
optionsDiceList: PegasusUtility.getOptionsDiceList(),
|
optionsDiceList: PegasusUtility.getOptionsDiceList(),
|
||||||
optionsStatusList: PegasusUtility.getOptionsStatusList(),
|
optionsStatusList: PegasusUtility.getOptionsStatusList(),
|
||||||
data: itemData,
|
data: itemData.system,
|
||||||
limited: this.object.limited,
|
limited: this.object.limited,
|
||||||
options: this.options,
|
options: this.options,
|
||||||
owner: this.document.isOwner,
|
owner: this.document.isOwner,
|
||||||
@ -69,7 +69,7 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
isGM: game.user.isGM
|
isGM: game.user.isGM
|
||||||
}
|
}
|
||||||
|
|
||||||
this.options.editable = !(this.object.data.origin == "embeddedItem");
|
this.options.editable = true //!(this.object.isEmbedded)
|
||||||
console.log("ITEM DATA", formData, this);
|
console.log("ITEM DATA", formData, this);
|
||||||
return formData;
|
return formData;
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
postItem() {
|
postItem() {
|
||||||
let chatData = duplicate(PegasusUtility.data(this.item));
|
let chatData = this.item.system
|
||||||
if (this.actor) {
|
if (this.actor) {
|
||||||
chatData.actor = { id: this.actor.id };
|
chatData.actor = { id: this.actor.id };
|
||||||
}
|
}
|
||||||
@ -113,10 +113,10 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
async viewSubitem(ev) {
|
async viewSubitem(ev) {
|
||||||
let field = $(ev.currentTarget).data('type');
|
let field = $(ev.currentTarget).data('type');
|
||||||
let idx = Number($(ev.currentTarget).data('index'));
|
let idx = Number($(ev.currentTarget).data('index'));
|
||||||
let itemData = this.object.data.data[field][idx];
|
let itemData = this.object.system[field][idx];
|
||||||
if (itemData.name != 'None') {
|
if (itemData.name != 'None') {
|
||||||
let spec = await Item.create(itemData, { temporary: true });
|
let spec = await Item.create(itemData, { temporary: true });
|
||||||
spec.data.origin = "embeddedItem";
|
spec.system.origin = "embeddedItem";
|
||||||
new PegasusItemSheet(spec).render(true);
|
new PegasusItemSheet(spec).render(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,8 +125,8 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
async deleteSubitem(ev) {
|
async deleteSubitem(ev) {
|
||||||
let field = $(ev.currentTarget).data('type');
|
let field = $(ev.currentTarget).data('type');
|
||||||
let idx = Number($(ev.currentTarget).data('index'));
|
let idx = Number($(ev.currentTarget).data('index'));
|
||||||
let oldArray = this.object.data.data[field];
|
let oldArray = this.object.system[field];
|
||||||
let itemData = this.object.data.data[field][idx];
|
let itemData = this.object.system[field][idx];
|
||||||
if (itemData.name != 'None') {
|
if (itemData.name != 'None') {
|
||||||
let newArray = [];
|
let newArray = [];
|
||||||
for (var i = 0; i < oldArray.length; i++) {
|
for (var i = 0; i < oldArray.length; i++) {
|
||||||
@ -134,16 +134,16 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
newArray.push(oldArray[i]);
|
newArray.push(oldArray[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.object.update({ [`data.${field}`]: newArray });
|
this.object.update({ [`system.${field}`]: newArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async manageSpec() {
|
async manageSpec() {
|
||||||
let itemData = this.object.data.data.specialisation[0];
|
let itemData = this.object.system.specialisation[0];
|
||||||
if (itemData.name != 'None') {
|
if (itemData.name != 'None') {
|
||||||
let spec = await Item.create(itemData, { temporary: true });
|
let spec = await Item.create(itemData, { temporary: true });
|
||||||
spec.data.origin = "embeddedItem";
|
spec.system.origin = "embeddedItem";
|
||||||
new PegasusItemSheet(spec).render(true);
|
new PegasusItemSheet(spec).render(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -165,7 +165,7 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
});
|
});
|
||||||
|
|
||||||
html.find('.delete-spec').click(ev => {
|
html.find('.delete-spec').click(ev => {
|
||||||
this.object.update({ "data.specialisation": [{ name: 'None' }] });
|
this.object.update({ "system.specialisation": [{ name: 'None' }] });
|
||||||
});
|
});
|
||||||
|
|
||||||
html.find('.delete-subitem').click(ev => {
|
html.find('.delete-subitem').click(ev => {
|
||||||
@ -174,9 +174,9 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
|
|
||||||
html.find('.stat-choice-flag').click(ev => {
|
html.find('.stat-choice-flag').click(ev => {
|
||||||
let idx = $(ev.currentTarget).data("stat-idx");
|
let idx = $(ev.currentTarget).data("stat-idx");
|
||||||
let array = duplicate(this.object.data.data.statincreasechoice);
|
let array = duplicate(this.object.system.statincreasechoice);
|
||||||
array[Number(idx)].flag = !array[Number(idx)].flag;
|
array[Number(idx)].flag = !array[Number(idx)].flag;
|
||||||
this.object.update({ "data.statincreasechoice": array });
|
this.object.update({ "system.statincreasechoice": array });
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update Inventory Item
|
// Update Inventory Item
|
||||||
@ -197,225 +197,225 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addAbility(event, item, dataItem) {
|
async addAbility(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item)
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
console.log("ABB", event, item, dataItem)
|
console.log("ABB", event, item)
|
||||||
if (event.toElement.className == 'drop-abilities') {
|
if (event.toElement.className == 'drop-abilities') {
|
||||||
let abilityArray = duplicate(this.object.data.data.abilities);
|
let abilityArray = duplicate(this.object.system.abilities);
|
||||||
abilityArray.push(newItem);
|
abilityArray.push(newItem);
|
||||||
await this.object.update({ 'data.abilities': abilityArray });
|
await this.object.update({ 'system.abilities': abilityArray });
|
||||||
}
|
}
|
||||||
if (event.toElement.className == 'drop-optionnal-abilities') {
|
if (event.toElement.className == 'drop-optionnal-abilities') {
|
||||||
let abilityArray = duplicate(this.object.data.data.optionnalabilities);
|
let abilityArray = duplicate(this.object.system.optionnalabilities);
|
||||||
abilityArray.push(newItem);
|
abilityArray.push(newItem);
|
||||||
await this.object.update({ 'data.optionnalabilities': abilityArray });
|
await this.object.update({ 'system.optionnalabilities': abilityArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addRacePerk(event, item, dataItem) {
|
async addRacePerk(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id);
|
||||||
if (event.toElement.className == 'drop-race-perk') {
|
if (event.toElement.className == 'drop-race-perk') {
|
||||||
let perkArray = duplicate(this.object.data.data.perks);
|
let perkArray = duplicate(this.object.system.perks);
|
||||||
perkArray.push(newItem);
|
perkArray.push(newItem);
|
||||||
await this.object.update({ 'data.perks': perkArray });
|
await this.object.update({ 'system.perks': perkArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addSpecialisation(item, dataItem) {
|
async addSpecialisation(item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item)
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length)
|
||||||
let specArray = [newItem];
|
let specArray = [newItem];
|
||||||
await this.object.update({ 'data.specialisation': specArray });
|
await this.object.update({ 'system.specialisation': specArray });
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addRoleSpecialisation(event, item, dataItem) {
|
async addRoleSpecialisation(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
console.log("Add spec", event, newItem);
|
console.log("Add spec", event, newItem);
|
||||||
if (event.toElement.className == 'drop-spec1') {
|
if (event.toElement.className == 'drop-spec1') {
|
||||||
let specArray = duplicate(this.object.data.data.specialisationsplus1);
|
let specArray = duplicate(this.object.system.specialisationsplus1);
|
||||||
specArray.push(newItem);
|
specArray.push(newItem);
|
||||||
await this.object.update({ 'data.specialisationsplus1': specArray });
|
await this.object.update({ 'system.specialisationsplus1': specArray });
|
||||||
}
|
}
|
||||||
if (event.toElement.className == 'drop-spec2') {
|
if (event.toElement.className == 'drop-spec2') {
|
||||||
let specArray = duplicate(this.object.data.data.specincrease);
|
let specArray = duplicate(this.object.system.specincrease);
|
||||||
specArray.push(newItem);
|
specArray.push(newItem);
|
||||||
await this.object.update({ 'data.specincrease': specArray });
|
await this.object.update({ 'system.specincrease': specArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addRolePerk(event, item, dataItem) {
|
async addRolePerk(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-perk2') {
|
if (event.toElement.className == 'drop-perk2') {
|
||||||
let perkArray = duplicate(this.object.data.data.perks);
|
let perkArray = duplicate(this.object.system.perks);
|
||||||
perkArray.push(newItem);
|
perkArray.push(newItem);
|
||||||
await this.object.update({ 'data.perks': perkArray });
|
await this.object.update({ 'system.perks': perkArray });
|
||||||
}
|
}
|
||||||
if (event.toElement.className == 'drop-specialperk1') {
|
if (event.toElement.className == 'drop-specialperk1') {
|
||||||
let perkArray = duplicate(this.object.data.data.specialperk);
|
let perkArray = duplicate(this.object.system.specialperk);
|
||||||
perkArray.push(newItem);
|
perkArray.push(newItem);
|
||||||
await this.object.update({ 'data.specialperk': perkArray });
|
await this.object.update({ 'system.specialperk': perkArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addRoleAbility(event, item, dataItem) {
|
async addRoleAbility(event, item) {
|
||||||
let newItem = duplicate(item.data)
|
let newItem = duplicate(item)
|
||||||
newItem._id = randomID(dataItem.id.length)
|
newItem._id = randomID(item.id.length)
|
||||||
if (event.toElement.className == 'drop-specialability') {
|
if (event.toElement.className == 'drop-specialability') {
|
||||||
let abiArray = duplicate(this.object.data.data.specialability)
|
let abiArray = duplicate(this.object.system.specialability)
|
||||||
abiArray.push(newItem)
|
abiArray.push(newItem)
|
||||||
await this.object.update({ 'data.specialability': abiArray })
|
await this.object.update({ 'system.specialability': abiArray })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addPower(event, item, dataItem) {
|
async addPower(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-spec-power') {
|
if (event.toElement.className == 'drop-spec-power') {
|
||||||
let powArray = duplicate(this.object.data.data.powers);
|
let powArray = duplicate(this.object.system.powers);
|
||||||
powArray.push(newItem);
|
powArray.push(newItem);
|
||||||
await this.object.update({ 'data.powers': powArray });
|
await this.object.update({ 'system.powers': powArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addAbilityPower(event, item, dataItem) {
|
async addAbilityPower(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-ability-power') {
|
if (event.toElement.className == 'drop-ability-power') {
|
||||||
let powArray = duplicate(this.object.data.data.powersgained);
|
let powArray = duplicate(this.object.system.powersgained);
|
||||||
powArray.push(newItem);
|
powArray.push(newItem);
|
||||||
await this.object.update({ 'data.powersgained': powArray });
|
await this.object.update({ 'system.powersgained': powArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addAbilityEffect(event, item, dataItem) {
|
async addAbilityEffect(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-ability-effect') {
|
if (event.toElement.className == 'drop-ability-effect') {
|
||||||
let powArray = duplicate(this.object.data.data.effectsgained);
|
let powArray = duplicate(this.object.system.effectsgained);
|
||||||
powArray.push(newItem);
|
powArray.push(newItem);
|
||||||
await this.object.update({ 'data.effectsgained': powArray });
|
await this.object.update({ 'system.effectsgained': powArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addAbilitySpec(event, item, dataItem) {
|
async addAbilitySpec(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-ability-spec') {
|
if (event.toElement.className == 'drop-ability-spec') {
|
||||||
let powArray = duplicate(this.object.data.data.specialisations);
|
let powArray = duplicate(this.object.system.specialisations);
|
||||||
powArray.push(newItem);
|
powArray.push(newItem);
|
||||||
await this.object.update({ 'data.specialisations': powArray });
|
await this.object.update({ 'system.specialisations': powArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addAbilityWeaponArmor(event, item, dataItem) {
|
async addAbilityWeaponArmor(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
newItem._id = randomID(dataItem.id.length);
|
newItem._id = randomID(item.id.length);
|
||||||
if (event.toElement.className == 'drop-ability-weapon') {
|
if (event.toElement.className == 'drop-ability-weapon') {
|
||||||
let weaponArray = duplicate(this.object.data.data.attackgained);
|
let weaponArray = duplicate(this.object.system.attackgained);
|
||||||
weaponArray.push(newItem);
|
weaponArray.push(newItem);
|
||||||
await this.object.update({ 'data.attackgained': weaponArray });
|
await this.object.update({ 'system.attackgained': weaponArray });
|
||||||
}
|
}
|
||||||
if (event.toElement.className == 'drop-ability-armor') {
|
if (event.toElement.className == 'drop-ability-armor') {
|
||||||
let armorArray = duplicate(this.object.data.data.armorgained);
|
let armorArray = duplicate(this.object.system.armorgained);
|
||||||
armorArray.push(newItem);
|
armorArray.push(newItem);
|
||||||
await this.object.update({ 'data.armorgained': armorArray });
|
await this.object.update({ 'system.armorgained': armorArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addPerkSpecialisation(event, item, dataItem) {
|
async addPerkSpecialisation(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-spec-perk') {
|
if (event.toElement.className == 'drop-spec-perk') {
|
||||||
//console.log("PER SPEC", event)
|
//console.log("PER SPEC", event)
|
||||||
let key = event.toElement.dataset["key"];
|
let key = event.toElement.dataset["key"];
|
||||||
if (key == 'affectedspec') {
|
if (key == 'affectedspec') {
|
||||||
await this.object.update({ 'data.features.affectedspec.value': newItem.name });
|
await this.object.update({ 'system.features.affectedspec.value': newItem.name });
|
||||||
} else {
|
} else {
|
||||||
await this.object.update({ 'data.features.gainspecdice.value': newItem.name });
|
await this.object.update({ 'system.features.gainspecdice.value': newItem.name });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addPerkEffect(event, item, dataItem) {
|
async addPerkEffect(event, item) {
|
||||||
let newItem = duplicate(item.data)
|
let newItem = duplicate(item)
|
||||||
if (event.toElement.className == 'drop-perk-effect') {
|
if (event.toElement.className == 'drop-perk-effect') {
|
||||||
let effectArray = duplicate(this.object.data.data.effectsgained)
|
let effectArray = duplicate(this.object.system.effectsgained)
|
||||||
effectArray.push(newItem)
|
effectArray.push(newItem)
|
||||||
await this.object.update({ 'data.effectsgained': effectArray })
|
await this.object.update({ 'system.effectsgained': effectArray })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addEffectPower(event, item, dataItem) {
|
async addEffectPower(event, item) {
|
||||||
let newItem = duplicate(item.data)
|
let newItem = duplicate(item)
|
||||||
if (event.toElement.className == 'drop-power-effect') {
|
if (event.toElement.className == 'drop-power-effect') {
|
||||||
let effectArray = duplicate(this.object.data.data.effectsgained)
|
let effectArray = duplicate(this.object.system.effectsgained)
|
||||||
effectArray.push(newItem);
|
effectArray.push(newItem);
|
||||||
await this.object.update({ 'data.effectsgained': effectArray })
|
await this.object.update({ 'system.effectsgained': effectArray })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addEffectSpec(event, item, dataItem) {
|
async addEffectSpec(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-effect-spec') {
|
if (event.toElement.className == 'drop-effect-spec') {
|
||||||
let specArray = duplicate(this.object.data.data.recoveryrollspec);
|
let specArray = duplicate(this.object.system.recoveryrollspec);
|
||||||
specArray.push(newItem);
|
specArray.push(newItem);
|
||||||
await this.object.update({ 'data.recoveryrollspec': specArray });
|
await this.object.update({ 'system.recoveryrollspec': specArray });
|
||||||
}
|
}
|
||||||
if (event.toElement.className == 'drop-effect-specaffected') {
|
if (event.toElement.className == 'drop-effect-specaffected') {
|
||||||
let specArray = duplicate(this.object.data.data.specaffected);
|
let specArray = duplicate(this.object.system.specaffected);
|
||||||
specArray.push(newItem);
|
specArray.push(newItem);
|
||||||
await this.object.update({ 'data.specaffected': specArray });
|
await this.object.update({ 'system.specaffected': specArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addEffectItem(event, item, dataItem) {
|
async addEffectItem(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-equipment-effect') {
|
if (event.toElement.className == 'drop-equipment-effect') {
|
||||||
let effectArray = duplicate(this.object.data.data.effects);
|
let effectArray = duplicate(this.object.system.effects);
|
||||||
effectArray.push(newItem);
|
effectArray.push(newItem);
|
||||||
await this.object.update({ 'data.effects': effectArray });
|
await this.object.update({ 'system.effects': effectArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addEffectVirtueVice(event, item, dataItem) {
|
async addEffectVirtueVice(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-virtue-vice-effect') {
|
if (event.toElement.className == 'drop-virtue-vice-effect') {
|
||||||
let effectArray = duplicate(this.object.data.data.effectsgained);
|
let effectArray = duplicate(this.object.system.effectsgained);
|
||||||
effectArray.push(newItem);
|
effectArray.push(newItem);
|
||||||
await this.object.update({ 'data.effectsgained': effectArray });
|
await this.object.update({ 'system.effectsgained': effectArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addViceToVirtue(event, item, dataItem) {
|
async addViceToVirtue(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-virtue-vice') {
|
if (event.toElement.className == 'drop-virtue-vice') {
|
||||||
let viceArray = duplicate(this.object.data.data.unavailablevice);
|
let viceArray = duplicate(this.object.system.unavailablevice);
|
||||||
viceArray.push(newItem);
|
viceArray.push(newItem);
|
||||||
await this.object.update({ 'data.unavailablevice': viceArray });
|
await this.object.update({ 'system.unavailablevice': viceArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async addVirtueToVice(event, item, dataItem) {
|
async addVirtueToVice(event, item) {
|
||||||
let newItem = duplicate(item.data);
|
let newItem = duplicate(item);
|
||||||
if (event.toElement.className == 'drop-vice-virtue') {
|
if (event.toElement.className == 'drop-vice-virtue') {
|
||||||
let virtueArray = duplicate(this.object.data.data.unavailablevirtue);
|
let virtueArray = duplicate(this.object.system.unavailablevirtue);
|
||||||
virtueArray.push(newItem);
|
virtueArray.push(newItem);
|
||||||
await this.object.update({ 'data.unavailablevirtue': virtueArray });
|
await this.object.update({ 'system.unavailablevirtue': virtueArray });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -423,140 +423,101 @@ export class PegasusItemSheet extends ItemSheet {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
async _onDrop(event) {
|
async _onDrop(event) {
|
||||||
|
|
||||||
|
let data = event.dataTransfer.getData('text/plain')
|
||||||
|
let dataItem = JSON.parse( data)
|
||||||
|
console.log("DROP", event, dataItem )
|
||||||
|
const item = fromUuidSync(dataItem.uuid)
|
||||||
|
if (!item) {
|
||||||
|
ui.notifications.warn("Unable to find relevant item - Aborting drag&drop " + data.uuid)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (this.object.type == 'virtue' ) {
|
if (this.object.type == 'virtue' ) {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'effect') {
|
||||||
if (data) {
|
return this.addEffectVirtueVice(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addEffectVirtueVice(event, item, dataItem);
|
|
||||||
}
|
|
||||||
if (item.data.type == 'vice') {
|
|
||||||
return this.addViceToVirtue(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'vice') {
|
||||||
|
return this.addViceToVirtue(event, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'vice' ) {
|
if (this.object.type == 'vice' ) {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'effect') {
|
||||||
if (data) {
|
return this.addEffectVirtueVice(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addEffectVirtueVice(event, item, dataItem);
|
|
||||||
}
|
|
||||||
if (item.data.type == 'virtue') {
|
|
||||||
return this.addVirtueToVice(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'virtue') {
|
||||||
|
return this.addVirtueToVice(event, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'weapon' || this.object.type == 'armor' || this.object.type == 'shield'
|
if (this.object.type == 'weapon' || this.object.type == 'armor' || this.object.type == 'shield'
|
||||||
|| this.object.type == 'equipment' || this.object.type == 'vehiclemodule'
|
|| this.object.type == 'equipment' || this.object.type == 'vehiclemodule'
|
||||||
|| this.object.type == 'vehicleweaponmodule') {
|
|| this.object.type == 'vehicleweaponmodule') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'effect') {
|
||||||
if (data) {
|
return this.addEffectItem(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addEffectItem(event, item, dataItem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'power') {
|
if (this.object.type == 'power') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'effect') {
|
||||||
if (data) {
|
return this.addEffectPower(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addEffectPower(event, item, dataItem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'effect') {
|
if (this.object.type == 'effect') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'specialisation') {
|
||||||
if (data) {
|
return this.addEffectSpec(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'specialisation') {
|
|
||||||
return this.addEffectSpec(event, item, dataItem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'race') {
|
if (this.object.type == 'race') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'ability') {
|
||||||
if (data) {
|
return this.addAbility(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'ability') {
|
|
||||||
return this.addAbility(event, item, dataItem);
|
|
||||||
}
|
|
||||||
if (item.data.type == 'perk') {
|
|
||||||
return this.addRacePerk(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'perk') {
|
||||||
|
return this.addRacePerk(event, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'perk') {
|
if (this.object.type == 'perk') {
|
||||||
let data = event.dataTransfer.getData('text/plain')
|
if (item.type == 'specialisation') {
|
||||||
if (data) {
|
return this.addPerkSpecialisation(event, item)
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem)
|
|
||||||
if (item.data.type == 'specialisation') {
|
|
||||||
return this.addPerkSpecialisation(event, item, dataItem)
|
|
||||||
}
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addPerkEffect(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'effect') {
|
||||||
|
return this.addPerkEffect(event, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'specialisation') {
|
if (this.object.type == 'specialisation') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'power') {
|
||||||
if (data) {
|
return this.addPower(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'power') {
|
|
||||||
return this.addPower(event, item, dataItem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'ability') {
|
if (this.object.type == 'ability') {
|
||||||
let data = event.dataTransfer.getData('text/plain');
|
if (item.type == 'effect') {
|
||||||
if (data) {
|
return this.addAbilityEffect(event, item);
|
||||||
let dataItem = JSON.parse(data);
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem);
|
|
||||||
if (item.data.type == 'effect') {
|
|
||||||
return this.addAbilityEffect(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
if (item.data.type == 'power') {
|
if (item.type == 'power') {
|
||||||
return this.addAbilityPower(event, item, dataItem);
|
return this.addAbilityPower(event, item);
|
||||||
}
|
}
|
||||||
if (item.data.type == 'specialisation') {
|
if (item.type == 'specialisation') {
|
||||||
return this.addAbilitySpec(event, item, dataItem);
|
return this.addAbilitySpec(event, item);
|
||||||
}
|
|
||||||
if (item.data.type == 'weapon' || item.data.type == 'armor') {
|
|
||||||
return this.addAbilityWeaponArmor(event, item, dataItem);
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'weapon' || item.type == 'armor') {
|
||||||
|
return this.addAbilityWeaponArmor(event, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.object.type == 'role') {
|
if (this.object.type == 'role') {
|
||||||
let data = event.dataTransfer.getData('text/plain')
|
if (item.type == 'specialisation') {
|
||||||
if (data) {
|
return this.addRoleSpecialisation(event, item)
|
||||||
let dataItem = JSON.parse(data)
|
|
||||||
let item = await PegasusUtility.searchItem(dataItem)
|
|
||||||
if (item.data.type == 'specialisation') {
|
|
||||||
return this.addRoleSpecialisation(event, item, dataItem)
|
|
||||||
}
|
}
|
||||||
if (item.data.type == 'perk') {
|
if (item.type == 'perk') {
|
||||||
return this.addRolePerk(event, item, dataItem)
|
return this.addRolePerk(event, item)
|
||||||
}
|
|
||||||
if (item.data.type == 'ability') {
|
|
||||||
return this.addRoleAbility(event, item, dataItem)
|
|
||||||
}
|
}
|
||||||
|
if (item.type == 'ability') {
|
||||||
|
return this.addRoleAbility(event, item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui.notifications.warn("This item can not be dropped over another item")
|
ui.notifications.warn("This item can not be dropped over another item")
|
||||||
|
@ -51,10 +51,10 @@ export class PegasusRollDialog extends Dialog {
|
|||||||
let level, genre, idVal, key
|
let level, genre, idVal, key
|
||||||
if (effect.type == 'effect') {
|
if (effect.type == 'effect') {
|
||||||
let effectData = effect.effect
|
let effectData = effect.effect
|
||||||
level = effectData.data.effectlevel
|
level = effectData.system.effectlevel
|
||||||
genre = effectData.data.genre
|
genre = effectData.system.genre
|
||||||
effectData.data.isUsed = toggled
|
effectData.system.isUsed = toggled
|
||||||
if (effectData.data.reducedicevalue || effectData.data.statdice) {
|
if (effectData.system.reducedicevalue || effectData.system.statdice) {
|
||||||
idVal = "#statDicesLevel"
|
idVal = "#statDicesLevel"
|
||||||
key = "statLevelBonus"
|
key = "statLevelBonus"
|
||||||
}
|
}
|
||||||
@ -124,13 +124,13 @@ export class PegasusRollDialog extends Dialog {
|
|||||||
if (equip) {
|
if (equip) {
|
||||||
equip.applied = toggled
|
equip.applied = toggled
|
||||||
let idVal = "#damageDiceLevel" // Default
|
let idVal = "#damageDiceLevel" // Default
|
||||||
if (equip.equip.data.bonusdice) {
|
if (equip.equip.system.bonusdice) {
|
||||||
idVal = "#bonusDicesLevel"
|
idVal = "#bonusDicesLevel"
|
||||||
}
|
}
|
||||||
if (equip.equip.data.statdice) {
|
if (equip.equip.system.statdice) {
|
||||||
idVal = "#statDicesLevel"
|
idVal = "#statDicesLevel"
|
||||||
}
|
}
|
||||||
if (equip.equip.data.otherdice) {
|
if (equip.equip.system.otherdice) {
|
||||||
idVal = "#damageDiceLevel"
|
idVal = "#damageDiceLevel"
|
||||||
}
|
}
|
||||||
let newLevel = Number($(idVal).val())
|
let newLevel = Number($(idVal).val())
|
||||||
@ -170,7 +170,7 @@ export class PegasusRollDialog extends Dialog {
|
|||||||
this.rollData.selectedSpec = event.currentTarget.value
|
this.rollData.selectedSpec = event.currentTarget.value
|
||||||
let spec = this.rollData.specList.find(item => item._id == this.rollData.selectedSpec)
|
let spec = this.rollData.specList.find(item => item._id == this.rollData.selectedSpec)
|
||||||
if (spec) {
|
if (spec) {
|
||||||
this.rollData.specDicesLevel = spec.data.level
|
this.rollData.specDicesLevel = spec.system.level
|
||||||
this.rollData.specName = spec.name
|
this.rollData.specName = spec.name
|
||||||
$('#specDicesLevel').val(this.rollData.specDicesLevel)
|
$('#specDicesLevel').val(this.rollData.specDicesLevel)
|
||||||
} else {
|
} else {
|
||||||
|
@ -109,12 +109,12 @@ export class PegasusUtility {
|
|||||||
static updateEffectsBonusDice(rollData) {
|
static updateEffectsBonusDice(rollData) {
|
||||||
let newDicePool = rollData.dicePool.filter(dice => dice.name != "effect-bonus-dice")
|
let newDicePool = rollData.dicePool.filter(dice => dice.name != "effect-bonus-dice")
|
||||||
for (let effect of rollData.effectsList) {
|
for (let effect of rollData.effectsList) {
|
||||||
if (effect && effect.applied && effect.type == "effect" && effect.effect.data.bonusdice) {
|
if (effect && effect.applied && effect.type == "effect" && effect.effect.system.bonusdice) {
|
||||||
let diceKey = PegasusUtility.getDiceFromLevel(effect.effect.data.effectlevel)
|
let diceKey = PegasusUtility.getDiceFromLevel(effect.effect.system.effectlevel)
|
||||||
let diceList = diceKey.split(" ")
|
let diceList = diceKey.split(" ")
|
||||||
for (let myDice of diceList) {
|
for (let myDice of diceList) {
|
||||||
let newDice = {
|
let newDice = {
|
||||||
name: "effect-bonus-dice", key: myDice, level: effect.effect.data.effectlevel, effect: effect.effect.name,
|
name: "effect-bonus-dice", key: myDice, level: effect.effect.system.effectlevel, effect: effect.effect.name,
|
||||||
img: `systems/fvtt-pegasus-rpg/images/dice/${myDice}.webp`
|
img: `systems/fvtt-pegasus-rpg/images/dice/${myDice}.webp`
|
||||||
}
|
}
|
||||||
newDicePool.push(newDice)
|
newDicePool.push(newDice)
|
||||||
@ -128,8 +128,8 @@ export class PegasusUtility {
|
|||||||
static updateHindranceBonusDice(rollData) {
|
static updateHindranceBonusDice(rollData) {
|
||||||
let newDicePool = rollData.dicePool.filter(dice => dice.name != "effect-hindrance")
|
let newDicePool = rollData.dicePool.filter(dice => dice.name != "effect-hindrance")
|
||||||
for (let hindrance of rollData.effectsList) {
|
for (let hindrance of rollData.effectsList) {
|
||||||
if (hindrance && hindrance.applied && (hindrance.type == "hindrance" || (hindrance.type == "effect" && hindrance.effect?.data?.hindrance) ) ) {
|
if (hindrance && hindrance.applied && (hindrance.type == "hindrance" || (hindrance.type == "effect" && hindrance.effect?.system?.hindrance) ) ) {
|
||||||
let diceKey = PegasusUtility.getDiceFromLevel( (hindrance.value) ? hindrance.value : hindrance.effect.data.effectlevel)
|
let diceKey = PegasusUtility.getDiceFromLevel( (hindrance.value) ? hindrance.value : hindrance.effect.system.effectlevel)
|
||||||
let diceList = diceKey.split(" ")
|
let diceList = diceKey.split(" ")
|
||||||
for (let myDice of diceList) {
|
for (let myDice of diceList) {
|
||||||
let newDice = {
|
let newDice = {
|
||||||
@ -500,19 +500,6 @@ export class PegasusUtility {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
|
||||||
static templateData(it) {
|
|
||||||
return PegasusUtility.data(it)?.data ?? {}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
|
||||||
static data(it) {
|
|
||||||
if (it instanceof Actor || it instanceof Item || it instanceof Combatant) {
|
|
||||||
return it.data;
|
|
||||||
}
|
|
||||||
return it;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static getDiceValue(level = 0) {
|
static getDiceValue(level = 0) {
|
||||||
let diceString = this.diceList[level]
|
let diceString = this.diceList[level]
|
||||||
@ -716,7 +703,7 @@ export class PegasusUtility {
|
|||||||
// De-actived used effects from perks
|
// De-actived used effects from perks
|
||||||
let toRem = []
|
let toRem = []
|
||||||
for (let effect of rollData.effectsList) {
|
for (let effect of rollData.effectsList) {
|
||||||
if (effect.effect.data.perkId && effect.effect.data.isUsed) {
|
if (effect.effect.system.perkId && effect.effect.system.isUsed) {
|
||||||
toRem.push(effect.effect._id)
|
toRem.push(effect.effect._id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -731,7 +718,7 @@ export class PegasusUtility {
|
|||||||
// De-actived used effects from perks
|
// De-actived used effects from perks
|
||||||
let toRem = []
|
let toRem = []
|
||||||
for (let effect of rollData.effectsList) {
|
for (let effect of rollData.effectsList) {
|
||||||
if (effect.effect && effect.effect.data.isUsed && effect.effect.data.oneuse) {
|
if (effect.effect && effect.effect.system.isUsed && effect.effect.system.oneuse) {
|
||||||
effect.defenderTokenId = rollData.defenderTokenId
|
effect.defenderTokenId = rollData.defenderTokenId
|
||||||
if (effect.foreign) {
|
if (effect.foreign) {
|
||||||
if (game.user.isGM) {
|
if (game.user.isGM) {
|
||||||
@ -896,7 +883,7 @@ export class PegasusUtility {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static getUsers(filter) {
|
static getUsers(filter) {
|
||||||
return game.users.filter(filter).map(user => user.data._id);
|
return game.users.filter(filter).map(user => user.id);
|
||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static getWhisperRecipients(rollMode, name) {
|
static getWhisperRecipients(rollMode, name) {
|
||||||
|
18
system.json
18
system.json
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"author": "Uberwald",
|
|
||||||
"compatibleCoreVersion": "9",
|
|
||||||
"description": "Pegasus RPG system for FoundryVTT",
|
"description": "Pegasus RPG system for FoundryVTT",
|
||||||
"download": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg/fvtt-pegasus-rpg.zip",
|
"download": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg/fvtt-pegasus-rpg.zip",
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
@ -15,13 +13,23 @@
|
|||||||
"path": "lang/en.json"
|
"path": "lang/en.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Uberwald",
|
||||||
|
"flags": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
"library": false,
|
"library": false,
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
"manifest": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg/system.json",
|
"manifest": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg/system.json",
|
||||||
"manifestPlusVersion": "1.0.0",
|
"manifestPlusVersion": "1.0.0",
|
||||||
"media": [],
|
"media": [],
|
||||||
"minimumCoreVersion": "0.8.0",
|
"compatibility": {
|
||||||
"name": "fvtt-pegasus-rpg",
|
"minimum": "10",
|
||||||
|
"verified": "10.284",
|
||||||
|
"maximum": "10"
|
||||||
|
},
|
||||||
|
"id": "fvtt-pegasus-rpg",
|
||||||
"packs": [
|
"packs": [
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
@ -273,6 +281,6 @@
|
|||||||
"templateVersion": 109,
|
"templateVersion": 109,
|
||||||
"title": "Pegasus RPG",
|
"title": "Pegasus RPG",
|
||||||
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
|
||||||
"version": "0.6.27",
|
"version": "10.0.0",
|
||||||
"background" : "./images/ui/pegasus_welcome_page.webp"
|
"background" : "./images/ui/pegasus_welcome_page.webp"
|
||||||
}
|
}
|
||||||
|
@ -43,14 +43,14 @@
|
|||||||
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="mr">MR</a>
|
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="mr">MR</a>
|
||||||
</h4>
|
</h4>
|
||||||
</span>
|
</span>
|
||||||
<select class="status-small-label color-class-common" type="text" name="data.mr.value"
|
<select class="status-small-label color-class-common" type="text" name="system.mr.value"
|
||||||
value="{{data.mr.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
value="{{data.mr.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||||
{{#select data.mr.value}}
|
{{#select data.mr.value}}
|
||||||
{{{@root.optionsDiceList}}}
|
{{{@root.optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
|
||||||
name="data.mr.mod" value="{{data.mr.mod}}" data-dtype="Number" {{#unless
|
name="system.mr.mod" value="{{data.mr.mod}}" data-dtype="Number" {{#unless
|
||||||
@root.editScore}}disabled{{/unless}} />
|
@root.editScore}}disabled{{/unless}} />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
<label class="status-small-label">Active NRG</label>
|
<label class="status-small-label">Active NRG</label>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -158,10 +158,10 @@
|
|||||||
<ul class="stat-list alternate-list">
|
<ul class="stat-list alternate-list">
|
||||||
<li class="item stat flexrow list-item">
|
<li class="item stat flexrow list-item">
|
||||||
<span class="generic-label small-label">Current</span>
|
<span class="generic-label small-label">Current</span>
|
||||||
<input type="text" class="" name="data.combat.stunlevel" value="{{data.combat.stunlevel}}"
|
<input type="text" class="" name="system.combat.stunlevel" value="{{data.combat.stunlevel}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<span class="generic-label small-label">Threshold</span>
|
<span class="generic-label small-label">Threshold</span>
|
||||||
<input type="text" class="" name="data.combat.stunthreshold" value="{{data.combat.stunthreshold}}"
|
<input type="text" class="" name="system.combat.stunthreshold" value="{{data.combat.stunthreshold}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -205,16 +205,16 @@
|
|||||||
src="{{perk.img}}" /></a>
|
src="{{perk.img}}" /></a>
|
||||||
<span class="item-name-label-long">{{perk.name}}</span>
|
<span class="item-name-label-long">{{perk.name}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-short">{{perk.data.level}}</span>
|
<span class="item-field-label-short">{{perk.system.level}}</span>
|
||||||
|
|
||||||
{{#if perk.data.features.range.flag}}
|
{{#if perk.system.features.range.flag}}
|
||||||
<span class="item-field-label-medium">{{perk.data.features.range.value}}</span>
|
<span class="item-field-label-medium">{{perk.system.features.range.value}}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="item-field-label-medium"> - </span>
|
<span class="item-field-label-medium"> - </span>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if perk.data.features.nbtargets.flag}}
|
{{#if perk.system.features.nbtargets.flag}}
|
||||||
<span class="item-field-label-short">{{perk.data.features.nbtargets.value}}</span>
|
<span class="item-field-label-short">{{perk.system.features.nbtargets.value}}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="item-field-label-short"> - </span>
|
<span class="item-field-label-short"> - </span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -224,8 +224,8 @@
|
|||||||
{{#if (eq @root.traumaState "severetrauma")}}
|
{{#if (eq @root.traumaState "severetrauma")}}
|
||||||
Disabled
|
Disabled
|
||||||
{{else}}
|
{{else}}
|
||||||
<select class="perk-status" type="text" value="{{perk.data.status}}" data-dtype="String">
|
<select class="perk-status" type="text" value="{{perk.system.status}}" data-dtype="String">
|
||||||
{{#select perk.data.status}}
|
{{#select perk.system.status}}
|
||||||
<option value="ready">Ready</option>
|
<option value="ready">Ready</option>
|
||||||
<option value="activated">Activated</option>
|
<option value="activated">Activated</option>
|
||||||
<option value="round2">2 Rounds left</option>
|
<option value="round2">2 Rounds left</option>
|
||||||
@ -235,38 +235,38 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{#if (ne perk.data.status "ready")}}
|
{{#if (ne perk.system.status "ready")}}
|
||||||
{{#if (eq perk.data.nbuse "next1action")}}
|
{{#if (eq perk.system.nbuse "next1action")}}
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"><input type="checkbox" class="perk-used"
|
class="item-field-label-short attribute-value checkbox"><input type="checkbox" class="perk-used"
|
||||||
data-use-index="1" name="perk.data.used1" {{checked perk.data.used1}} /></label></span>
|
data-use-index="1" name="perk.system.used1" {{checked perk.system.used1}} /></label></span>
|
||||||
<span class="item-field-label-short "> </span>
|
<span class="item-field-label-short "> </span>
|
||||||
<span class="item-field-label-short "> </span>
|
<span class="item-field-label-short "> </span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq perk.data.nbuse "next2action")}}
|
{{#if (eq perk.system.nbuse "next2action")}}
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||||
class="perk-used" data-use-index="1" name="perk.data.used1" {{checked
|
class="perk-used" data-use-index="1" name="perk.system.used1" {{checked
|
||||||
perk.data.used1}} /></label></span>
|
perk.system.used1}} /></label></span>
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||||
class="perk-used" data-use-index="2" name="perk.data.used2" {{checked
|
class="perk-used" data-use-index="2" name="perk.system.used2" {{checked
|
||||||
perk.data.used2}} /></label></span>
|
perk.system.used2}} /></label></span>
|
||||||
<span class="item-field-label-short "> </span>
|
<span class="item-field-label-short "> </span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq perk.data.nbuse "next3action")}}
|
{{#if (eq perk.system.nbuse "next3action")}}
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||||
class="perk-used" data-use-index="1" name="perk.data.used1" {{checked
|
class="perk-used" data-use-index="1" name="perk.system.used1" {{checked
|
||||||
perk.data.used1}} /></label></span>
|
perk.system.used1}} /></label></span>
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||||
class="perk-used" data-use-index="2" name="perk.data.used2" {{checked
|
class="perk-used" data-use-index="2" name="perk.system.used2" {{checked
|
||||||
perk.data.used2}} /></label></span>
|
perk.system.used2}} /></label></span>
|
||||||
<span class="item-field-label-short "><label
|
<span class="item-field-label-short "><label
|
||||||
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
class="item-field-label-short attribute-value checkbox"></label><input type="checkbox"
|
||||||
class="perk-used" data-use-index="3" name="perk.data.used3" {{checked
|
class="perk-used" data-use-index="3" name="perk.system.used3" {{checked
|
||||||
perk.data.used3}} /></label></span>
|
perk.system.used3}} /></label></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="item-field-label-short "><label class="item-field-label-short"> </label></span>
|
<span class="item-field-label-short "><label class="item-field-label-short"> </label></span>
|
||||||
@ -307,10 +307,10 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{effect.img}}" /></a>
|
src="{{effect.img}}" /></a>
|
||||||
<span class="item-name-label-long2">{{effect.name}}</span>
|
<span class="item-name-label-long2">{{effect.name}}</span>
|
||||||
<span class="item-field-label-short">{{effect.data.effectlevel}}</span>
|
<span class="item-field-label-short">{{effect.system.effectlevel}}</span>
|
||||||
<span class="item-field-label-short">{{upperFirst effect.data.type}}</span>
|
<span class="item-field-label-short">{{upperFirst effect.system.type}}</span>
|
||||||
<span class="item-field-label-short">{{upperFirst effect.data.genre}}</span>
|
<span class="item-field-label-short">{{upperFirst effect.datsystema.genre}}</span>
|
||||||
<span class="item-field-label-short">{{upper effect.data.stataffected}}</span>
|
<span class="item-field-label-short">{{upper effect.system.stataffected}}</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
@ -344,10 +344,10 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{spec.img}}" /></a>
|
src="{{spec.img}}" /></a>
|
||||||
<span class="item-name-label"><a class="roll-spec">{{spec.name}}</a></span>
|
<span class="item-name-label"><a class="roll-spec">{{spec.name}}</a></span>
|
||||||
<span class="item-field-label-short">{{upper spec.data.statistic}}</span>
|
<span class="item-field-label-short">{{upper spec.system.statistic}}</span>
|
||||||
<span class="item-field-label-short">{{spec.data.dice}}</span>
|
<span class="item-field-label-short">{{spec.system.dice}}</span>
|
||||||
{{#if spec.data.ispowergroup}}
|
{{#if spec.system.ispowergroup}}
|
||||||
{{#if spec.data.powersactivated}}
|
{{#if spec.system.powersactivated}}
|
||||||
<span class="item-field-label-long"><a class="spec-group-deactivate">Deactivate</a></span>
|
<span class="item-field-label-long"><a class="spec-group-deactivate">Deactivate</a></span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="item-field-label-long"><a class="spec-group-activate">Activate</a></span>
|
<span class="item-field-label-long"><a class="spec-group-activate">Activate</a></span>
|
||||||
@ -379,17 +379,17 @@
|
|||||||
<h4>{{data.nrg.label}}</h4>
|
<h4>{{data.nrg.label}}</h4>
|
||||||
</span>
|
</span>
|
||||||
<span class="small-label padd-right packed-left">Activated</span><input type="text"
|
<span class="small-label padd-right packed-left">Activated</span><input type="text"
|
||||||
class="padd-right update-field" data-field-name="data.nrg.activated" value="{{data.nrg.activated}}"
|
class="padd-right update-field" data-field-name="system.nrg.activated" value="{{data.nrg.activated}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<span class="small-label padd-right packed-left"> Current</span><input type="text"
|
<span class="small-label padd-right packed-left"> Current</span><input type="text"
|
||||||
class="padd-right update-field" data-field-name="data.nrg.value" value="{{data.nrg.value}}"
|
class="padd-right update-field" data-field-name="system.nrg.value" value="{{data.nrg.value}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<a class="current-nrg-plus plus-minus-button">+</a>/<a class="current-nrg-minus plus-minus-button"> -</a>
|
<a class="current-nrg-plus plus-minus-button">+</a>/<a class="current-nrg-minus plus-minus-button"> -</a>
|
||||||
<span class="small-label padd-right packed-left"> Mod</span><input type="text"
|
<span class="small-label padd-right packed-left"> Mod</span><input type="text"
|
||||||
class="padd-right update-field" data-field-name="data.nrg.mod" value="{{data.nrg.mod}}"
|
class="padd-right update-field" data-field-name="system.nrg.mod" value="{{data.nrg.mod}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<span class="small-label padd-right packed-left"> Max</span><input type="text"
|
<span class="small-label padd-right packed-left"> Max</span><input type="text"
|
||||||
class="padd-right update-field" data-field-name="data.nrg.max" value="{{data.nrg.max}}"
|
class="padd-right update-field" data-field-name="system.nrg.max" value="{{data.nrg.max}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
<span class="small-label padd-right packed-left"> / {{data.nrg.absolutemax}}</span>
|
<span class="small-label padd-right packed-left"> / {{data.nrg.absolutemax}}</span>
|
||||||
</li>
|
</li>
|
||||||
@ -398,11 +398,11 @@
|
|||||||
<h4>Power Purchase Points (PPP)</h4>
|
<h4>Power Purchase Points (PPP)</h4>
|
||||||
</span>
|
</span>
|
||||||
<span class="small-label padd-right packed-left">Available PPP</span><input type="text"
|
<span class="small-label padd-right packed-left">Available PPP</span><input type="text"
|
||||||
class="padd-right input-numeric-short" name="data.ppp.available" value="{{data.ppp.available}}"
|
class="padd-right input-numeric-short" name="system.ppp.available" value="{{data.ppp.available}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
|
|
||||||
<span class="small-label padd-right packed-left">Spent PPP</span><input type="text"
|
<span class="small-label padd-right packed-left">Spent PPP</span><input type="text"
|
||||||
class="padd-right input-numeric-short" name="data.ppp.spent" value="{{data.ppp.spent}}"
|
class="padd-right input-numeric-short" name="system.ppp.spent" value="{{data.ppp.spent}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -440,16 +440,16 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{power.img}}" /></a>
|
src="{{power.img}}" /></a>
|
||||||
<span class="item-name-label">
|
<span class="item-name-label">
|
||||||
{{#if power.data.rollneeded}}
|
{{#if power.system.rollneeded}}
|
||||||
<a class="power-roll">{{power.name}}</a>
|
<a class="power-roll">{{power.name}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{power.name}}
|
{{power.name}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-medium">{{upperFirst power.data.type}}</span>
|
<span class="item-field-label-medium">{{upperFirst power.system.type}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-short"><label class="short-label">
|
<span class="item-field-label-short"><label class="short-label">
|
||||||
{{#if power.data.activated}}
|
{{#if power.system.activated}}
|
||||||
Activated
|
Activated
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
@ -457,27 +457,27 @@
|
|||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">{{upperFirst power.data.action}}</span>
|
<span class="item-field-label-medium">{{upperFirst power.system.action}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-medium"><a class="power-dmg-roll">
|
<span class="item-field-label-medium"><a class="power-dmg-roll">
|
||||||
{{#if power.data.dmgroll}}
|
{{#if power.system.dmgroll}}
|
||||||
{{upper power.data.dmgstatistic}}
|
{{upper power.system.dmgstatistic}}
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a></span>
|
</a></span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">{{power.data.cost}}</span>
|
<span class="item-field-label-medium">{{power.system.cost}}</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
<input type="text" class="padd-right input-numeric-short power-cost-spent"
|
<input type="text" class="padd-right input-numeric-short power-cost-spent"
|
||||||
value="{{power.data.costspent}}" data-dtype="Number" />
|
value="{{power.system.costspent}}" data-dtype="Number" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">{{power.data.powerlevel}}</span>
|
<span class="item-field-label-medium">{{power.system.powerlevel}}</span>
|
||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control power-activate" title="Activated">{{#if power.data.activated}}<i
|
<a class="item-control power-activate" title="Activated">{{#if power.system.activated}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -509,10 +509,10 @@
|
|||||||
src="{{ability.img}}" /></a>
|
src="{{ability.img}}" /></a>
|
||||||
<span class="item-name-label">{{ability.name}}</span>
|
<span class="item-name-label">{{ability.name}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-long">{{upper ability.data.affectedstat}}</span>
|
<span class="item-field-label-long">{{upper ability.system.affectedstat}}</span>
|
||||||
<span class="item-field-label-medium">{{ability.data.statmodifier}}</span>
|
<span class="item-field-label-medium">{{ability.system.statmodifier}}</span>
|
||||||
<span class="item-field-label-medium">{{upperFirst ability.data.statusaffected}}</span>
|
<span class="item-field-label-medium">{{upperFirst ability.system.statusaffected}}</span>
|
||||||
<span class="item-field-label-medium">{{ability.data.statusmodifier}}</span>
|
<span class="item-field-label-medium">{{ability.system.statusmodifier}}</span>
|
||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
@ -561,16 +561,16 @@
|
|||||||
<span class="item-name-label">{{money.name}}</span>
|
<span class="item-name-label">{{money.name}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-long"><label>
|
<span class="item-field-label-long"><label>
|
||||||
{{money.data.quantity}}
|
{{money.system.quantity}}
|
||||||
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
|
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
|
||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
<label>{{money.data.weight}}</label>
|
<label>{{money.system.weight}}</label>
|
||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if money.data.idrDice}}
|
{{#if money.system.idrDice}}
|
||||||
<a class="roll-idr" data-dice-value="{{money.data.idrDice}}">{{money.data.idrDice}}</a>
|
<a class="roll-idr" data-dice-value="{{money.system.idrDice}}">{{money.system.idrDice}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -623,13 +623,13 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{weapon.img}}" /></a>
|
src="{{weapon.img}}" /></a>
|
||||||
<span class="item-name-label">{{weapon.name}}</span>
|
<span class="item-name-label">{{weapon.name}}</span>
|
||||||
<span class="item-field-label-short"><label>{{upper weapon.data.statistic}}</label></span>
|
<span class="item-field-label-short"><label>{{upper weapon.system.statistic}}</label></span>
|
||||||
<span class="item-field-label-short"><label>{{upper weapon.data.damagestatistic}}</label></span>
|
<span class="item-field-label-short"><label>{{upper weapon.system.damagestatistic}}</label></span>
|
||||||
<span class="item-field-label-short"><label>{{weapon.data.damageDice}}</label></span>
|
<span class="item-field-label-short"><label>{{weapon.system.damageDice}}</label></span>
|
||||||
<span class="item-field-label-medium"><label>{{weapon.data.damagetype}} ({{weapon.data.damagetypelevel}})</label></span>
|
<span class="item-field-label-medium"><label>{{weapon.system.damagetype}} ({{weapon.system.damagetypelevel}})</label></span>
|
||||||
|
|
||||||
{{#if (gt weapon.data.ammomax 0)}}
|
{{#if (gt weapon.system.ammomax 0)}}
|
||||||
<span class="item-field-label-long"><label>{{weapon.data.ammocurrent}}/{{weapon.data.ammomax}}
|
<span class="item-field-label-long"><label>{{weapon.system.ammocurrent}}/{{weapon.system.ammomax}}
|
||||||
(<a class="ammo-minus plus-minus-button"> -</a>/<a class="ammo-plus plus-minus-button">+</a>)
|
(<a class="ammo-minus plus-minus-button"> -</a>/<a class="ammo-plus plus-minus-button">+</a>)
|
||||||
</label></span>
|
</label></span>
|
||||||
{{else}}
|
{{else}}
|
||||||
@ -638,8 +638,8 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if (count weapon.data.effects)}}
|
{{#if (count weapon.system.effects)}}
|
||||||
{{#if weapon.data.activated}}
|
{{#if weapon.system.activated}}
|
||||||
<a class="equip-deactivate">Deactivate</a>
|
<a class="equip-deactivate">Deactivate</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="equip-activate">Activate</a>
|
<a class="equip-activate">Activate</a>
|
||||||
@ -648,11 +648,11 @@
|
|||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-short"><label>{{weapon.data.weight}}</label></span>
|
<span class="item-field-label-short"><label>{{weapon.system.weight}}</label></span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if weapon.data.idrDice}}
|
{{#if weapon.system.idrDice}}
|
||||||
<a class="roll-idr" data-dice-value="{{weapon.data.idrDice}}">{{weapon.data.idrDice}}</a>
|
<a class="roll-idr" data-dice-value="{{weapon.system.idrDice}}">{{weapon.system.idrDice}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -660,7 +660,7 @@
|
|||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control item-equip" title="Worn">{{#if weapon.data.equipped}}<i
|
<a class="item-control item-equip" title="Worn">{{#if weapon.system.equipped}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -702,13 +702,13 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{armor.img}}" /></a>
|
src="{{armor.img}}" /></a>
|
||||||
<span class="item-name-label">{{armor.name}}</span>
|
<span class="item-name-label">{{armor.name}}</span>
|
||||||
<span class="item-field-label-short">{{upper armor.data.statistic}}</span>
|
<span class="item-field-label-short">{{upper armor.system.statistic}}</span>
|
||||||
<span class="item-field-label-short">{{armor.data.resistanceDice}}</span>
|
<span class="item-field-label-short">{{armor.system.resistanceDice}}</span>
|
||||||
<span class="item-field-label-medium">{{armor.data.locationprotected}}</span>
|
<span class="item-field-label-medium">{{armor.system.locationprotected}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if (count armor.data.effects)}}
|
{{#if (count armor.system.effects)}}
|
||||||
{{#if armor.data.activated}}
|
{{#if armor.system.activated}}
|
||||||
<a class="equip-deactivate">Deactivate</a>
|
<a class="equip-deactivate">Deactivate</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="equip-activate">Activate</a>
|
<a class="equip-activate">Activate</a>
|
||||||
@ -718,10 +718,10 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="item-field-label-short">{{armor.data.weight}}</span>
|
<span class="item-field-label-short">{{armor.system.weight}}</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if armor.data.idrDice}}
|
{{#if armor.system.idrDice}}
|
||||||
<a class="roll-idr" data-dice-value="{{armor.data.idrDice}}">{{armor.data.idrDice}}</a>
|
<a class="roll-idr" data-dice-value="{{armor.system.idrDice}}">{{armor.system.idrDice}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -729,7 +729,7 @@
|
|||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control item-equip" title="Worn">{{#if armor.data.equipped}}<i
|
<a class="item-control item-equip" title="Worn">{{#if armor.system.equipped}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -764,11 +764,11 @@
|
|||||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||||
src="{{shield.img}}" /></a>
|
src="{{shield.img}}" /></a>
|
||||||
<span class="item-name-label">{{shield.name}}</span>
|
<span class="item-name-label">{{shield.name}}</span>
|
||||||
<span class="item-field-label-short">{{shield.data.levelDice}}</span>
|
<span class="item-field-label-short">{{shield.system.levelDice}}</span>
|
||||||
|
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if (count shield.data.effects)}}
|
{{#if (count shield.system.effects)}}
|
||||||
{{#if shield.data.activated}}
|
{{#if shield.system.activated}}
|
||||||
<a class="equip-deactivate">Deactivate</a>
|
<a class="equip-deactivate">Deactivate</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<a class="equip-activate">Activate</a>
|
<a class="equip-activate">Activate</a>
|
||||||
@ -778,17 +778,17 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="item-field-label-short">{{shield.data.weight}}</span>
|
<span class="item-field-label-short">{{shield.system.weight}}</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if shield.data.idrDice}}
|
{{#if shield.system.idrDice}}
|
||||||
<a class="roll-idr" data-dice-value="{{shield.data.idrDice}}">{{shield.data.idrDice}}</a>
|
<a class="roll-idr" data-dice-value="{{shield.system.idrDice}}">{{shield.system.idrDice}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control item-equip" title="Worn">{{#if shield.data.equipped}}<i
|
<a class="item-control item-equip" title="Worn">{{#if shield.system.equipped}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -822,7 +822,7 @@
|
|||||||
{{#each containersTree as |equip key|}}
|
{{#each containersTree as |equip key|}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=equip level=1}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=equip level=1}}
|
||||||
<ul class="item-list list-item-shadow2 list-item-margin1">
|
<ul class="item-list list-item-shadow2 list-item-margin1">
|
||||||
{{#each equip.data.contents as |subgear key|}}
|
{{#each equip.system.contents as |subgear key|}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=subgear level=2}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=subgear level=2}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
@ -840,24 +840,24 @@
|
|||||||
<ul class="item-list alternate-list">
|
<ul class="item-list alternate-list">
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Origin</label>
|
<label class="generic-label">Origin</label>
|
||||||
<input type="text" class="" name="data.biodata.origin" value="{{data.biodata.origin}}"
|
<input type="text" class="" name="system.biodata.origin" value="{{data.biodata.origin}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Age</label>
|
<label class="generic-label">Age</label>
|
||||||
<input type="text" class="" name="data.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Height</label>
|
<label class="generic-label">Height</label>
|
||||||
<input type="text" class="" name="data.biodata.size" value="{{data.biodata.size}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.size" value="{{data.biodata.size}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Eyes</label>
|
<label class="generic-label">Eyes</label>
|
||||||
<input type="text" class="" name="data.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.eyes" value="{{data.biodata.eyes}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow">
|
<li class="item flexrow">
|
||||||
<label class="generic-label">Hair</label>
|
<label class="generic-label">Hair</label>
|
||||||
<input type="text" class="" name="data.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -865,22 +865,22 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Weight</label>
|
<label class="generic-label">Weight</label>
|
||||||
<input type="text" class="" name="data.biodata.weight" value="{{data.biodata.weight}}"
|
<input type="text" class="" name="system.biodata.weight" value="{{data.biodata.weight}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Sex</label>
|
<label class="generic-label">Sex</label>
|
||||||
<input type="text" class="" name="data.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item">
|
<li class="flexrow item">
|
||||||
<label class="generic-label">Preferred Hand</label>
|
<label class="generic-label">Preferred Hand</label>
|
||||||
<input type="text" class="" name="data.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
|
<input type="text" class="" name="system.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow item" data-item-id="{{race._id}}">
|
<li class="flexrow item" data-item-id="{{race._id}}">
|
||||||
<label class="generic-label">Race</label>
|
<label class="generic-label">Race</label>
|
||||||
<a class="item-edit"><img class="stat-icon" src="{{race.img}}"></a>
|
<a class="item-edit"><img class="stat-icon" src="{{race.img}}"></a>
|
||||||
<input type="text" class="" name="data.biodata.racename" value="{{race.name}}" disabled
|
<input type="text" class="" name="system.biodata.racename" value="{{race.name}}" disabled
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
@ -889,7 +889,7 @@
|
|||||||
<li class="flexrow item" data-item-id="{{role._id}}">
|
<li class="flexrow item" data-item-id="{{role._id}}">
|
||||||
<label class="generic-label">Role</label>
|
<label class="generic-label">Role</label>
|
||||||
<a class="item-edit"><img class="stat-icon" src="{{role.img}}"></a>
|
<a class="item-edit"><img class="stat-icon" src="{{role.img}}"></a>
|
||||||
<input type="text" class="" name="data.biodata.rolename" value="{{role.name}}" disabled
|
<input type="text" class="" name="system.biodata.rolename" value="{{role.name}}" disabled
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
@ -914,7 +914,7 @@
|
|||||||
src="{{virtue.img}}" /></a>
|
src="{{virtue.img}}" /></a>
|
||||||
<span class="item-name-label">{{virtue.name}}</span>
|
<span class="item-name-label">{{virtue.name}}</span>
|
||||||
<span class="item-field-label-short"><label class="short-label">
|
<span class="item-field-label-short"><label class="short-label">
|
||||||
{{#if virtue.data.activated}}
|
{{#if virtue.system.activated}}
|
||||||
Activated
|
Activated
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
@ -923,7 +923,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control vice-virtue-activate" title="Activated">{{#if virtue.data.activated}}<i
|
<a class="item-control vice-virtue-activate" title="Activated">{{#if virtue.system.activated}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -947,7 +947,7 @@
|
|||||||
src="{{vice.img}}" /></a>
|
src="{{vice.img}}" /></a>
|
||||||
<span class="item-name-label">{{vice.name}}</span>
|
<span class="item-name-label">{{vice.name}}</span>
|
||||||
<span class="item-field-label-short"><label class="short-label">
|
<span class="item-field-label-short"><label class="short-label">
|
||||||
{{#if vice.data.activated}}
|
{{#if vice.system.activated}}
|
||||||
Activated
|
Activated
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
@ -957,7 +957,7 @@
|
|||||||
|
|
||||||
<div class="item-filler"> </div>
|
<div class="item-filler"> </div>
|
||||||
<div class="item-controls item-controls-fixed">
|
<div class="item-controls item-controls-fixed">
|
||||||
<a class="item-control vice-virtue-activate" title="Activated">{{#if vice.data.activated}}<i
|
<a class="item-control vice-virtue-activate" title="Activated">{{#if vice.system.activated}}<i
|
||||||
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -974,17 +974,17 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Worst Fear </label>
|
<label class="short-label">Worst Fear </label>
|
||||||
<input type="text" class="" name="data.biodata.worstfear" value="{{data.biodata.worstfear}}"
|
<input type="text" class="" name="system.biodata.worstfear" value="{{data.biodata.worstfear}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" class="change-worstfear"
|
<label class="attribute-value checkbox"><input type="checkbox" class="change-worstfear"
|
||||||
name="data.biodata.worstfearactive" {{checked data.biodata.worstfearactive}} /> Active ?</label>
|
name="system.biodata.worstfearactive" {{checked data.biodata.worstfearactive}} /> Active ?</label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Desires </label>
|
<label class="short-label">Desires </label>
|
||||||
<input type="text" class="" name="data.biodata.desires" value="{{data.biodata.desires}}"
|
<input type="text" class="" name="system.biodata.desires" value="{{data.biodata.desires}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" class="change-desires"
|
<label class="attribute-value checkbox"><input type="checkbox" class="change-desires"
|
||||||
name="data.biodata.desiresactive" {{checked data.biodata.desiresactive}} /> Active ?</label>
|
name="system.biodata.desiresactive" {{checked data.biodata.desiresactive}} /> Active ?</label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -992,17 +992,17 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Catchphrase </label>
|
<label class="short-label">Catchphrase </label>
|
||||||
<input type="text" class="" name="data.biodata.catchphrase" value="{{data.biodata.catchphrase}}"
|
<input type="text" class="" name="system.biodata.catchphrase" value="{{data.biodata.catchphrase}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Catchphrase Trigger : </label>
|
<label class="short-label">Catchphrase Trigger : </label>
|
||||||
<input type="text" class="" name="data.biodata.catchphrasetrigger" value="{{data.biodata.catchphrasetrigger}}"
|
<input type="text" class="" name="system.biodata.catchphrasetrigger" value="{{data.biodata.catchphrasetrigger}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Catchphrase used </label>
|
<label class="short-label">Catchphrase used </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.biodata.catchphraseused" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.biodata.catchphraseused" {{checked
|
||||||
data.biodata.catchphraseused}} /></label>
|
data.biodata.catchphraseused}} /></label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -1015,28 +1015,28 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Character Value : </label>
|
<label class="short-label">Character Value : </label>
|
||||||
<input type="text" class="" name="data.biodata.charactervalue" value="{{data.biodata.charactervalue}}"
|
<input type="text" class="" name="system.biodata.charactervalue" value="{{data.biodata.charactervalue}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Character Development Points Total (CDP total) : </label>
|
<label class="short-label">Character Development Points Total (CDP total) : </label>
|
||||||
<input type="text" class="" name="data.biodata.cdp" value="{{data.biodata.cdp}}" data-dtype="Number" />
|
<input type="text" class="" name="system.biodata.cdp" value="{{data.biodata.cdp}}" data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Bonus selection : </label>
|
<label class="short-label">Bonus selection : </label>
|
||||||
<input type="text" class="" name="data.biodata.bonusselection" value="{{data.biodata.bonusselection}}" data-dtype="String" />
|
<input type="text" class="" name="system.biodata.bonusselection" value="{{data.biodata.bonusselection}}" data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Morality : </label>
|
<label class="short-label">Morality : </label>
|
||||||
<input type="text" class="" name="data.biodata.morality" value="{{data.biodata.morality}}" data-dtype="Number" />
|
<input type="text" class="" name="system.biodata.morality" value="{{data.biodata.morality}}" data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Morality threshold : </label>
|
<label class="short-label">Morality threshold : </label>
|
||||||
<input type="text" class="" name="data.biodata.moralitythreshold" value="{{data.biodata.moralitythreshold}}" disabled data-dtype="Number" />
|
<input type="text" class="" name="system.biodata.moralitythreshold" value="{{data.biodata.moralitythreshold}}" disabled data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Hero Level (max) : </label>
|
<label class="short-label">Hero Level (max) : </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="data.biodata.maxlevelremaining" value="{{data.biodata.maxlevelremaining}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
<select class="status-small-label color-class-common" type="text" name="system.biodata.maxlevelremaining" value="{{data.biodata.maxlevelremaining}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||||
{{#select data.biodata.maxlevelremaining}}
|
{{#select data.biodata.maxlevelremaining}}
|
||||||
{{{@root.maxLevelRemainingList}}}
|
{{{@root.maxLevelRemainingList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -1044,7 +1044,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Hero Levels Remaining : </label>
|
<label class="short-label">Hero Levels Remaining : </label>
|
||||||
<select class="status-small-label color-class-common" type="text" name="data.biodata.currentlevelremaining" value="{{data.biodata.currentlevelremaining}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
<select class="status-small-label color-class-common" type="text" name="system.biodata.currentlevelremaining" value="{{data.biodata.currentlevelremaining}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||||
{{#select data.biodata.currentlevelremaining}}
|
{{#select data.biodata.currentlevelremaining}}
|
||||||
{{{@root.levelRemainingList}}}
|
{{{@root.levelRemainingList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -1052,7 +1052,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="short-label">Threat Level : </label>
|
<label class="short-label">Threat Level : </label>
|
||||||
<input type="text" class="" name="data.biodata.threatlevel" value="{{data.biodata.threatlevel}}"
|
<input type="text" class="" name="system.biodata.threatlevel" value="{{data.biodata.threatlevel}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -1060,13 +1060,13 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<h3>Background : </h3>
|
<h3>Background : </h3>
|
||||||
<div class="form-group editor">
|
<div class="form-group editor">
|
||||||
{{editor content=data.biodata.description target="data.biodata.description" button=true owner=owner
|
{{editor data.biodata.description target="system.biodata.description" button=true owner=owner
|
||||||
editable=editable}}
|
editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<h3>Notes : </h3>
|
<h3>Notes : </h3>
|
||||||
<div class="form-group editor">
|
<div class="form-group editor">
|
||||||
{{editor content=data.biodata.notes target="data.biodata.notes" button=true owner=owner editable=editable}}
|
{{editor data.biodata.notes target="system.biodata.notes" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
</article>
|
</article>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<div class="tab" data-group="primary">
|
<div class="tab" data-group="primary">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||||
{{#select data.statistic}}
|
{{#select data.statistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -27,29 +27,29 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">DMG RES Dice</label>
|
<li class="flexrow"><label class="generic-label">DMG RES Dice</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.resistance" value="{{data.resistance}}" data-dtype="Number">
|
<select class="competence-base flexrow" type="text" name="system.resistance" value="{{data.resistance}}" data-dtype="Number">
|
||||||
{{#select data.resistance}}
|
{{#select data.resistance}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Location Protected</label>
|
<li class="flexrow"><label class="generic-label">Location Protected</label>
|
||||||
<input type="text" class="" name="data.locationprotected" value="{{data.locationprotected}}" data-dtype="String"/>
|
<input type="text" class="" name="system.locationprotected" value="{{data.locationprotected}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked data.equipped}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Type</label>
|
<li class="flexrow"><label class="generic-label">Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.combattype" value="{{data.combattype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.combattype" value="{{data.combattype}}" data-dtype="String">
|
||||||
{{#select data.combattype}}
|
{{#select data.combattype}}
|
||||||
<option value="civilian">Civilian</option>
|
<option value="civilian">Civilian</option>
|
||||||
<option value="poorcombat">Poor Combat System</option>
|
<option value="poorcombat">Poor Combat System</option>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">FC</label>
|
<li class="flexrow"><label class="generic-label">FC</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.fc" value="{{data.fc}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.fc" value="{{data.fc}}" data-dtype="String">
|
||||||
{{#select data.fc}}
|
{{#select data.fc}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -36,11 +36,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Type</label>
|
<li class="flexrow"><label class="generic-label">Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.type" value="{{data.type}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.type" value="{{data.type}}" data-dtype="String">
|
||||||
{{#select data.type}}
|
{{#select data.type}}
|
||||||
<option value="mental">Mental</option>
|
<option value="mental">Mental</option>
|
||||||
<option value="physical">Physical</option>
|
<option value="physical">Physical</option>
|
||||||
@ -26,7 +26,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Positive/Negative</label>
|
<li class="flexrow"><label class="generic-label">Positive/Negative</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.genre" value="{{data.genre}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.genre" value="{{data.genre}}" data-dtype="String">
|
||||||
{{#select data.genre}}
|
{{#select data.genre}}
|
||||||
<option value="positive">Positive</option>
|
<option value="positive">Positive</option>
|
||||||
<option value="negative">Negative</option>
|
<option value="negative">Negative</option>
|
||||||
@ -35,40 +35,40 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">One use?</label>
|
<li class="flexrow"><label class="generic-label">One use?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.oneuse" {{checked data.oneuse}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.oneuse" {{checked data.oneuse}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Ignore health penalty?</label>
|
<li class="flexrow"><label class="generic-label">Ignore health penalty?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.ignorehealthpenalty" {{checked data.ignorehealthpenalty}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.ignorehealthpenalty" {{checked data.ignorehealthpenalty}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Display Text when targetted</label>
|
<li class="flexrow"><label class="generic-label">Display Text when targetted</label>
|
||||||
<input type="text" class="padd-right" name="data.isthispossible" value="{{data.isthispossible}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.isthispossible" value="{{data.isthispossible}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Mental disruption ?</label>
|
<li class="flexrow"><label class="generic-label">Mental disruption ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.mentaldisruption" {{checked data.mentaldisruption}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.mentaldisruption" {{checked data.mentaldisruption}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Physical disruption ?</label>
|
<li class="flexrow"><label class="generic-label">Physical disruption ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.physicaldisruption" {{checked data.physicaldisruption}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.physicaldisruption" {{checked data.physicaldisruption}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Mental immunity ?</label>
|
<li class="flexrow"><label class="generic-label">Mental immunity ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.mentalimmunity" {{checked data.mentalimmunity}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.mentalimmunity" {{checked data.mentalimmunity}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Physical immunity ?</label>
|
<li class="flexrow"><label class="generic-label">Physical immunity ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.physicalimmunity" {{checked data.physicalimmunity}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.physicalimmunity" {{checked data.physicalimmunity}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">No bonus dice ?</label>
|
<li class="flexrow"><label class="generic-label">No bonus dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.nobonusdice" {{checked data.nobonusdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.nobonusdice" {{checked data.nobonusdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">No perks allowed ?</label>
|
<li class="flexrow"><label class="generic-label">No perks allowed ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.noperksallowed" {{checked data.noperksallowed}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.noperksallowed" {{checked data.noperksallowed}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Effect Level is a Stat?</label>
|
<li class="flexrow"><label class="generic-label">Effect Level is a Stat?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.effectstatlevel" {{checked data.effectstatlevel}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.effectstatlevel" {{checked data.effectstatlevel}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{#if data.effectstatlevel}}
|
{{#if data.effectstatlevel}}
|
||||||
<li class="flexrow"><label class="generic-label">Stat to use for Effect Level</label>
|
<li class="flexrow"><label class="generic-label">Stat to use for Effect Level</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.effectstat" value="{{data.effectstat}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.effectstat" value="{{data.effectstat}}" data-dtype="String">
|
||||||
{{#select data.effectstat}}
|
{{#select data.effectstat}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=true all=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=true all=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{else}}
|
{{else}}
|
||||||
<li class="flexrow"><label class="generic-label">Effect Level</label>
|
<li class="flexrow"><label class="generic-label">Effect Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.effectlevel" value="{{data.effectlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.effectlevel" value="{{data.effectlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.specaffected as |spec idx|}}
|
{{#each data.specaffected as |spec idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.specaffected[{{idx}}].name"><a class="view-subitem" data-type="specaffected" data-index="{{idx}}">{{spec.name}}</a></label>
|
<label name="system.specaffected[{{idx}}].name"><a class="view-subitem" data-type="specaffected" data-index="{{idx}}">{{spec.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="specaffected" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="specaffected" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -97,7 +97,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Affected Stat</label>
|
<li class="flexrow"><label class="generic-label">Affected Stat</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.stataffected" value="{{data.stataffected}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.stataffected" value="{{data.stataffected}}" data-dtype="String">
|
||||||
{{#select data.stataffected}}
|
{{#select data.stataffected}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true all=true combat=true vehicle=true power=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true all=true combat=true vehicle=true power=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -108,29 +108,29 @@
|
|||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Choose one :</label></li>
|
<li class="flexrow"><label class="generic-label">Choose one :</label></li>
|
||||||
<li class="flexrow"><label class="generic-label">Stat Dice ?</label>
|
<li class="flexrow"><label class="generic-label">Stat Dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.statdice" {{checked data.statdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.statdice" {{checked data.statdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Bonus Dice ?</label>
|
<li class="flexrow"><label class="generic-label">Bonus Dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.bonusdice" {{checked data.bonusdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.bonusdice" {{checked data.bonusdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Weapon Damage ?</label>
|
<li class="flexrow"><label class="generic-label">Weapon Damage ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.otherdice" {{checked data.otherdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.otherdice" {{checked data.otherdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Reduce Dice Value ?</label>
|
<li class="flexrow"><label class="generic-label">Reduce Dice Value ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.reducedicevalue" {{checked data.reducedicevalue}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.reducedicevalue" {{checked data.reducedicevalue}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Hindrance ?</label>
|
<li class="flexrow"><label class="generic-label">Hindrance ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.hindrance" {{checked data.hindrance}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.hindrance" {{checked data.hindrance}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Resisted By</label>
|
<li class="flexrow"><label class="generic-label">Resisted By</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.resistedby" value="{{data.resistedby}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.resistedby" value="{{data.resistedby}}" data-dtype="String">
|
||||||
{{#select data.resistedby}}
|
{{#select data.resistedby}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -138,12 +138,12 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Recovery Roll ?</label>
|
<li class="flexrow"><label class="generic-label">Recovery Roll ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.recoveryroll" {{checked data.recoveryroll}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.recoveryroll" {{checked data.recoveryroll}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{#if data.recoveryroll}}
|
{{#if data.recoveryroll}}
|
||||||
<li class="flexrow"><label class="generic-label">Recovery Stat</label>
|
<li class="flexrow"><label class="generic-label">Recovery Stat</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.recoveryrollstat" value="{{data.recoveryrollstat}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.recoveryrollstat" value="{{data.recoveryrollstat}}" data-dtype="String">
|
||||||
{{#select data.recoveryrollstat}}
|
{{#select data.recoveryrollstat}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=false all=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -158,7 +158,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.recoveryrollspec as |spec idx|}}
|
{{#each data.recoveryrollspec as |spec idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.recoveryrollspec[{{idx}}].name"><a class="view-subitem" data-type="recoveryrollspec" data-index="{{idx}}">{{spec.name}}</a></label>
|
<label name="system.recoveryrollspec[{{idx}}].name"><a class="view-subitem" data-type="recoveryrollspec" data-index="{{idx}}">{{spec.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="recoveryrollspec" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="recoveryrollspec" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Type</label>
|
<li class="flexrow"><label class="generic-label">Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.type" value="{{data.type}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.type" value="{{data.type}}" data-dtype="String">
|
||||||
{{#select data.type}}
|
{{#select data.type}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-equipment-types.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-equipment-types.html}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -24,7 +24,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.stataffected" value="{{data.stataffected}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.stataffected" value="{{data.stataffected}}" data-dtype="String">
|
||||||
{{#select data.stataffected}}
|
{{#select data.stataffected}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -32,48 +32,48 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Level</label>
|
<li class="flexrow"><label class="generic-label">Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.level" value="{{data.level}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.level" value="{{data.level}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Stat Dice ?</label>
|
<li class="flexrow"><label class="generic-label">Stat Dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.statdice" {{checked data.statdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.statdice" {{checked data.statdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Bonus Dice ?</label>
|
<li class="flexrow"><label class="generic-label">Bonus Dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.bonusdice" {{checked data.bonusdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.bonusdice" {{checked data.bonusdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Other Dice ?</label>
|
<li class="flexrow"><label class="generic-label">Other Dice ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.otherdice" {{checked data.otherdice}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.otherdice" {{checked data.otherdice}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked data.equipped}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Quantity</label>
|
<li class="flexrow"><label class="generic-label">Quantity</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Is a container ?</label>
|
<li class="flexrow"><label class="generic-label">Is a container ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.iscontainer" {{checked data.iscontainer}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.iscontainer" {{checked data.iscontainer}}/></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.iscontainer}}
|
{{#if data.iscontainer}}
|
||||||
<li class="flexrow"><label class="generic-label">Container capacity</label>
|
<li class="flexrow"><label class="generic-label">Container capacity</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.containercapacity" value="{{data.containercapacity}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.containercapacity" value="{{data.containercapacity}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Vehicle category</label>
|
<li class="flexrow"><label class="generic-label">Vehicle category</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.vehiclecategory" value="{{data.vehiclecategory}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.vehiclecategory" value="{{data.vehiclecategory}}" data-dtype="String">
|
||||||
{{#select data.vehiclecategory}}
|
{{#select data.vehiclecategory}}
|
||||||
<option value="wheeled">Wheeled</option>
|
<option value="wheeled">Wheeled</option>
|
||||||
<option value="walker">Walker</option>
|
<option value="walker">Walker</option>
|
||||||
@ -30,7 +30,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Quality</label>
|
<li class="flexrow"><label class="generic-label">Quality</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.quality" value="{{data.quality}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.quality" value="{{data.quality}}" data-dtype="String">
|
||||||
{{#select data.quality}}
|
{{#select data.quality}}
|
||||||
<option value="poor">Poor</option>
|
<option value="poor">Poor</option>
|
||||||
<option value="standard">Standard</option>
|
<option value="standard">Standard</option>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">MR</label>
|
<li class="flexrow"><label class="generic-label">MR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.mr" value="{{data.mr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.mr" value="{{data.mr}}" data-dtype="String">
|
||||||
{{#select data.mr}}
|
{{#select data.mr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -54,11 +54,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">MAN : Apply as negative ?</label>
|
<li class="flexrow"><label class="generic-label">MAN : Apply as negative ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.negativeman" {{checked data.negativeman}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.negativeman" {{checked data.negativeman}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">MAN</label>
|
<li class="flexrow"><label class="generic-label">MAN</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.man" value="{{data.man}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.man" value="{{data.man}}" data-dtype="String">
|
||||||
{{#select data.man}}
|
{{#select data.man}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -66,7 +66,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Top speed - Front</label>
|
<li class="flexrow"><label class="generic-label">Top speed - Front</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.ts_f" value="{{data.ts_f}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.ts_f" value="{{data.ts_f}}" data-dtype="String">
|
||||||
{{#select data.ts_f}}
|
{{#select data.ts_f}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -74,7 +74,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Top speed - Left/Tight/Top/Bottom</label>
|
<li class="flexrow"><label class="generic-label">Top speed - Left/Tight/Top/Bottom</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.ts_s" value="{{data.ts_s}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.ts_s" value="{{data.ts_s}}" data-dtype="String">
|
||||||
{{#select data.ts_s}}
|
{{#select data.ts_s}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -82,18 +82,18 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Top speed - Rear</label>
|
<li class="flexrow"><label class="generic-label">Top speed - Rear</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.ts_r" value="{{data.ts_r}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.ts_r" value="{{data.ts_r}}" data-dtype="String">
|
||||||
{{#select data.ts_r}}
|
{{#select data.ts_r}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,13 +14,13 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Quantity</label>
|
<li class="flexrow"><label class="generic-label">Quantity</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Level</label>
|
<li class="flexrow"><label class="generic-label">Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.level" value="{{data.level}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.level" value="{{data.level}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Perk category</label>
|
<li class="flexrow"><label class="generic-label">Perk category</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.category" value="{{data.category}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.category" value="{{data.category}}" data-dtype="String">
|
||||||
{{#select data.category}}
|
{{#select data.category}}
|
||||||
<option value="general">General</option>
|
<option value="general">General</option>
|
||||||
<option value="agitator">Agitator</option>,
|
<option value="agitator">Agitator</option>,
|
||||||
@ -32,7 +32,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Perk Status</label>
|
<li class="flexrow"><label class="generic-label">Perk Status</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.status" value="{{data.status}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.status" value="{{data.status}}" data-dtype="String">
|
||||||
{{#select data.status}}
|
{{#select data.status}}
|
||||||
<option value="ready">Ready</option>
|
<option value="ready">Ready</option>
|
||||||
<option value="activated">Activated</option>
|
<option value="activated">Activated</option>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Number of use during activation</label>
|
<li class="flexrow"><label class="generic-label">Number of use during activation</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.nbuse" value="{{data.nbuse}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.nbuse" value="{{data.nbuse}}" data-dtype="String">
|
||||||
{{#select data.nbuse}}
|
{{#select data.nbuse}}
|
||||||
<option value="perkduration">For Duration of Perk</option>
|
<option value="perkduration">For Duration of Perk</option>
|
||||||
<option value="next1action">Next 1 Stated Action</option>
|
<option value="next1action">Next 1 Stated Action</option>
|
||||||
@ -53,11 +53,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Upgradable?</label>
|
<li class="flexrow"><label class="generic-label">Upgradable?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.upgradable" {{checked data.upgradable}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.upgradable" {{checked data.upgradable}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Is Weaver Perk?</label>
|
<li class="flexrow"><label class="generic-label">Is Weaver Perk?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.isweaver" {{checked data.isweaver}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.isweaver" {{checked data.isweaver}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Effects Gained</label>
|
<li class="flexrow"><label class="generic-label">Effects Gained</label>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.effectsgained as |effect idx|}}
|
{{#each data.effectsgained as |effect idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -78,46 +78,46 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">When activated display text</label>
|
<li class="flexrow"><label class="generic-label">When activated display text</label>
|
||||||
<input type="text" class="padd-right" name="data.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
|
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
|
||||||
<input type="text" class="padd-right" name="data.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{#each data.features as |feature key|}}
|
{{#each data.features as |feature key|}}
|
||||||
{{#if feature.isvalid}}
|
{{#if feature.isvalid}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="generic-label">{{feature.label}} ? </label>
|
<label class="generic-label">{{feature.label}} ? </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.features.{{key}}.flag" {{checked feature.flag}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.features.{{key}}.flag" {{checked feature.flag}}/></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if feature.flag}}
|
{{#if feature.flag}}
|
||||||
<ul class="ul-level1">
|
<ul class="ul-level1">
|
||||||
<li class="flexrow"><label class="generic-label">{{feature.label}}</label>
|
<li class="flexrow"><label class="generic-label">{{feature.label}}</label>
|
||||||
{{#if (eq feature.type "statdice")}}
|
{{#if (eq feature.type "statdice")}}
|
||||||
<select class="competence-base flexrow" type="text" name="data.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
||||||
{{#select feature.value}}
|
{{#select feature.value}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq feature.type "range")}}
|
{{#if (eq feature.type "range")}}
|
||||||
<select class="competence-base flexrow" type="text" name="data.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String">
|
||||||
{{#select feature.value}}
|
{{#select feature.value}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq feature.type "number")}}
|
{{#if (eq feature.type "number")}}
|
||||||
<input type="text" class="padd-right" name="data.features.{{key}}.value" value="{{feature.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="Number"/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq feature.type "string")}}
|
{{#if (eq feature.type "string")}}
|
||||||
<input type="text" class="padd-right" name="data.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq feature.type "dropspec")}}
|
{{#if (eq feature.type "dropspec")}}
|
||||||
<ul class="ul-level1">
|
<ul class="ul-level1">
|
||||||
<li class="flexrow"><div class="drop-spec-perk" data-key={{key}}><label>Drop Specialisation here !</label></div>
|
<li class="flexrow"><div class="drop-spec-perk" data-key={{key}}><label>Drop Specialisation here !</label></div>
|
||||||
</li>
|
</li>
|
||||||
<input type="text" class="padd-right" name="data.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.features.{{key}}.value" value="{{feature.value}}" data-dtype="String"/>
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (eq feature.type "text")}}
|
{{#if (eq feature.type "text")}}
|
||||||
|
@ -30,12 +30,12 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Roll Needed ?</label>
|
<li class="flexrow"><label class="generic-label">Roll Needed ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.rollneeded" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.rollneeded" {{checked
|
||||||
data.rollneeded}} /></label>
|
data.rollneeded}} /></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.rollneeded}}
|
{{#if data.rollneeded}}
|
||||||
<li class="flexrow"><label class="generic-label">Related Statistic (only if roll is needed)</label>
|
<li class="flexrow"><label class="generic-label">Related Statistic (only if roll is needed)</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}"
|
<select class="competence-base flexrow" type="text" name="system.statistic" value="{{data.statistic}}"
|
||||||
data-dtype="String">
|
data-dtype="String">
|
||||||
{{#select data.statistic}}
|
{{#select data.statistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||||
@ -46,25 +46,25 @@
|
|||||||
|
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="generic-label">Activated ? </label>
|
<label class="generic-label">Activated ? </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.activated" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked
|
||||||
data.activated}} /></label>
|
data.activated}} /></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">NRG Cost</label>
|
<li class="flexrow"><label class="generic-label">NRG Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">NRG Spent</label>
|
<li class="flexrow"><label class="generic-label">NRG Spent</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.costspent" value="{{data.costspent}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.costspent" value="{{data.costspent}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Power Level</label>
|
<li class="flexrow"><label class="generic-label">Power Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.powerlevel" value="{{data.powerlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.powerlevel" value="{{data.powerlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Range</label>
|
<li class="flexrow"><label class="generic-label">Range</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.range" value="{{data.range}}"
|
<select class="competence-base flexrow" type="text" name="system.range" value="{{data.range}}"
|
||||||
data-dtype="String">
|
data-dtype="String">
|
||||||
{{#select data.range}}
|
{{#select data.range}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
||||||
@ -72,7 +72,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Action</label>
|
<li class="flexrow"><label class="generic-label">Action</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.action" value="{{data.action}}"
|
<select class="competence-base flexrow" type="text" name="system.action" value="{{data.action}}"
|
||||||
data-dtype="String">
|
data-dtype="String">
|
||||||
{{#select data.action}}
|
{{#select data.action}}
|
||||||
<option value="soft">Soft</option>
|
<option value="soft">Soft</option>
|
||||||
@ -83,7 +83,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Type</label>
|
<li class="flexrow"><label class="generic-label">Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.type" value="{{data.type}}"
|
<select class="competence-base flexrow" type="text" name="system.type" value="{{data.type}}"
|
||||||
data-dtype="String">
|
data-dtype="String">
|
||||||
{{#select data.type}}
|
{{#select data.type}}
|
||||||
<option value="instant">Instant</option>
|
<option value="instant">Instant</option>
|
||||||
@ -94,18 +94,18 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Power Source</label>
|
<li class="flexrow"><label class="generic-label">Power Source</label>
|
||||||
<input type="text" class="padd-right" name="data.powersource" value="{{data.powersource}}"
|
<input type="text" class="padd-right" name="system.powersource" value="{{data.powersource}}"
|
||||||
data-dtype="String" />
|
data-dtype="String" />
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="generic-label">DMG Roll Needed ? </label>
|
<label class="generic-label">DMG Roll Needed ? </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.dmgroll" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.dmgroll" {{checked
|
||||||
data.dmgroll}} /></label>
|
data.dmgroll}} /></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.dmgroll}}
|
{{#if data.dmgroll}}
|
||||||
<li class="flexrow"><label class="generic-label">Related DMG Statistic </label>
|
<li class="flexrow"><label class="generic-label">Related DMG Statistic </label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.dmgstatistic" value="{{data.dmgstatistic}}"
|
<select class="competence-base flexrow" type="text" name="system.dmgstatistic" value="{{data.dmgstatistic}}"
|
||||||
data-dtype="String">
|
data-dtype="String">
|
||||||
{{#select data.dmgstatistic}}
|
{{#select data.dmgstatistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||||
@ -115,17 +115,17 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">When purchased display text</label>
|
<li class="flexrow"><label class="generic-label">When purchased display text</label>
|
||||||
<input type="text" class="padd-right" name="data.purchasedtext" value="{{data.purchasedtext}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.purchasedtext" value="{{data.purchasedtext}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">When activated display text</label>
|
<li class="flexrow"><label class="generic-label">When activated display text</label>
|
||||||
<input type="text" class="padd-right" name="data.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
|
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
|
||||||
<input type="text" class="padd-right" name="data.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Power Level Cost</label>
|
<li class="flexrow"><label class="generic-label">Power Level Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.powerlevelcost" value="{{data.powerlevelcost}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.powerlevelcost" value="{{data.powerlevelcost}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -138,7 +138,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.effectsgained as |effect idx|}}
|
{{#each data.effectsgained as |effect idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained"
|
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained"
|
||||||
data-index="{{idx}}">{{effect.name}}</a></label>
|
data-index="{{idx}}">{{effect.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}"
|
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Power core type</label>
|
<li class="flexrow"><label class="generic-label">Power core type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.coretype" value="{{data.coretype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.coretype" value="{{data.coretype}}" data-dtype="String">
|
||||||
{{#select data.coretype}}
|
{{#select data.coretype}}
|
||||||
<option value="small">Small</option>
|
<option value="small">Small</option>
|
||||||
<option value="standard">Standard</option>
|
<option value="standard">Standard</option>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">PC</label>
|
<li class="flexrow"><label class="generic-label">PC</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.pc" value="{{data.pc}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.pc" value="{{data.pc}}" data-dtype="String">
|
||||||
{{#select data.pc}}
|
{{#select data.pc}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -35,14 +35,14 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">NRG</label>
|
<li class="flexrow"><label class="generic-label">NRG</label>
|
||||||
<input type="text" class="" name="data.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Quality</label>
|
<li class="flexrow"><label class="generic-label">Quality</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.quality" value="{{data.quality}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.quality" value="{{data.quality}}" data-dtype="String">
|
||||||
{{#select data.quality}}
|
{{#select data.quality}}
|
||||||
<option value="poor">Poor</option>
|
<option value="poor">Poor</option>
|
||||||
<option value="standard">Standard</option>
|
<option value="standard">Standard</option>
|
||||||
@ -26,19 +26,19 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">A/D</label>
|
<li class="flexrow"><label class="generic-label">A/D</label>
|
||||||
<input type="text" class="" name="data.ad" value="{{data.ad}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.ad" value="{{data.ad}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Top Speed (TS)</label>
|
<li class="flexrow"><label class="generic-label">Top Speed (TS)</label>
|
||||||
<input type="text" class="" name="data.topspeed" value="{{data.topspeed}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.topspeed" value="{{data.topspeed}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -14,19 +14,19 @@
|
|||||||
|
|
||||||
<label class="generic-label">Description</label>
|
<label class="generic-label">Description</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
{{editor data.description target="data.description" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
<label class="generic-label">Environment</label>
|
<label class="generic-label">Environment</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
{{editor content=data.environment target="data.environment" button=true owner=owner editable=editable}}
|
{{editor data.environment target="data.environment" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
<label class="generic-label">Society/Culture</label>
|
<label class="generic-label">Society/Culture</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
{{editor content=data.society_culture target="data.society_culture" button=true owner=owner editable=editable}}
|
{{editor data.society_culture target="data.society_culture" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
<label class="generic-label">Outlook</label>
|
<label class="generic-label">Outlook</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
{{editor content=data.outlook target="data.outlook" button=true owner=owner editable=editable}}
|
{{editor data.outlook target="data.outlook" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.abilities as |ability idx|}}
|
{{#each data.abilities as |ability idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.abilities[{{idx}}].name"><a class="view-subitem" data-type="abilities"
|
<label name="system.abilities[{{idx}}].name"><a class="view-subitem" data-type="abilities"
|
||||||
data-index="{{idx}}">{{ability.name}}</a></label>
|
data-index="{{idx}}">{{ability.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="abilities" data-index="{{idx}}"
|
<a class="item-control delete-subitem padd-left" data-type="abilities" data-index="{{idx}}"
|
||||||
@ -53,16 +53,16 @@
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Selectable Stats ?</label>
|
<li class="flexrow"><label class="generic-label">Selectable Stats ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.selectablestats" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.selectablestats" {{checked
|
||||||
data.selectablestats}} /></label>
|
data.selectablestats}} /></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.selectablestats}}
|
{{#if data.selectablestats}}
|
||||||
<li class="flexrow"><label class="generic-label">Select 1 stat only once?</label>
|
<li class="flexrow"><label class="generic-label">Select 1 stat only once?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.statsonlyonce" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.statsonlyonce" {{checked
|
||||||
data.statsonlyonce}} /></label>
|
data.statsonlyonce}} /></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Number of selectable stats</label>
|
<li class="flexrow"><label class="generic-label">Number of selectable stats</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.numberstats" value="{{data.numberstats}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.numberstats" value="{{data.numberstats}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Number of Optionnal Abilities</label>
|
<li class="flexrow"><label class="generic-label">Number of Optionnal Abilities</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.nboptionnal" value="{{data.nboptionnal}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.nboptionnal" value="{{data.nboptionnal}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -82,7 +82,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.optionnalabilities as |ability idx|}}
|
{{#each data.optionnalabilities as |ability idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.optionnalabilities[{{idx}}].name"><a class="view-subitem" data-type="optionnalabilities"
|
<label name="system.optionnalabilities[{{idx}}].name"><a class="view-subitem" data-type="optionnalabilities"
|
||||||
data-index="{{idx}}">{{ability.name}}</a></label>
|
data-index="{{idx}}">{{ability.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="optionnalabilities" data-index="{{idx}}"
|
<a class="item-control delete-subitem padd-left" data-type="optionnalabilities" data-index="{{idx}}"
|
||||||
@ -95,16 +95,16 @@
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Perks Gained ?</label>
|
<li class="flexrow"><label class="generic-label">Perks Gained ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.perksgained" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.perksgained" {{checked
|
||||||
data.perksgained}} /></label>
|
data.perksgained}} /></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.perksgained}}
|
{{#if data.perksgained}}
|
||||||
<li class="flexrow"><label class="generic-label">Choose in all available perks?</label>
|
<li class="flexrow"><label class="generic-label">Choose in all available perks?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.perksall" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.perksall" {{checked
|
||||||
data.perksall}} /></label>
|
data.perksall}} /></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Number of perks to gain</label>
|
<li class="flexrow"><label class="generic-label">Number of perks to gain</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.perksnumber" value="{{data.perksnumber}}"
|
<input type="text" class="input-numeric-short padd-right" name="system.perksnumber" value="{{data.perksnumber}}"
|
||||||
data-dtype="Number" />
|
data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
{{#if data.perksall}}
|
{{#if data.perksall}}
|
||||||
@ -115,7 +115,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.perks as |perk idx|}}
|
{{#each data.perks as |perk idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.perks[{{idx}}].name"><a class="view-subitem" data-type="perks"
|
<label name="system.perks[{{idx}}].name"><a class="view-subitem" data-type="perks"
|
||||||
data-index="{{idx}}">{{perk.name}}</a></label>
|
data-index="{{idx}}">{{perk.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="perks" data-index="{{idx}}"
|
<a class="item-control delete-subitem padd-left" data-type="perks" data-index="{{idx}}"
|
||||||
|
@ -17,14 +17,14 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Stat increase 1</label>
|
<li class="flexrow"><label class="generic-label">Stat increase 1</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statincrease1" value="{{data.statincrease1}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.statincrease1" value="{{data.statincrease1}}" data-dtype="String">
|
||||||
{{#select data.statincrease1}}
|
{{#select data.statincrease1}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Stat increase 2</label>
|
<li class="flexrow"><label class="generic-label">Stat increase 2</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statincrease2" value="{{data.statincrease2}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.statincrease2" value="{{data.statincrease2}}" data-dtype="String">
|
||||||
{{#select data.statincrease2}}
|
{{#select data.statincrease2}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false mr=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -38,13 +38,13 @@
|
|||||||
<label class="generic-label">Starting Specialisations : </label>
|
<label class="generic-label">Starting Specialisations : </label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<input type="text" class="padd-right" name="data.messagespecplus1" value="{{data.messagespecplus1}}" data-dtype="String"/>
|
<input type="text" class="padd-right" name="system.messagespecplus1" value="{{data.messagespecplus1}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><div class="drop-spec1"><label>Drop Specialisations here !</label></div>
|
<li class="flexrow"><div class="drop-spec1"><label>Drop Specialisations here !</label></div>
|
||||||
</li>
|
</li>
|
||||||
{{#each data.specialisationsplus1 as |spec idx|}}
|
{{#each data.specialisationsplus1 as |spec idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.specialisationsplus1[{{idx}}].name"><a class="view-subitem" data-type="specialisationsplus1" data-index="{{idx}}">{{spec.name}}</a></label>
|
<label name="system.specialisationsplus1[{{idx}}].name"><a class="view-subitem" data-type="specialisationsplus1" data-index="{{idx}}">{{spec.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="specialisationsplus1" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="specialisationsplus1" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.specialability as |ability idx|}}
|
{{#each data.specialability as |ability idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.specialability[{{idx}}].name"><a class="view-subitem" data-type="specialability" data-index="{{idx}}">{{ability.name}}</a></label>
|
<label name="system.specialability[{{idx}}].name"><a class="view-subitem" data-type="specialability" data-index="{{idx}}">{{ability.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="specialability" data-index="{{idx}}" title="Delete Ability"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="specialability" data-index="{{idx}}" title="Delete Ability"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -84,7 +84,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.specincrease as |spec idx|}}
|
{{#each data.specincrease as |spec idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.specincrease[{{idx}}].name"><a class="view-subitem" data-type="specincrease" data-index="{{idx}}">{{spec.name}}</a></label>
|
<label name="system.specincrease[{{idx}}].name"><a class="view-subitem" data-type="specincrease" data-index="{{idx}}">{{spec.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="specincrease" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="specincrease" data-index="{{idx}}" title="Delete Spec"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -99,7 +99,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.perks as |perk idx|}}
|
{{#each data.perks as |perk idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.perk[{{idx}}].name"><a class="view-subitem" data-type="perks" data-index="{{idx}}">{{perk.name}}</a></label>
|
<label name="system.perk[{{idx}}].name"><a class="view-subitem" data-type="perks" data-index="{{idx}}">{{perk.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="perks" data-index="{{idx}}" title="Delete Perk"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="perks" data-index="{{idx}}" title="Delete Perk"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Defense Type</label>
|
<li class="flexrow"><label class="generic-label">Defense Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.deftype" value="{{data.deftype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.deftype" value="{{data.deftype}}" data-dtype="String">
|
||||||
{{#select data.deftype}}
|
{{#select data.deftype}}
|
||||||
<option value="dodge">Dodge</option>
|
<option value="dodge">Dodge</option>
|
||||||
<option value="block">Block</option>
|
<option value="block">Block</option>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Bonus Dice</label>
|
<li class="flexrow"><label class="generic-label">Bonus Dice</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
<select class="competence-base flexrow" type="text" name="system.level" value="{{data.level}}" data-dtype="Number">
|
||||||
{{#select data.level}}
|
{{#select data.level}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-level.html}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -33,16 +33,16 @@
|
|||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked data.equipped}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
<li class="flexrow"><label class="generic-label">Related Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||||
{{#select data.statistic}}
|
{{#select data.statistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -24,18 +24,18 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Level</label>
|
<li class="flexrow"><label class="generic-label">Level</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.level" value="{{data.level}}" data-dtype="Number">
|
<select class="competence-base flexrow" type="text" name="system.level" value="{{data.level}}" data-dtype="Number">
|
||||||
{{#select data.level}}
|
{{#select data.level}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Is Power Group ?</label>
|
<li class="flexrow"><label class="generic-label">Is Power Group ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.ispowergroup" {{checked data.ispowergroup}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.ispowergroup" {{checked data.ispowergroup}}/></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.ispowergroup}}
|
{{#if data.ispowergroup}}
|
||||||
<li class="flexrow"><label class="generic-label">Available Power sources</label>
|
<li class="flexrow"><label class="generic-label">Available Power sources</label>
|
||||||
<input type="text" class="" name="data.powersource" value="{{data.powersource}}" data-dtype="String"/>
|
<input type="text" class="" name="system.powersource" value="{{data.powersource}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Available Powers</label>
|
<li class="flexrow"><label class="generic-label">Available Powers</label>
|
||||||
</li>
|
</li>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.powers as |power idx|}}
|
{{#each data.powers as |power idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.powers[{{idx}}].name"><a class="view-subitem" data-type="powers" data-index="{{idx}}">{{power.name}}</a></label>
|
<label name="system.powers[{{idx}}].name"><a class="view-subitem" data-type="powers" data-index="{{idx}}">{{power.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="powers" data-index="{{idx}}" title="Delete Power"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="powers" data-index="{{idx}}" title="Delete Power"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li class="flexrow"><label class="generic-label">Use for Threat Level ?</label>
|
<li class="flexrow"><label class="generic-label">Use for Threat Level ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.isthreatlevel" {{checked data.isthreatlevel}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.isthreatlevel" {{checked data.isthreatlevel}}/></label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Hull type</label>
|
<li class="flexrow"><label class="generic-label">Hull type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.hulltype" value="{{data.hulltype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.hulltype" value="{{data.hulltype}}" data-dtype="String">
|
||||||
{{#select data.hulltype}}
|
{{#select data.hulltype}}
|
||||||
<option value="tiny">Tiny</option>
|
<option value="tiny">Tiny</option>
|
||||||
<option value="small">Small</option>
|
<option value="small">Small</option>
|
||||||
@ -35,11 +35,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Size</label>
|
<li class="flexrow"><label class="generic-label">Size</label>
|
||||||
<input type="text" class="" name="data.size" value="{{data.size}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.size" value="{{data.size}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">HR</label>
|
<li class="flexrow"><label class="generic-label">HR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.hr" value="{{data.hr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.hr" value="{{data.hr}}" data-dtype="String">
|
||||||
{{#select data.hr}}
|
{{#select data.hr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -47,7 +47,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">MAN</label>
|
<li class="flexrow"><label class="generic-label">MAN</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.man" value="{{data.man}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.man" value="{{data.man}}" data-dtype="String">
|
||||||
{{#select data.man}}
|
{{#select data.man}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -55,11 +55,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">VMS</label>
|
<li class="flexrow"><label class="generic-label">VMS</label>
|
||||||
<input type="text" class="" name="data.vms" value="{{data.vms}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.vms" value="{{data.vms}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Category</label>
|
<li class="flexrow"><label class="generic-label">Category</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.category" value="{{data.category}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.category" value="{{data.category}}" data-dtype="String">
|
||||||
{{#select data.category}}
|
{{#select data.category}}
|
||||||
<option value="mobility">Mobility</option>
|
<option value="mobility">Mobility</option>
|
||||||
<option value="com">Com</option>
|
<option value="com">Com</option>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Location</label>
|
<li class="flexrow"><label class="generic-label">Location</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.location" value="{{data.location}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.location" value="{{data.location}}" data-dtype="String">
|
||||||
{{#select data.location}}
|
{{#select data.location}}
|
||||||
<option value="front">Front</option>
|
<option value="front">Front</option>
|
||||||
<option value="left">Left</option>
|
<option value="left">Left</option>
|
||||||
@ -47,17 +47,17 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Activated ?</label>
|
<li class="flexrow"><label class="generic-label">Activated ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.activated" {{checked data.activated}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked data.activated}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">NRG</label>
|
<li class="flexrow"><label class="generic-label">NRG</label>
|
||||||
<input type="text" class="" name="data.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Arc coverage</label>
|
<li class="flexrow"><label class="generic-label">Arc coverage</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.arccoverage" value="{{data.arccoverage}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.arccoverage" value="{{data.arccoverage}}" data-dtype="String">
|
||||||
{{#select data.arccoverage}}
|
{{#select data.arccoverage}}
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="all">All</option>
|
<option value="all">All</option>
|
||||||
@ -72,21 +72,21 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Armour Dice Value</label>
|
<li class="flexrow"><label class="generic-label">Armour Dice Value</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.armourdicevalue" value="{{data.armourdicevalue}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.armourdicevalue" value="{{data.armourdicevalue}}" data-dtype="String">
|
||||||
{{#select data.armourdicevalue}}
|
{{#select data.armourdicevalue}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Shield Dice Value</label>
|
<li class="flexrow"><label class="generic-label">Shield Dice Value</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.shielddicevalue" value="{{data.shielddicevalue}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.shielddicevalue" value="{{data.shielddicevalue}}" data-dtype="String">
|
||||||
{{#select data.shielddicevalue}}
|
{{#select data.shielddicevalue}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Security Dice Value</label>
|
<li class="flexrow"><label class="generic-label">Security Dice Value</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.securitydicevalue" value="{{data.securitydicevalue}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.securitydicevalue" value="{{data.securitydicevalue}}" data-dtype="String">
|
||||||
{{#select data.securitydicevalue}}
|
{{#select data.securitydicevalue}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Range</label>
|
<li class="flexrow"><label class="generic-label">Range</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.range" value="{{data.range}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.range" value="{{data.range}}" data-dtype="String">
|
||||||
{{#select data.range}}
|
{{#select data.range}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -102,18 +102,18 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Location</label>
|
<li class="flexrow"><label class="generic-label">Location</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.location" value="{{data.location}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.location" value="{{data.location}}" data-dtype="String">
|
||||||
{{#select data.location}}
|
{{#select data.location}}
|
||||||
<option value="front">Front</option>
|
<option value="front">Front</option>
|
||||||
<option value="left">Left</option>
|
<option value="left">Left</option>
|
||||||
@ -28,28 +28,28 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Weapon size</label>
|
<li class="flexrow"><label class="generic-label">Weapon size</label>
|
||||||
<input type="text" class="" name="data.size" value="{{data.size}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.size" value="{{data.size}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Activated ?</label>
|
<li class="flexrow"><label class="generic-label">Activated ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.activated" {{checked data.activated}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked data.activated}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">NRG</label>
|
<li class="flexrow"><label class="generic-label">NRG</label>
|
||||||
<input type="text" class="" name="data.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.nrg" value="{{data.nrg}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Damage Dice Value</label>
|
<li class="flexrow"><label class="generic-label">Damage Dice Value</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.damagedicevalue" value="{{data.damagedicevalue}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.damagedicevalue" value="{{data.damagedicevalue}}" data-dtype="String">
|
||||||
{{#select data.damagedicevalue}}
|
{{#select data.damagedicevalue}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Damage Type</label>
|
<li class="flexrow"><label class="generic-label">Damage Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.damagetype" value="{{data.damagetype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.damagetype" value="{{data.damagetype}}" data-dtype="String">
|
||||||
{{#select data.damagetype}} None, Cr, Pi, Sl, EMP, Kin, Therm, Pi&Therm, Pi&EMP, Pi&Kin, Cr&Therm, Cr&EMP, Cr&Kin
|
{{#select data.damagetype}} None, Cr, Pi, Sl, EMP, Kin, Therm, Pi&Therm, Pi&EMP, Pi&Kin, Cr&Therm, Cr&EMP, Cr&Kin
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="cr">Cr</option>
|
<option value="cr">Cr</option>
|
||||||
@ -68,7 +68,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Optimal Range</label>
|
<li class="flexrow"><label class="generic-label">Optimal Range</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.range" value="{{data.range}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.range" value="{{data.range}}" data-dtype="String">
|
||||||
{{#select data.range}}
|
{{#select data.range}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">AoE</label>
|
<li class="flexrow"><label class="generic-label">AoE</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.aoe" value="{{data.aoe}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.aoe" value="{{data.aoe}}" data-dtype="String">
|
||||||
{{#select data.aoe}}
|
{{#select data.aoe}}
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="tz">TZ</option>
|
<option value="tz">TZ</option>
|
||||||
@ -91,7 +91,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Turret</label>
|
<li class="flexrow"><label class="generic-label">Turret</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.turret" value="{{data.turret}}" data-dtype="Number">
|
<select class="competence-base flexrow" type="text" name="system.turret" value="{{data.turret}}" data-dtype="Number">
|
||||||
{{#select data.turret}} F Front, F Left, F Right, F Rear, F Up, F Down, T 180 Front, T 180 Left, T 180 Rear, T 180 Right, T 360
|
{{#select data.turret}} F Front, F Left, F Right, F Rear, F Up, F Down, T 180 Front, T 180 Left, T 180 Rear, T 180 Right, T 360
|
||||||
<option value="ffront">F Front</option>
|
<option value="ffront">F Front</option>
|
||||||
<option value="fleft">F Left</option>
|
<option value="fleft">F Left</option>
|
||||||
@ -109,11 +109,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Linked weapon ?</label>
|
<li class="flexrow"><label class="generic-label">Linked weapon ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.linkedweapon" {{checked data.linkedweapon}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.linkedweapon" {{checked data.linkedweapon}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -121,11 +121,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Space</label>
|
<li class="flexrow"><label class="generic-label">Space</label>
|
||||||
<input type="text" class="" name="data.space" value="{{data.space}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.space" value="{{data.space}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.unavailablevirtue as |vice idx|}}
|
{{#each data.unavailablevirtue as |vice idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.unavailablevirtue[{{idx}}].name"><a class="view-subitem" data-type="unavailablevirtue" data-index="{{idx}}">{{vice.name}}</a></label>
|
<label name="system.unavailablevirtue[{{idx}}].name"><a class="view-subitem" data-type="unavailablevirtue" data-index="{{idx}}">{{vice.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="unavailablevirtue" data-index="{{idx}}" title="Delete Virtue"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="unavailablevirtue" data-index="{{idx}}" title="Delete Virtue"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="generic-label">Activated ? </label>
|
<label class="generic-label">Activated ? </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.activated" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked
|
||||||
data.activated}} /></label>
|
data.activated}} /></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -45,7 +45,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.effectsgained as |effect idx|}}
|
{{#each data.effectsgained as |effect idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -55,7 +55,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.unavailablevice as |vice idx|}}
|
{{#each data.unavailablevice as |vice idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.unavailablevice[{{idx}}].name"><a class="view-subitem" data-type="unavailablevice" data-index="{{idx}}">{{vice.name}}</a></label>
|
<label name="system.unavailablevice[{{idx}}].name"><a class="view-subitem" data-type="unavailablevice" data-index="{{idx}}">{{vice.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="unavailablevice" data-index="{{idx}}" title="Delete Vice"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="unavailablevice" data-index="{{idx}}" title="Delete Vice"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label class="generic-label">Activated ? </label>
|
<label class="generic-label">Activated ? </label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.activated" {{checked
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.activated" {{checked
|
||||||
data.activated}} /></label>
|
data.activated}} /></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -45,7 +45,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.effectsgained as |effect idx|}}
|
{{#each data.effectsgained as |effect idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
<label name="system.effectsgained[{{idx}}].name"><a class="view-subitem" data-type="effectsgained" data-index="{{idx}}">{{effect.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="effectsgained" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
@ -55,7 +55,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
<li class="flexrow"><label class="generic-label">Threat Level Value</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.threatlevel" value="{{data.threatlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="flexrow"><label class="generic-label">Related Attack Statistic</label>
|
<li class="flexrow"><label class="generic-label">Related Attack Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.statistic" value="{{data.statistic}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.statistic" value="{{data.statistic}}" data-dtype="String">
|
||||||
{{#select data.statistic}}
|
{{#select data.statistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -23,7 +23,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Related DMG Statistic</label>
|
<li class="flexrow"><label class="generic-label">Related DMG Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.damagestatistic" value="{{data.damagestatistic}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.damagestatistic" value="{{data.damagestatistic}}" data-dtype="String">
|
||||||
{{#select data.damagestatistic}}
|
{{#select data.damagestatistic}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -31,7 +31,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Damage Dice</label>
|
<li class="flexrow"><label class="generic-label">Damage Dice</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.damage" value="{{data.damage}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.damage" value="{{data.damage}}" data-dtype="String">
|
||||||
{{#select data.damage}}
|
{{#select data.damage}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -39,11 +39,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Item size</label>
|
<li class="flexrow"><label class="generic-label">Item size</label>
|
||||||
<input type="text" class="" name="data.itemsize" value="{{data.itemsize}}" data-dtype="String"/>
|
<input type="text" class="" name="system.itemsize" value="{{data.itemsize}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Optimal Range</label>
|
<li class="flexrow"><label class="generic-label">Optimal Range</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.range" value="{{data.range}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.range" value="{{data.range}}" data-dtype="String">
|
||||||
{{#select data.range}}
|
{{#select data.range}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-range.html notapplicable=true}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
@ -51,11 +51,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Max Range</label>
|
<li class="flexrow"><label class="generic-label">Max Range</label>
|
||||||
<input type="text" class="" name="data.maxrange" value="{{data.maxrange}}" data-dtype="String"/>
|
<input type="text" class="" name="system.maxrange" value="{{data.maxrange}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">AoE</label>
|
<li class="flexrow"><label class="generic-label">AoE</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.aoe" value="{{data.aoe}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.aoe" value="{{data.aoe}}" data-dtype="String">
|
||||||
{{#select data.aoe}}
|
{{#select data.aoe}}
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="tz">TZ</option>
|
<option value="tz">TZ</option>
|
||||||
@ -69,7 +69,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Damage Type</label>
|
<li class="flexrow"><label class="generic-label">Damage Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.damagetype" value="{{data.damagetype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.damagetype" value="{{data.damagetype}}" data-dtype="String">
|
||||||
{{#select data.damagetype}}
|
{{#select data.damagetype}}
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="slashing">Slashing</option>
|
<option value="slashing">Slashing</option>
|
||||||
@ -81,11 +81,11 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Damage Type Level</label>
|
<li class="flexrow"><label class="generic-label">Damage Type Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.damagetypelevel" value="{{data.damagetypelevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.damagetypelevel" value="{{data.damagetypelevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Vehicle Damage Type</label>
|
<li class="flexrow"><label class="generic-label">Vehicle Damage Type</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.vehicledamagetype" value="{{data.vehicledamagetype}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.vehicledamagetype" value="{{data.vehicledamagetype}}" data-dtype="String">
|
||||||
{{#select data.vehicledamagetype}}
|
{{#select data.vehicledamagetype}}
|
||||||
<option value="none">None</option>
|
<option value="none">None</option>
|
||||||
<option value="emp">EMP</option>
|
<option value="emp">EMP</option>
|
||||||
@ -99,48 +99,48 @@
|
|||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-equipment-effects.html}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Vehicle Damage Type Level</label>
|
<li class="flexrow"><label class="generic-label">Vehicle Damage Type Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.vehicledamagetypelevel" value="{{data.vehicledamagetypelevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.vehicledamagetypelevel" value="{{data.vehicledamagetypelevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Ammo - Current</label>
|
<li class="flexrow"><label class="generic-label">Ammo - Current</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.ammocurrent" value="{{data.ammocurrent}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.ammocurrent" value="{{data.ammocurrent}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Ammo - Max</label>
|
<li class="flexrow"><label class="generic-label">Ammo - Max</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.ammomax" value="{{data.ammomax}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.ammomax" value="{{data.ammomax}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked data.equipped}}/></label>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Can be thrown ?</label>
|
<li class="flexrow"><label class="generic-label">Can be thrown ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.canbethrown" {{checked data.canbethrown}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.canbethrown" {{checked data.canbethrown}}/></label>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Enhanced ?</label>
|
<li class="flexrow"><label class="generic-label">Enhanced ?</label>
|
||||||
<label class="attribute-value checkbox"><input type="checkbox" name="data.enhanced" {{checked data.enhanced}}/></label>
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.enhanced" {{checked data.enhanced}}/></label>
|
||||||
</li>
|
</li>
|
||||||
{{#if data.enhanced}}
|
{{#if data.enhanced}}
|
||||||
<li class="flexrow"><label class="generic-label">Enhanced Attack Statistic</label>
|
<li class="flexrow"><label class="generic-label">Enhanced Attack Statistic</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.enhancedstat" value="{{data.enhancedstat}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.enhancedstat" value="{{data.enhancedstat}}" data-dtype="String">
|
||||||
{{#select data.enhancedstat}}
|
{{#select data.enhancedstat}}
|
||||||
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=false}}
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=false special=false}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Enhance Level</label>
|
<li class="flexrow"><label class="generic-label">Enhance Level</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.enhancedlevel" value="{{data.enhancedlevel}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.enhancedlevel" value="{{data.enhancedlevel}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Weight</label>
|
<li class="flexrow"><label class="generic-label">Weight</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.weight" value="{{data.weight}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.cost" value="{{data.cost}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{data.cost}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
<li class="flexrow"><label class="generic-label">IDR</label>
|
<li class="flexrow"><label class="generic-label">IDR</label>
|
||||||
<select class="competence-base flexrow" type="text" name="data.idr" value="{{data.idr}}" data-dtype="String">
|
<select class="competence-base flexrow" type="text" name="system.idr" value="{{data.idr}}" data-dtype="String">
|
||||||
{{#select data.idr}}
|
{{#select data.idr}}
|
||||||
{{{optionsDiceList}}}
|
{{{optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<div class="">
|
<div class="">
|
||||||
|
|
||||||
<span class="generic-label"><h3>Type</h3>
|
<span class="generic-label"><h3>Type</h3>
|
||||||
<select class="competence-base flexrow" type="text" name="data.npctype" value="{{data.npctype}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
|
<select class="competence-base flexrow" type="text" name="system.npctype" value="{{data.npctype}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||||
{{#select data.npctype}}
|
{{#select data.npctype}}
|
||||||
<option value="henchman">Henchman</option>
|
<option value="henchman">Henchman</option>
|
||||||
<option value="drone">Troop</option>
|
<option value="drone">Troop</option>
|
||||||
@ -65,7 +65,7 @@
|
|||||||
{{#each data.spec as |spec key|}}
|
{{#each data.spec as |spec key|}}
|
||||||
<li class="item flexrow list-item stack-left" data-attr-key="{{key}}">
|
<li class="item flexrow list-item stack-left" data-attr-key="{{key}}">
|
||||||
<span class="stat-label padd-right npc-stat-label" name="{{key}}">{{spec.label}}</span>
|
<span class="stat-label padd-right npc-stat-label" name="{{key}}">{{spec.label}}</span>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.spec.{{key}}.value" value="{{spec.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}/>
|
<input type="text" class="input-numeric-short padd-right" name="system.spec.{{key}}.value" value="{{spec.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}/>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
@ -84,12 +84,12 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li class="item flexrow list-item stack-left">
|
<li class="item flexrow list-item stack-left">
|
||||||
<span class="stat-label padd-right"><strong>{{fight.label}}</strong></span>
|
<span class="stat-label padd-right"><strong>{{fight.label}}</strong></span>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.fight.{{key}}.value" value="{{fight.value}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.fight.{{key}}.value" value="{{fight.value}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{#each fight.derivated as |derivated keydev|}}
|
{{#each fight.derivated as |derivated keydev|}}
|
||||||
<li class="item flexrow list-item">
|
<li class="item flexrow list-item">
|
||||||
<span class="stat-label flexrow ">{{derivated.label}}</span>
|
<span class="stat-label flexrow ">{{derivated.label}}</span>
|
||||||
<input type="text" class="input-numeric-short padd-right" name="data.fight.{{key}}.derivated.{{keydev}}.value" value="{{derivated.value}}" data-dtype="Number"/>
|
<input type="text" class="input-numeric-short padd-right" name="system.fight.{{key}}.derivated.{{keydev}}.value" value="{{derivated.value}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
<span class="stat-label stat-margin" name="{{key}}">
|
<span class="stat-label stat-margin" name="{{key}}">
|
||||||
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
|
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
|
||||||
</span>
|
</span>
|
||||||
<select class="status-small-label color-class-common" type="text" name="data.statistics.{{key}}.value" value="{{stat.value}}"
|
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.value" value="{{stat.value}}"
|
||||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||||
{{#select stat.value}}
|
{{#select stat.value}}
|
||||||
{{{@root.optionsDiceList}}}
|
{{{@root.optionsDiceList}}}
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.statistics.{{key}}.mod" value="{{stat.mod}}"
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.statistics.{{key}}.mod" value="{{stat.mod}}"
|
||||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
|
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
|
||||||
</li>
|
</li>
|
@ -17,18 +17,18 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<li class="item flexrow " data-key="nrg">
|
<li class="item flexrow " data-key="nrg">
|
||||||
<span class="stat-label flexrow status-col-name" name="nrg">
|
<span class="stat-label flexrow status-col-name" name="nrg">
|
||||||
<label class="status-small-label"><strong>{{data.nrg.label}}</strong></label>
|
<label class="status-small-label"><strong>{{data.nrg.label}}</strong></label>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.value" value="{{data.nrg.value}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.mod" value="{{data.nrg.mod}}" data-dtype="Number"/>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.max" value="{{data.nrg.max}}" data-dtype="Number"/>
|
||||||
<span class="small-label status-small-label"> / {{data.nrg.absolutemax}}</span>
|
<span class="small-label status-small-label"> / {{data.nrg.absolutemax}}</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow " data-key="nrg">
|
<li class="item flexrow " data-key="nrg">
|
||||||
@ -36,7 +36,7 @@
|
|||||||
<label class="status-small-label"><strong>Activated NRG</strong><br>
|
<label class="status-small-label"><strong>Activated NRG</strong><br>
|
||||||
</span>
|
</span>
|
||||||
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
<span class="stat-label flexrow status-col-name" name="activated-nrg">
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||||
</span>
|
</span>
|
||||||
<span class="padd-right status-small-label no-grow">
|
<span class="padd-right status-small-label no-grow">
|
||||||
<a class="current-nrg-plus plus-minus-button">+</a>
|
<a class="current-nrg-plus plus-minus-button">+</a>
|
||||||
@ -53,12 +53,12 @@
|
|||||||
<span class="stat-label flexrow status-col-name" name="momentum">
|
<span class="stat-label flexrow status-col-name" name="momentum">
|
||||||
<label class="status-small-label"><strong>Momentum</strong></label>
|
<label class="status-small-label"><strong>Momentum</strong></label>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.momentum.value" value="{{data.momentum.value}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.momentum.value" value="{{data.momentum.value}}" data-dtype="Number"/>
|
||||||
<span class="padd-right status-small-label no-grow">
|
<span class="padd-right status-small-label no-grow">
|
||||||
<a class="momentum-plus plus-minus-button">+</a>
|
<a class="momentum-plus plus-minus-button">+</a>
|
||||||
<a class="momentum-minus plus-minus-button"> -</a>
|
<a class="momentum-minus plus-minus-button"> -</a>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="padd-right status-small-label no-grow" name="data.momentum.max" value="{{data.momentum.max}}" data-dtype="Number"/>
|
<input type="text" class="padd-right status-small-label no-grow" name="system.momentum.max" value="{{data.momentum.max}}" data-dtype="Number"/>
|
||||||
<span class="small-label status-small-label"> </span>
|
<span class="small-label status-small-label"> </span>
|
||||||
</li>
|
</li>
|
||||||
<!--<li class="item flexrow list-item" data-key="lock-unlock">
|
<!--<li class="item flexrow list-item" data-key="lock-unlock">
|
||||||
@ -72,5 +72,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- <span class="small-label padd-right packed-left">Act</span>
|
<!-- <span class="small-label padd-right packed-left">Act</span>
|
||||||
<input type="text" class="padd-right" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
<input type="text" class="padd-right" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||||
-->
|
-->
|
@ -6,7 +6,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{#each data.effects as |effect idx|}}
|
{{#each data.effects as |effect idx|}}
|
||||||
<li class="flexrow">
|
<li class="flexrow">
|
||||||
<label name="data.effects[{{idx}}].name"><a class="view-subitem" data-type="effects" data-index="{{idx}}">{{effect.name}}</a></label>
|
<label name="system.effects[{{idx}}].name"><a class="view-subitem" data-type="effects" data-index="{{idx}}">{{effect.name}}</a></label>
|
||||||
<div class="item-controls padd-left">
|
<div class="item-controls padd-left">
|
||||||
<a class="item-control delete-subitem padd-left" data-type="effects" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
<a class="item-control delete-subitem padd-left" data-type="effects" data-index="{{idx}}" title="Delete Effect"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<label class="generic-label">Description</label>
|
<label class="generic-label">Description</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
{{editor data.description target="system.description" button=true owner=owner editable=editable}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user