Add effects and tabs
This commit is contained in:
@@ -13,6 +13,9 @@
|
|||||||
--font-secondary: "BaskervilleBold", serif;
|
--font-secondary: "BaskervilleBold", serif;
|
||||||
--logo-standard: url("../assets/ui/prism-rpg-logo-01.webp");
|
--logo-standard: url("../assets/ui/prism-rpg-logo-01.webp");
|
||||||
}
|
}
|
||||||
|
.tab[data-group]:not(.active) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.initiative-area {
|
.initiative-area {
|
||||||
min-width: 8rem;
|
min-width: 8rem;
|
||||||
max-width: 8rem;
|
max-width: 8rem;
|
||||||
|
|||||||
@@ -402,6 +402,7 @@
|
|||||||
"damage": "Damage",
|
"damage": "Damage",
|
||||||
"description": "Description",
|
"description": "Description",
|
||||||
"details": "Details",
|
"details": "Details",
|
||||||
|
"effects": "Effects",
|
||||||
"dex": "DEX",
|
"dex": "DEX",
|
||||||
"equipment": "Equipment",
|
"equipment": "Equipment",
|
||||||
"experience": "Experience",
|
"experience": "Experience",
|
||||||
|
|||||||
@@ -19,10 +19,32 @@ export default class PrismRPGArmorSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
context.enrichedPassiveDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.passiveDescription, { async: true })
|
context.enrichedPassiveDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.passiveDescription, { async: true })
|
||||||
context.enrichedAugmentDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.augmentDescription, { async: true })
|
context.enrichedAugmentDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.augmentDescription, { async: true })
|
||||||
|
|||||||
@@ -75,6 +75,20 @@ export default class PrismRPGItemSheet extends HandlebarsApplicationMixin(foundr
|
|||||||
_onRender(context, options) {
|
_onRender(context, options) {
|
||||||
super._onRender(context, options)
|
super._onRender(context, options)
|
||||||
this.#dragDrop.forEach((d) => d.bind(this.element))
|
this.#dragDrop.forEach((d) => d.bind(this.element))
|
||||||
|
|
||||||
|
// Activate tab navigation
|
||||||
|
const nav = this.element.querySelector('nav.tabs[data-group]')
|
||||||
|
if (nav) {
|
||||||
|
const group = nav.dataset.group
|
||||||
|
nav.querySelectorAll('[data-tab]').forEach(link => {
|
||||||
|
link.addEventListener('click', (event) => {
|
||||||
|
event.preventDefault()
|
||||||
|
const tab = event.currentTarget.dataset.tab
|
||||||
|
this.tabGroups[group] = tab
|
||||||
|
this.render()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// #region Drag-and-Drop Workflow
|
// #region Drag-and-Drop Workflow
|
||||||
|
|||||||
@@ -19,9 +19,32 @@ export default class PrismRPGEquipmentSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
|
|
||||||
// Enrich passive description if equipment is a kit
|
// Enrich passive description if equipment is a kit
|
||||||
|
|||||||
@@ -19,9 +19,32 @@ export default class PrismRPGMiracleSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
return context
|
return context
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,9 +19,32 @@ export default class PrismRPGShieldSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
context.enrichedBlockAugmentDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.blockAugmentDescription, { async: true })
|
context.enrichedBlockAugmentDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.blockAugmentDescription, { async: true })
|
||||||
return context
|
return context
|
||||||
|
|||||||
@@ -19,9 +19,32 @@ export default class PrismRPGSpellSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
context.enrichedColorEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.colorEffect, { async: true })
|
context.enrichedColorEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.colorEffect, { async: true })
|
||||||
context.enrichedAscensionEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.ascensionEffect, { async: true })
|
context.enrichedAscensionEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.ascensionEffect, { async: true })
|
||||||
|
|||||||
@@ -19,9 +19,32 @@ export default class PrismRPGWeaponSheet extends PrismRPGItemSheet {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
tabGroups = {
|
||||||
|
primary: "details",
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare an array of form header tabs.
|
||||||
|
* @returns {Record<string, Partial<ApplicationTab>>}
|
||||||
|
*/
|
||||||
|
#getTabs() {
|
||||||
|
const tabs = {
|
||||||
|
details: { id: "details", group: "primary", label: "PRISMRPG.Label.details" },
|
||||||
|
description: { id: "description", group: "primary", label: "PRISMRPG.Label.description" },
|
||||||
|
effects: { id: "effects", group: "primary", label: "PRISMRPG.Label.effects" },
|
||||||
|
}
|
||||||
|
for (const v of Object.values(tabs)) {
|
||||||
|
v.active = this.tabGroups[v.group] === v.id
|
||||||
|
v.cssClass = v.active ? "active" : ""
|
||||||
|
}
|
||||||
|
return tabs
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
async _prepareContext() {
|
async _prepareContext() {
|
||||||
const context = await super._prepareContext()
|
const context = await super._prepareContext()
|
||||||
|
context.tabs = this.#getTabs()
|
||||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||||
|
|
||||||
// Enrich descriptions for all passives
|
// Enrich descriptions for all passives
|
||||||
|
|||||||
@@ -6,6 +6,11 @@
|
|||||||
--logo-standard: url("../assets/ui/prism-rpg-logo-01.webp");
|
--logo-standard: url("../assets/ui/prism-rpg-logo-01.webp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tab system - hide inactive tabs
|
||||||
|
.tab[data-group]:not(.active) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.initiative-area {
|
.initiative-area {
|
||||||
min-width: 8rem;
|
min-width: 8rem;
|
||||||
max-width: 8rem;
|
max-width: 8rem;
|
||||||
|
|||||||
+141
-91
@@ -10,105 +10,155 @@
|
|||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{! Armor Type (Light/Medium/Heavy) }}
|
{{! Navigation des onglets }}
|
||||||
{{formField
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
systemFields.armorType
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize
|
||||||
value=system.armorType
|
"PRISMRPG.Label.details"
|
||||||
localize=true
|
}}</a>
|
||||||
label="PRISMRPG.Label.armorType"
|
<a
|
||||||
}}
|
class="item {{tabs.description.cssClass}}"
|
||||||
|
data-tab="description"
|
||||||
|
>{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize
|
||||||
|
"PRISMRPG.Label.effects"
|
||||||
|
}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
{{! Maximum Reduction Rating (MRR) }}
|
{{! Onglet Details }}
|
||||||
{{formField
|
<div
|
||||||
systemFields.mrr
|
class="tab {{tabs.details.cssClass}}"
|
||||||
value=system.mrr
|
data-group="primary"
|
||||||
localize=true
|
data-tab="details"
|
||||||
label="PRISMRPG.Label.mrr"
|
>
|
||||||
}}
|
{{! Armor Type (Light/Medium/Heavy) }}
|
||||||
|
|
||||||
{{! Encumbrance Load }}
|
|
||||||
{{formField
|
|
||||||
systemFields.encLoad
|
|
||||||
value=system.encLoad
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.encumbranceLoad"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Equipment Status }}
|
|
||||||
{{formField
|
|
||||||
systemFields.isHelmet
|
|
||||||
value=system.isHelmet
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.isHelmet"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.equipped
|
|
||||||
value=system.equipped
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.equipped"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Prism RPG: Armor Passive }}
|
|
||||||
<fieldset class="armor-passive">
|
|
||||||
<legend>{{localize "PRISMRPG.Label.armorPassive"}}</legend>
|
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.passive
|
systemFields.armorType
|
||||||
value=system.passive
|
value=system.armorType
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.passiveName"
|
label="PRISMRPG.Label.armorType"
|
||||||
}}
|
}}
|
||||||
<label>{{localize "PRISMRPG.Label.passiveDescription"}}</label>
|
|
||||||
{{formInput
|
|
||||||
systemFields.passiveDescription
|
|
||||||
enriched=enrichedPassiveDescription
|
|
||||||
value=system.passiveDescription
|
|
||||||
name="system.passiveDescription"
|
|
||||||
toggled=true
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{{! Prism RPG: Armor Augment }}
|
{{! Maximum Reduction Rating (MRR) }}
|
||||||
<fieldset class="armor-augment">
|
|
||||||
<legend>{{localize "PRISMRPG.Label.armorAugment"}}</legend>
|
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.augment
|
systemFields.mrr
|
||||||
value=system.augment
|
value=system.mrr
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.augmentName"
|
label="PRISMRPG.Label.mrr"
|
||||||
}}
|
}}
|
||||||
<label>{{localize "PRISMRPG.Label.augmentDescription"}}</label>
|
|
||||||
{{formInput
|
|
||||||
systemFields.augmentDescription
|
|
||||||
enriched=enrichedAugmentDescription
|
|
||||||
value=system.augmentDescription
|
|
||||||
name="system.augmentDescription"
|
|
||||||
toggled=true
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{{! Cost }}
|
{{! Encumbrance Load }}
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.cost
|
systemFields.encLoad
|
||||||
value=system.cost
|
value=system.encLoad
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.cost"
|
label="PRISMRPG.Label.encumbranceLoad"
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.money
|
|
||||||
value=system.money
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.currency"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Description }}
|
|
||||||
<fieldset>
|
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
||||||
{{formInput
|
|
||||||
systemFields.description
|
|
||||||
enriched=enrichedDescription
|
|
||||||
value=system.description
|
|
||||||
name="system.description"
|
|
||||||
toggled=true
|
|
||||||
}}
|
}}
|
||||||
</fieldset>
|
|
||||||
|
{{! Equipment Status }}
|
||||||
|
{{formField
|
||||||
|
systemFields.isHelmet
|
||||||
|
value=system.isHelmet
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.isHelmet"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.equipped
|
||||||
|
value=system.equipped
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.equipped"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Cost }}
|
||||||
|
{{formField
|
||||||
|
systemFields.cost
|
||||||
|
value=system.cost
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.cost"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.money
|
||||||
|
value=system.money
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.currency"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Description }}
|
||||||
|
<div
|
||||||
|
class="tab {{tabs.description.cssClass}}"
|
||||||
|
data-group="primary"
|
||||||
|
data-tab="description"
|
||||||
|
>
|
||||||
|
{{! Description }}
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
|
{{formInput
|
||||||
|
systemFields.description
|
||||||
|
enriched=enrichedDescription
|
||||||
|
value=system.description
|
||||||
|
name="system.description"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Effects }}
|
||||||
|
<div
|
||||||
|
class="tab {{tabs.effects.cssClass}}"
|
||||||
|
data-group="primary"
|
||||||
|
data-tab="effects"
|
||||||
|
>
|
||||||
|
{{! Prism RPG: Armor Passive }}
|
||||||
|
<fieldset class="armor-passive">
|
||||||
|
<legend>{{localize "PRISMRPG.Label.armorPassive"}}</legend>
|
||||||
|
{{formField
|
||||||
|
systemFields.passive
|
||||||
|
value=system.passive
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.passiveName"
|
||||||
|
}}
|
||||||
|
<label>{{localize "PRISMRPG.Label.passiveDescription"}}</label>
|
||||||
|
{{formInput
|
||||||
|
systemFields.passiveDescription
|
||||||
|
enriched=enrichedPassiveDescription
|
||||||
|
value=system.passiveDescription
|
||||||
|
name="system.passiveDescription"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{{! Prism RPG: Armor Augment }}
|
||||||
|
<fieldset class="armor-augment">
|
||||||
|
<legend>{{localize "PRISMRPG.Label.armorAugment"}}</legend>
|
||||||
|
{{formField
|
||||||
|
systemFields.augment
|
||||||
|
value=system.augment
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.augmentName"
|
||||||
|
}}
|
||||||
|
<label>{{localize "PRISMRPG.Label.augmentDescription"}}</label>
|
||||||
|
{{formInput
|
||||||
|
systemFields.augmentDescription
|
||||||
|
enriched=enrichedAugmentDescription
|
||||||
|
value=system.augmentDescription
|
||||||
|
name="system.augmentDescription"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{{! Cost }}
|
||||||
|
{{formField
|
||||||
|
systemFields.cost
|
||||||
|
value=system.cost
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.cost"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.money
|
||||||
|
value=system.money
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.currency"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
+28
-11
@@ -9,12 +9,39 @@
|
|||||||
/>
|
/>
|
||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{! Navigation des onglets }}
|
||||||
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize "PRISMRPG.Label.details"}}</a>
|
||||||
|
<a class="item {{tabs.description.cssClass}}" data-tab="description">{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize "PRISMRPG.Label.effects"}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
{{! Onglet Details }}
|
||||||
|
<div class="tab {{tabs.details.cssClass}}" data-group="primary" data-tab="details">
|
||||||
{{formField systemFields.encLoad value=system.encLoad localize=true}}
|
{{formField systemFields.encLoad value=system.encLoad localize=true}}
|
||||||
{{formField systemFields.cost value=system.cost localize=true}}
|
{{formField systemFields.cost value=system.cost localize=true}}
|
||||||
{{formField systemFields.money value=system.money localize=true}}
|
{{formField systemFields.money value=system.money localize=true}}
|
||||||
|
|
||||||
{{formField systemFields.isKit value=system.isKit localize=true label="PRISMRPG.Label.isKit"}}
|
{{formField systemFields.isKit value=system.isKit localize=true label="PRISMRPG.Label.isKit"}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Description }}
|
||||||
|
<div class="tab" data-group="primary" data-tab="description">
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
|
{{formInput
|
||||||
|
systemFields.description
|
||||||
|
enriched=enrichedDescription
|
||||||
|
value=system.description
|
||||||
|
name="system.description"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Effects }}
|
||||||
|
<div class="tab" data-group="primary" data-tab="effects">
|
||||||
{{#if system.isKit}}
|
{{#if system.isKit}}
|
||||||
{{! Kit Passive }}
|
{{! Kit Passive }}
|
||||||
<fieldset class="kit-passive">
|
<fieldset class="kit-passive">
|
||||||
@@ -73,16 +100,6 @@
|
|||||||
{{/unless}}
|
{{/unless}}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</div>
|
||||||
<fieldset>
|
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
||||||
{{formInput
|
|
||||||
systemFields.description
|
|
||||||
enriched=enrichedDescription
|
|
||||||
value=system.description
|
|
||||||
name="system.description"
|
|
||||||
toggled=true
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
+176
-141
@@ -10,157 +10,192 @@
|
|||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{! Prism RPG: Miracle Type }}
|
{{! Navigation des onglets }}
|
||||||
{{formField
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
systemFields.miracleType
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize
|
||||||
value=system.miracleType
|
"PRISMRPG.Label.details"
|
||||||
localize=true
|
}}</a>
|
||||||
label="PRISMRPG.Label.miracleType"
|
<a
|
||||||
}}
|
class="item {{tabs.description.cssClass}}"
|
||||||
|
data-tab="description"
|
||||||
|
>{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize
|
||||||
|
"PRISMRPG.Label.effects"
|
||||||
|
}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
{{! Prism RPG: APC (Action Point Cost) }}
|
{{! Onglet Details }}
|
||||||
{{formField
|
<div
|
||||||
systemFields.apc
|
class="tab {{tabs.details.cssClass}}"
|
||||||
value=system.apc
|
data-group="primary"
|
||||||
localize=true
|
data-tab="details"
|
||||||
label="PRISMRPG.Label.apc"
|
>
|
||||||
}}
|
{{! Prism RPG: Miracle Type }}
|
||||||
|
|
||||||
{{! Prism RPG: Faith Cost }}
|
|
||||||
{{formField
|
|
||||||
systemFields.faithCost
|
|
||||||
value=system.faithCost
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.faithCost"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Prism RPG: Divine Favor }}
|
|
||||||
{{formField
|
|
||||||
systemFields.divineFavor
|
|
||||||
value=system.divineFavor
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.divineFavor"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Prism RPG: Miracle Augment }}
|
|
||||||
<fieldset class="miracle-augment">
|
|
||||||
<legend>{{localize "PRISMRPG.Label.miracleAugment"}}</legend>
|
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.augment
|
systemFields.miracleType
|
||||||
value=system.augment
|
value=system.miracleType
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.augmentName"
|
label="PRISMRPG.Label.miracleType"
|
||||||
}}
|
}}
|
||||||
<div class="form-group">
|
|
||||||
<label>{{localize "PRISMRPG.Label.augmentDescription"}}</label>
|
{{! Prism RPG: APC (Action Point Cost) }}
|
||||||
|
{{formField
|
||||||
|
systemFields.apc
|
||||||
|
value=system.apc
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.apc"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Prism RPG: Faith Cost }}
|
||||||
|
{{formField
|
||||||
|
systemFields.faithCost
|
||||||
|
value=system.faithCost
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.faithCost"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Prism RPG: Divine Favor }}
|
||||||
|
{{formField
|
||||||
|
systemFields.divineFavor
|
||||||
|
value=system.divineFavor
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.divineFavor"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Miracle Components (includes Religious) }}
|
||||||
|
<fieldset class="miracle-components">
|
||||||
|
<legend>{{localize "PRISMRPG.Label.components"}}</legend>
|
||||||
|
<div class="shift-right">
|
||||||
|
{{formField
|
||||||
|
systemFields.components.fields.verbal
|
||||||
|
value=system.components.verbal
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.verbal"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.components.fields.somatic
|
||||||
|
value=system.components.somatic
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.somatic"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.components.fields.material
|
||||||
|
value=system.components.material
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.material"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.components.fields.catalyst
|
||||||
|
value=system.components.catalyst
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.catalyst"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.components.fields.religious
|
||||||
|
value=system.components.religious
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.religious"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
{{formField
|
||||||
|
systemFields.materialComponent
|
||||||
|
value=system.materialComponent
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.materialComponent"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.catalyst
|
||||||
|
value=system.catalyst
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.catalystDetails"
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{{! Miracle Properties }}
|
||||||
|
{{formField
|
||||||
|
systemFields.prayerTime
|
||||||
|
value=system.prayerTime
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.prayerTime"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.miracleRange
|
||||||
|
value=system.miracleRange
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.range"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.areaAffected
|
||||||
|
value=system.areaAffected
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.areaAffected"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.duration
|
||||||
|
value=system.duration
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.duration"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.savingThrow
|
||||||
|
value=system.savingThrow
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.savingThrow"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Legacy Level field }}
|
||||||
|
{{formField
|
||||||
|
systemFields.level
|
||||||
|
value=system.level
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.level"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Description }}
|
||||||
|
<div
|
||||||
|
class="tab {{tabs.description.cssClass}}"
|
||||||
|
data-group="primary"
|
||||||
|
data-tab="description"
|
||||||
|
>
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
{{formInput
|
{{formInput
|
||||||
systemFields.augmentDescription
|
systemFields.description
|
||||||
enriched=enrichedAugmentDescription
|
enriched=enrichedDescription
|
||||||
value=system.augmentDescription
|
value=system.description
|
||||||
name="system.augmentDescription"
|
name="system.description"
|
||||||
toggled=true
|
toggled=true
|
||||||
}}
|
}}
|
||||||
</div>
|
</fieldset>
|
||||||
</fieldset>
|
</div>
|
||||||
|
|
||||||
{{! Miracle Components (includes Religious) }}
|
{{! Onglet Effects }}
|
||||||
<fieldset class="miracle-components">
|
<div
|
||||||
<legend>{{localize "PRISMRPG.Label.components"}}</legend>
|
class="tab {{tabs.effects.cssClass}}"
|
||||||
<div class="shift-right">
|
data-group="primary"
|
||||||
|
data-tab="effects"
|
||||||
|
>
|
||||||
|
{{! Prism RPG: Miracle Augment }}
|
||||||
|
<fieldset class="miracle-augment">
|
||||||
|
<legend>{{localize "PRISMRPG.Label.miracleAugment"}}</legend>
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.components.fields.verbal
|
systemFields.augment
|
||||||
value=system.components.verbal
|
value=system.augment
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.verbal"
|
label="PRISMRPG.Label.augmentName"
|
||||||
}}
|
}}
|
||||||
{{formField
|
<div class="form-group">
|
||||||
systemFields.components.fields.somatic
|
<label>{{localize "PRISMRPG.Label.augmentDescription"}}</label>
|
||||||
value=system.components.somatic
|
{{formInput
|
||||||
localize=true
|
systemFields.augmentDescription
|
||||||
label="PRISMRPG.Label.somatic"
|
enriched=enrichedAugmentDescription
|
||||||
}}
|
value=system.augmentDescription
|
||||||
{{formField
|
name="system.augmentDescription"
|
||||||
systemFields.components.fields.material
|
toggled=true
|
||||||
value=system.components.material
|
}}
|
||||||
localize=true
|
</div>
|
||||||
label="PRISMRPG.Label.material"
|
</fieldset>
|
||||||
}}
|
</div>
|
||||||
{{formField
|
|
||||||
systemFields.components.fields.catalyst
|
|
||||||
value=system.components.catalyst
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.catalyst"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.components.fields.religious
|
|
||||||
value=system.components.religious
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.religious"
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
{{formField
|
|
||||||
systemFields.materialComponent
|
|
||||||
value=system.materialComponent
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.materialComponent"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.catalyst
|
|
||||||
value=system.catalyst
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.catalystDetails"
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{{! Miracle Properties }}
|
|
||||||
{{formField
|
|
||||||
systemFields.prayerTime
|
|
||||||
value=system.prayerTime
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.prayerTime"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.miracleRange
|
|
||||||
value=system.miracleRange
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.range"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.areaAffected
|
|
||||||
value=system.areaAffected
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.areaAffected"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.duration
|
|
||||||
value=system.duration
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.duration"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.savingThrow
|
|
||||||
value=system.savingThrow
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.savingThrow"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Legacy Level field }}
|
|
||||||
{{formField
|
|
||||||
systemFields.level
|
|
||||||
value=system.level
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.level"
|
|
||||||
}}
|
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
||||||
{{formInput
|
|
||||||
systemFields.description
|
|
||||||
enriched=enrichedDescription
|
|
||||||
value=system.description
|
|
||||||
name="system.description"
|
|
||||||
toggled=true
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
+112
-77
@@ -10,95 +10,130 @@
|
|||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexrow">
|
{{! Navigation des onglets }}
|
||||||
<div class="align-top">
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize
|
||||||
|
"PRISMRPG.Label.details"
|
||||||
|
}}</a>
|
||||||
|
<a
|
||||||
|
class="item {{tabs.description.cssClass}}"
|
||||||
|
data-tab="description"
|
||||||
|
>{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize
|
||||||
|
"PRISMRPG.Label.effects"
|
||||||
|
}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
{{! Prism RPG: Shield Type (Buckler/Light/Heavy/Tower) }}
|
{{! Onglet Details }}
|
||||||
{{formField
|
<div
|
||||||
systemFields.shieldType
|
class="tab {{tabs.details.cssClass}}"
|
||||||
value=system.shieldType
|
data-group="primary"
|
||||||
localize=true
|
data-tab="details"
|
||||||
label="PRISMRPG.Label.shieldType"
|
>
|
||||||
}}
|
<div class="flexrow">
|
||||||
|
<div class="align-top">
|
||||||
|
|
||||||
{{! Prism RPG: Block APC (Action Point Cost) }}
|
{{! Prism RPG: Shield Type (Buckler/Light/Heavy/Tower) }}
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.apc
|
systemFields.shieldType
|
||||||
value=system.apc
|
value=system.shieldType
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.blockAPC"
|
label="PRISMRPG.Label.shieldType"
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{! Prism RPG: Shield Rating (SR) }}
|
{{! Prism RPG: Block APC (Action Point Cost) }}
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.sr
|
systemFields.apc
|
||||||
value=system.sr
|
value=system.apc
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.shieldRating"
|
label="PRISMRPG.Label.blockAPC"
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{formField
|
{{! Prism RPG: Shield Rating (SR) }}
|
||||||
systemFields.equipped
|
{{formField
|
||||||
value=system.equipped
|
systemFields.sr
|
||||||
localize=true
|
value=system.sr
|
||||||
label="PRISMRPG.Label.equipped"
|
localize=true
|
||||||
}}
|
label="PRISMRPG.Label.shieldRating"
|
||||||
|
}}
|
||||||
|
|
||||||
</div>
|
{{formField
|
||||||
|
systemFields.equipped
|
||||||
|
value=system.equipped
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.equipped"
|
||||||
|
}}
|
||||||
|
|
||||||
<div class="align-top">
|
</div>
|
||||||
|
|
||||||
{{formField
|
<div class="align-top">
|
||||||
systemFields.encLoad
|
|
||||||
value=system.encLoad
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.encumbranceLoad"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{formField
|
{{formField
|
||||||
systemFields.cost
|
systemFields.encLoad
|
||||||
value=system.cost
|
value=system.encLoad
|
||||||
localize=true
|
localize=true
|
||||||
label="PRISMRPG.Label.cost"
|
label="PRISMRPG.Label.encumbranceLoad"
|
||||||
}}
|
}}
|
||||||
{{formField
|
|
||||||
systemFields.money
|
|
||||||
value=system.money
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.currency"
|
|
||||||
}}
|
|
||||||
|
|
||||||
|
{{formField
|
||||||
|
systemFields.cost
|
||||||
|
value=system.cost
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.cost"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.money
|
||||||
|
value=system.money
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.currency"
|
||||||
|
}}
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{! Prism RPG: Block Augment }}
|
{{! Onglet Description }}
|
||||||
<fieldset class="shield-block-augment">
|
<div
|
||||||
<legend>{{localize "PRISMRPG.Label.blockAugment"}}</legend>
|
class="tab {{tabs.description.cssClass}}"
|
||||||
{{formField
|
data-group="primary"
|
||||||
systemFields.blockAugment
|
data-tab="description"
|
||||||
value=system.blockAugment
|
>
|
||||||
localize=true
|
<fieldset>
|
||||||
label="PRISMRPG.Label.blockAugmentName"
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
}}
|
{{formInput
|
||||||
<label>{{localize "PRISMRPG.Label.blockAugmentDescription"}}</label>
|
systemFields.description
|
||||||
{{formInput
|
enriched=enrichedDescription
|
||||||
systemFields.blockAugmentDescription
|
value=system.description
|
||||||
enriched=enrichedBlockAugmentDescription
|
name="system.description"
|
||||||
value=system.blockAugmentDescription
|
toggled=true
|
||||||
name="system.blockAugmentDescription"
|
}}
|
||||||
toggled=true
|
</fieldset>
|
||||||
}}
|
</div>
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<fieldset>
|
{{! Onglet Effects }}
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
<div
|
||||||
{{formInput
|
class="tab {{tabs.effects.cssClass}}"
|
||||||
systemFields.description
|
data-group="primary"
|
||||||
enriched=enrichedDescription
|
data-tab="effects"
|
||||||
value=system.description
|
>
|
||||||
name="system.description"
|
{{! Prism RPG: Block Augment }}
|
||||||
toggled=true
|
<fieldset class="shield-block-augment">
|
||||||
}}
|
<legend>{{localize "PRISMRPG.Label.blockAugment"}}</legend>
|
||||||
</fieldset>
|
{{formField
|
||||||
|
systemFields.blockAugment
|
||||||
|
value=system.blockAugment
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.blockAugmentName"
|
||||||
|
}}
|
||||||
|
<label>{{localize "PRISMRPG.Label.blockAugmentDescription"}}</label>
|
||||||
|
{{formInput
|
||||||
|
systemFields.blockAugmentDescription
|
||||||
|
enriched=enrichedBlockAugmentDescription
|
||||||
|
value=system.blockAugmentDescription
|
||||||
|
name="system.blockAugmentDescription"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
+167
-132
@@ -10,145 +10,180 @@
|
|||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{! Prism RPG: Mana Cost }}
|
{{! Navigation des onglets }}
|
||||||
{{formField
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
systemFields.manaCost
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize
|
||||||
value=system.manaCost
|
"PRISMRPG.Label.details"
|
||||||
localize=true
|
}}</a>
|
||||||
label="PRISMRPG.Label.manaCost"
|
<a
|
||||||
}}
|
class="item {{tabs.description.cssClass}}"
|
||||||
|
data-tab="description"
|
||||||
|
>{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize
|
||||||
|
"PRISMRPG.Label.effects"
|
||||||
|
}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
{{! Prism RPG: Mana Upkeep }}
|
{{! Onglet Details }}
|
||||||
{{formField
|
<div
|
||||||
systemFields.manaUpkeep
|
class="tab {{tabs.details.cssClass}}"
|
||||||
value=system.manaUpkeep
|
data-group="primary"
|
||||||
localize=true
|
data-tab="details"
|
||||||
label="PRISMRPG.Label.manaUpkeep"
|
>
|
||||||
}}
|
{{! Prism RPG: Mana Cost }}
|
||||||
|
{{formField
|
||||||
{{! Prism RPG: APC (Action Point Cost) }}
|
systemFields.manaCost
|
||||||
{{formField
|
value=system.manaCost
|
||||||
systemFields.apc
|
localize=true
|
||||||
value=system.apc
|
label="PRISMRPG.Label.manaCost"
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.apc"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Prism RPG: Prism Color }}
|
|
||||||
{{formField
|
|
||||||
systemFields.color
|
|
||||||
value=system.color
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.prismColor"
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{! Prism RPG: Color Effect }}
|
|
||||||
<fieldset class="spell-color-effect">
|
|
||||||
<legend>{{localize "PRISMRPG.Label.colorEffect"}}</legend>
|
|
||||||
{{formInput
|
|
||||||
systemFields.colorEffect
|
|
||||||
enriched=enrichedColorEffect
|
|
||||||
value=system.colorEffect
|
|
||||||
name="system.colorEffect"
|
|
||||||
toggled=true
|
|
||||||
}}
|
}}
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{{! Prism RPG: Spell Ascension }}
|
{{! Prism RPG: Mana Upkeep }}
|
||||||
<fieldset class="spell-ascension">
|
{{formField
|
||||||
<legend>{{localize "PRISMRPG.Label.spellAscension"}}</legend>
|
systemFields.manaUpkeep
|
||||||
<div class="form-group">
|
value=system.manaUpkeep
|
||||||
<label>{{localize "PRISMRPG.Label.canAscend"}}</label>
|
localize=true
|
||||||
<input
|
label="PRISMRPG.Label.manaUpkeep"
|
||||||
type="checkbox"
|
}}
|
||||||
name="system.canAscend"
|
|
||||||
{{checked system.canAscend}}
|
{{! Prism RPG: APC (Action Point Cost) }}
|
||||||
/>
|
{{formField
|
||||||
<p class="hint">{{localize "PRISMRPG.Hint.spellAscension"}}</p>
|
systemFields.apc
|
||||||
</div>
|
value=system.apc
|
||||||
{{#if system.canAscend}}
|
localize=true
|
||||||
<label>{{localize "PRISMRPG.Label.ascensionEffect"}}</label>
|
label="PRISMRPG.Label.apc"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Prism RPG: Prism Color }}
|
||||||
|
{{formField
|
||||||
|
systemFields.color
|
||||||
|
value=system.color
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.prismColor"
|
||||||
|
}}
|
||||||
|
|
||||||
|
{{! Spell Properties }}
|
||||||
|
{{formField
|
||||||
|
systemFields.memorized
|
||||||
|
value=system.memorized
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.memorized"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.level
|
||||||
|
value=system.level
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.level"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.targets
|
||||||
|
value=system.targets
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.targets"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.resolve
|
||||||
|
value=system.resolve
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.resolve"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.castingTime
|
||||||
|
value=system.castingTime
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.castingTime"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.spellRange
|
||||||
|
value=system.spellRange
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.range"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.areaAffected
|
||||||
|
value=system.areaAffected
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.areaAffected"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.duration
|
||||||
|
value=system.duration
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.duration"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.savingThrow
|
||||||
|
value=system.savingThrow
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.savingThrow"
|
||||||
|
}}
|
||||||
|
{{formField
|
||||||
|
systemFields.keywords
|
||||||
|
value=system.keywords
|
||||||
|
localize=true
|
||||||
|
label="PRISMRPG.Label.keywords"
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Description }}
|
||||||
|
<div
|
||||||
|
class="tab {{tabs.description.cssClass}}"
|
||||||
|
data-group="primary"
|
||||||
|
data-tab="description"
|
||||||
|
>
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
{{formInput
|
{{formInput
|
||||||
systemFields.ascensionEffect
|
systemFields.description
|
||||||
enriched=enrichedAscensionEffect
|
enriched=enrichedDescription
|
||||||
value=system.ascensionEffect
|
value=system.description
|
||||||
name="system.ascensionEffect"
|
name="system.description"
|
||||||
toggled=true
|
toggled=true
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
</fieldset>
|
||||||
</fieldset>
|
</div>
|
||||||
|
|
||||||
{{! Spell Properties }}
|
{{! Onglet Effects }}
|
||||||
{{formField
|
<div
|
||||||
systemFields.memorized
|
class="tab {{tabs.effects.cssClass}}"
|
||||||
value=system.memorized
|
data-group="primary"
|
||||||
localize=true
|
data-tab="effects"
|
||||||
label="PRISMRPG.Label.memorized"
|
>
|
||||||
}}
|
{{! Prism RPG: Color Effect }}
|
||||||
{{formField
|
<fieldset class="spell-color-effect">
|
||||||
systemFields.level
|
<legend>{{localize "PRISMRPG.Label.colorEffect"}}</legend>
|
||||||
value=system.level
|
{{formInput
|
||||||
localize=true
|
systemFields.colorEffect
|
||||||
label="PRISMRPG.Label.level"
|
enriched=enrichedColorEffect
|
||||||
}}
|
value=system.colorEffect
|
||||||
{{formField
|
name="system.colorEffect"
|
||||||
systemFields.targets
|
toggled=true
|
||||||
value=system.targets
|
}}
|
||||||
localize=true
|
</fieldset>
|
||||||
label="PRISMRPG.Label.targets"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.resolve
|
|
||||||
value=system.resolve
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.resolve"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.castingTime
|
|
||||||
value=system.castingTime
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.castingTime"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.spellRange
|
|
||||||
value=system.spellRange
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.range"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.areaAffected
|
|
||||||
value=system.areaAffected
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.areaAffected"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.duration
|
|
||||||
value=system.duration
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.duration"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.savingThrow
|
|
||||||
value=system.savingThrow
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.savingThrow"
|
|
||||||
}}
|
|
||||||
{{formField
|
|
||||||
systemFields.keywords
|
|
||||||
value=system.keywords
|
|
||||||
localize=true
|
|
||||||
label="PRISMRPG.Label.keywords"
|
|
||||||
}}
|
|
||||||
|
|
||||||
<fieldset>
|
{{! Prism RPG: Spell Ascension }}
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
<fieldset class="spell-ascension">
|
||||||
{{formInput
|
<legend>{{localize "PRISMRPG.Label.spellAscension"}}</legend>
|
||||||
systemFields.description
|
<div class="form-group">
|
||||||
enriched=enrichedDescription
|
<label>{{localize "PRISMRPG.Label.canAscend"}}</label>
|
||||||
value=system.description
|
<input
|
||||||
name="system.description"
|
type="checkbox"
|
||||||
toggled=true
|
name="system.canAscend"
|
||||||
}}
|
{{checked system.canAscend}}
|
||||||
</fieldset>
|
/>
|
||||||
|
<p class="hint">{{localize "PRISMRPG.Hint.spellAscension"}}</p>
|
||||||
|
</div>
|
||||||
|
{{#if system.canAscend}}
|
||||||
|
<label>{{localize "PRISMRPG.Label.ascensionEffect"}}</label>
|
||||||
|
{{formInput
|
||||||
|
systemFields.ascensionEffect
|
||||||
|
enriched=enrichedAscensionEffect
|
||||||
|
value=system.ascensionEffect
|
||||||
|
name="system.ascensionEffect"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
{{/if}}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
+27
-10
@@ -10,6 +10,15 @@
|
|||||||
{{formInput fields.name value=source.name}}
|
{{formInput fields.name value=source.name}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{! Navigation des onglets }}
|
||||||
|
<nav class="sheet-tabs tabs" data-group="primary">
|
||||||
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize "PRISMRPG.Label.details"}}</a>
|
||||||
|
<a class="item {{tabs.description.cssClass}}" data-tab="description">{{localize "PRISMRPG.Label.description"}}</a>
|
||||||
|
<a class="item {{tabs.effects.cssClass}}" data-tab="effects">{{localize "PRISMRPG.Label.effects"}}</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
{{! Onglet Details }}
|
||||||
|
<div class="tab {{tabs.details.cssClass}}" data-group="primary" data-tab="details">
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
<div class="align-top">
|
<div class="align-top">
|
||||||
|
|
||||||
@@ -100,7 +109,24 @@
|
|||||||
{{formField systemFields.money value=system.money localize=true}}
|
{{formField systemFields.money value=system.money localize=true}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Description }}
|
||||||
|
<div class="tab {{tabs.description.cssClass}}" data-group="primary" data-tab="description">
|
||||||
|
<fieldset>
|
||||||
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||||
|
{{formInput
|
||||||
|
systemFields.description
|
||||||
|
enriched=enrichedDescription
|
||||||
|
value=system.description
|
||||||
|
name="system.description"
|
||||||
|
toggled=true
|
||||||
|
}}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{! Onglet Effects }}
|
||||||
|
<div class="tab {{tabs.effects.cssClass}}" data-group="primary" data-tab="effects">
|
||||||
{{! Prism RPG: Weapon Passives }}
|
{{! Prism RPG: Weapon Passives }}
|
||||||
<fieldset class="weapon-passives">
|
<fieldset class="weapon-passives">
|
||||||
<legend>
|
<legend>
|
||||||
@@ -176,15 +202,6 @@
|
|||||||
<p class="hint">{{localize "PRISMRPG.Hint.noManeuvers"}}</p>
|
<p class="hint">{{localize "PRISMRPG.Hint.noManeuvers"}}</p>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
||||||
{{formInput
|
|
||||||
systemFields.description
|
|
||||||
enriched=enrichedDescription
|
|
||||||
value=system.description
|
|
||||||
name="system.description"
|
|
||||||
toggled=true
|
|
||||||
}}
|
|
||||||
</fieldset>
|
|
||||||
</section>
|
</section>
|
||||||
Reference in New Issue
Block a user