Sync attempt

This commit is contained in:
sladecraven 2022-01-09 14:34:19 +01:00
parent 915b89a8c4
commit 54ba3225dd
5 changed files with 17 additions and 5 deletions

View File

@ -190,6 +190,7 @@ BOL.itemProperties2 = {
"activable" : "BOL.itemProperty.activable", "activable" : "BOL.itemProperty.activable",
"powder" : "BOL.itemProperty.powder", "powder" : "BOL.itemProperty.powder",
"damage" : "BOL.itemProperty.damage" "damage" : "BOL.itemProperty.damage"
} }
BOL.itemStats = { BOL.itemStats = {

View File

@ -29,6 +29,7 @@ export const preloadHandlebarsTemplates = async function () {
"systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs", "systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/origin-properties.hbs", "systems/bol/templates/item/parts/properties/feature/origin-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/race-properties.hbs", "systems/bol/templates/item/parts/properties/feature/race-properties.hbs",
"systems/bol/templates/item/parts/properties/feature/spell-properties.hbs",
// DIALOGS // DIALOGS
"systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs", "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs",
"systems/bol/templates/roll/parts/roll-dialog-attribute.hbs" "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"

View File

@ -23,10 +23,10 @@
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}} {{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div> </div>
<div class="tab properties" data-group="primary" data-tab="properties"> <div class="tab properties" data-group="primary" data-tab="properties">
{{#if (equals item.type "item")}} {{#if (eq item.type "item")}}
{{> "systems/bol/templates/item/parts/properties/item-properties.hbs"}} {{> "systems/bol/templates/item/parts/properties/item-properties.hbs"}}
{{/if}} {{/if}}
{{#if (equals item.type "feature")}} {{#if (eq item.type "feature")}}
{{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}} {{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}}
{{/if}} {{/if}}
</div> </div>

View File

@ -11,12 +11,15 @@
</div> </div>
</div> </div>
{{#if (equals data.category "equipment")}} {{#if (eq data.category "equipment")}}
{{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}} {{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}}
{{/if}} {{/if}}
{{#if (equals data.category "capacity")}} {{#if (eq data.category "capacity")}}
{{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}} {{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}}
{{/if}} {{/if}}
{{#if (equals data.category "vehicle")}} {{#if (eq data.category "vehicle")}}
{{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}} {{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}}
{{/if}} {{/if}}
{{#if (eq data.category "spell")}}
{{> "systems/bol/templates/item/parts/properties/item/spell-properties.hbs"}}
{{/if}}

View File

@ -0,0 +1,7 @@
<h3 class="form-header">{{localize "BOL.ui.spellProperties"}}</h3>
<div class="form-group">
<div class="form-fields">
<label class="property-label">{{localize "BOL.ui.difficulty"}}111</label>
<input class="field-value" type="text" name="data.properties.difficulty" value="{{data.properties.difficulty}}" data-dtype="Number"/>
</div>
</div>