Datamodel + Appv2 migration, WIP
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.alchemyProperties"}}</h3>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.alchemyType"}}</label>
|
||||
<select class="field-value" name="system.properties.alchemytype" data-dtype="String">
|
||||
{{selectOptions config.alchemyType selected=item.system.properties.alchemytype localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.difficulty"}}</label>
|
||||
<select name="system.properties.difficulty" value="{{item.system.properties.difficulty}}">
|
||||
{{selectOptions config.alchemyModifiers selected=item.system.properties.difficulty localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.pccost"}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.pccost" value="{{item.system.properties.pccost}}" data-dtype="Number"/>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.pcnow"}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.pccurrent" value="{{item.system.properties.pccurrent}}" data-dtype="Number"/>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.capacityProperties"}}</h3>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.type"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.weapon" {{checked item.system.properties.weapon}}> {{localize "BOL.itemProperty.weapon"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.protection" {{checked item.system.properties.protection}}> {{localize "BOL.itemProperty.protection"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.magical" {{checked item.system.properties.magical}}> {{localize "BOL.itemProperty.magical"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if item.system.properties.weapon}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if item.system.properties.protection}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/protection-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if item.system.properties.magical}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/magical-properties.hbs"}}
|
||||
{{/if}}
|
||||
@@ -0,0 +1,91 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.equipmentProperties"}}</h3>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
|
||||
<div class="form-fields">
|
||||
<select name="system.subtype" data-dtype="String">
|
||||
{{selectOptions config.itemSubtypes selected=item.system.subtype localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.capacities"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.weapon" {{checked item.system.properties.weapon}}> {{localize "BOL.itemProperty.weapon"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.protection" {{checked item.system.properties.protection}}> {{localize "BOL.itemProperty.protection"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.magical" {{checked item.system.properties.magical}}> {{localize "BOL.itemProperty.magical"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.properties"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.equipable" {{checked item.system.properties.equipable}}> {{localize "BOL.itemProperty.equipable"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.stackable" {{checked item.system.properties.stackable}}> {{localize "BOL.itemProperty.stackable"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.consumable" {{checked item.system.properties.consumable}}> {{localize "BOL.itemProperty.consumable"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
{{#if item.system.properties.equipable}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "BOL.itemProperty.worn"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.worn" {{checked item.system.worn}}> {{localize "BOL.itemProperty.worn"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "BOL.itemProperty.slot"}}</label>
|
||||
<div class="form-fields center">
|
||||
<select class="field-value" name="system.properties.slot" data-dtype="String">
|
||||
{{selectOptions config.equipmentSlots selected=item.system.properties.slot localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if item.system.properties.stackable}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.quantity"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.quantity" value="{{item.system.quantity}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.stacksize"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.stacksize" value="{{item.system.properties.stacksize}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.price"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.price" value="{{item.system.price}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if item.system.properties.weapon}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if item.system.properties.protection}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/protection-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if item.system.properties.magical}}
|
||||
{{> "systems/bol/templates/item/parts/properties/item/magical-properties.hbs"}}
|
||||
{{/if}}
|
||||
@@ -0,0 +1 @@
|
||||
<h3 class="form-header">{{localize "BOL.itemProperty.magicalProperties"}}</h3>
|
||||
@@ -0,0 +1,98 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.protectionProperties"}}</h3>
|
||||
<div class="form-group">
|
||||
<label>{{localize "BOL.ui.subtype"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.armor" {{checked item.system.properties.armor}}> {{localize "BOL.itemProperty.armor"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.shield" {{checked item.system.properties.shield}}> {{localize "BOL.itemProperty.shield"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.helm" {{checked item.system.properties.helm}}> {{localize "BOL.itemProperty.helm"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
|
||||
{{#if item.system.properties.armor}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.armorQuality"}}</label>
|
||||
<div class="form-fields center">
|
||||
<select class="field-value armorQuality" name="system.properties.armorQuality" data-dtype="String">
|
||||
{{selectOptions config.armorQualities selected=item.system.properties.armorQuality localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.soakFormula"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value soakFormula" type="text" name="system.properties.soak.formula" value="{{item.system.properties.soak.formula}}" data-dtype="String"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.soakValue"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.soak.value" value="{{item.system.properties.soak.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if item.system.properties.helm}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.soakModifiers"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.soak.modifier" value="{{item.system.properties.soak.modifier}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if item.system.properties.shield}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.blockingMalus"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.blocking.malus" value="{{item.system.properties.blocking.malus}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.blockingAttacksBlocked"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.blocking.blocking1" {{checked item.system.properties.blocking.blocking1}}> {{localize "BOL.itemProperty.blocking1Attack"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.blocking.blockingAll" {{checked item.system.properties.blocking.blockingAll}}> {{localize "BOL.itemProperty.blockingAllAttacks"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemModifiers.init"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.modifiers.init" value="{{item.system.properties.modifiers.init}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemModifiers.agility"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.modifiers.agility" value="{{item.system.properties.modifiers.agility}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemModifiers.powercost"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.modifiers.powercost" value="{{item.system.properties.modifiers.powercost}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemModifiers.social"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.modifiers.social" {{checked item.system.properties.modifiers.social}}>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.spellProperties"}}</h3>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.circle"}}</label>
|
||||
<select class="field-value" name="system.properties.circle" data-dtype="Number">
|
||||
{{selectOptions config.spellType selected=item.system.properties.circle localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.difficulty"}}</label>
|
||||
<select name="system.properties.difficulty" value="{{item.system.properties.difficulty}}">
|
||||
{{selectOptions config.spellModifiers selected=item.system.properties.difficulty localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.ppcost"}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.ppcost" value="{{item.system.properties.ppcost}}" data-dtype="Number"/>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.duration"}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.duration" value="{{item.system.properties.duration}}" data-dtype="String"/>
|
||||
</div>
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.mandatoryconditions"}}</label>
|
||||
<select class="field-value" name="system.properties.nbmandatoryconditions" data-dtype="Number">
|
||||
{{selectOptions config.spellMandatoryConditions selected=item.system.properties.nbmandatoryconditions }}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{#each item.system.properties.mandatoryconditions as |cond idx|}}
|
||||
{{#if (lt idx @root.item.system.properties.nbmandatoryconditions)}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.mandatoryconditions"}} {{add idx 1}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.mandatoryconditions.{{idx}}" value="{{cond}}" data-dtype="String"/>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.optionnalconditions"}}</label>
|
||||
<select class="field-value" name="system.properties.nboptionnalconditions" data-dtype="Number">
|
||||
{{selectOptions config.spellOptionnalConditions selected=item.system.properties.nboptionnalconditions}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{#each item.system.properties.optionnalconditions as |cond idx|}}
|
||||
{{#if (lt idx @root.item.system.properties.nboptionnalconditions)}}
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.optionnalconditions"}} {{add idx 1}}</label>
|
||||
<input class="field-value" type="text" name="system.properties.optionnalconditions.{{idx}}" value="{{cond}}" data-dtype="String"/>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
<h4><label class="property-label">{{localize "BOL.ui.magicnewrules"}} : </label></h4>
|
||||
|
||||
<div class="property flexrow">
|
||||
<div class="form-fields center">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.spellkeep" {{checked item.system.properties.spellkeep}}> {{localize "BOL.ui.spellkeep"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields center">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.concentrate" {{checked item.system.properties.concentrate}}> {{localize "BOL.ui.concentrate"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields center">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.aggressive" {{checked item.system.properties.aggressive}}> {{localize "BOL.ui.aggressive"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.vehicleProperties"}}</h3>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
|
||||
<div class="form-fields">
|
||||
<select name="system.subtype" data-dtype="String">
|
||||
{{selectOptions config.vehicleSubtypes selected=item.system.subtype localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.speed"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.properties.speed" value="{{item.system.properties.speed}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.price"}}</label>
|
||||
<div class="form-fields">
|
||||
<input class="field-value" type="text" name="system.price" value="{{item.system.price}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,322 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.weaponProperties"}}</h3>
|
||||
<div class="form-group">
|
||||
<label>{{localize "BOL.ui.reach"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.melee"
|
||||
{{checked item.system.properties.melee}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.melee"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.ranged"
|
||||
{{checked item.system.properties.ranged}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.ranged"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.throwing"
|
||||
{{checked item.system.properties.throwing}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.throwing"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.natural"
|
||||
{{checked item.system.properties.natural}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.natural"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="form-group">
|
||||
<label>{{localize "BOL.ui.properties"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.2H"
|
||||
{{checked item.system.properties.2H}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.2H"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.concealable"
|
||||
{{checked item.system.properties.concealable}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.concealable"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.ignoreshield"
|
||||
{{checked item.system.properties.ignoreshield}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.ignoreshield"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.attackBonusDice"
|
||||
{{checked item.system.properties.attackBonusDice}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.attackBonusDice"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.attackMalusDice"
|
||||
{{checked item.system.properties.attackMalusDice}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.attackMalusDice"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.onlymodifier"
|
||||
{{checked item.system.properties.onlymodifier}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.onlymodifier"}}
|
||||
</label>
|
||||
|
||||
{{#if item.system.properties.ranged}}
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.reloadable"
|
||||
{{checked item.system.properties.reloadable}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.reloadable"}}
|
||||
</label>
|
||||
{{/if}}
|
||||
{{#if item.system.properties.melee}}
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.bashing"
|
||||
{{checked item.system.properties.bashing}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.bashing"}}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.throwable"
|
||||
{{checked item.system.properties.throwable}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.throwable"}}
|
||||
</label>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{{#if (not item.system.properties.onlymodifier)}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.attackAttribute"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.attackAttribute"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.attackAttributes
|
||||
selected=item.system.properties.attackAttribute
|
||||
localize=true
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.attackAptitude"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.attackAptitude"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.attackAptitudes
|
||||
selected=item.system.properties.attackAptitude
|
||||
localize=true
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.attackModifiers"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<input
|
||||
class="field-value"
|
||||
type="text"
|
||||
name="system.properties.attackModifiers"
|
||||
value="{{item.system.properties.attackModifiers}}"
|
||||
data-dtype="Number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.weaponSize"
|
||||
}}</label>
|
||||
<div class="form-fields">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.weaponSize"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.weaponSizes
|
||||
selected=item.system.properties.weaponSize
|
||||
localize=true
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.damage"}}</label>
|
||||
<div class="form-fields">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.damage"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.damageValues
|
||||
selected=item.system.properties.damage
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.damageAttribute"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.damageAttribute"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.damageAttributes
|
||||
selected=item.system.properties.damageAttribute
|
||||
localize=true
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.damageModifiers"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<input
|
||||
class="field-value"
|
||||
type="text"
|
||||
name="system.properties.damageModifiers"
|
||||
value="{{item.system.properties.damageModifiers}}"
|
||||
data-dtype="Number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.damageMultiplier"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<select
|
||||
class="field-value"
|
||||
name="system.properties.damageMultiplier"
|
||||
data-dtype="String"
|
||||
>
|
||||
{{selectOptions
|
||||
config.damageMultiplier
|
||||
selected=item.system.properties.damageMultiplier
|
||||
}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize
|
||||
"BOL.itemProperty.damageSpecial"
|
||||
}}</label>
|
||||
<div class="form-fields center">
|
||||
<label class="checkbox">
|
||||
<input
|
||||
class="field-value"
|
||||
type="checkbox"
|
||||
name="system.properties.damageReroll1"
|
||||
{{checked item.system.properties.damageReroll1}}
|
||||
/>
|
||||
{{localize "BOL.itemProperty.damageReroll1"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if
|
||||
(or
|
||||
item.system.properties.throwing
|
||||
(or item.system.properties.ranged item.system.properties.throwable)
|
||||
)
|
||||
}}
|
||||
<hr />
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.range"}}</label>
|
||||
<div class="form-fields center">
|
||||
<input
|
||||
class="field-value"
|
||||
type="text"
|
||||
name="system.properties.range"
|
||||
value="{{item.system.properties.range}}"
|
||||
data-dtype="Number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if item.system.properties.reloadable}}
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.reload"}}</label>
|
||||
<div class="form-fields center">
|
||||
<input
|
||||
class="field-value"
|
||||
type="text"
|
||||
name="system.properties.reload"
|
||||
value="{{item.system.properties.reload}}"
|
||||
data-dtype="Number"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
@@ -0,0 +1,77 @@
|
||||
<h3 class="form-header">{{localize "BOL.ui.weaponProperties"}}</h3>
|
||||
|
||||
<hr/>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.vehicleDamageType"}}</label>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.isfiredamage" {{checked item.system.properties.isfiredamage}}> {{localize "BOL.itemProperty.isfiredamage"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.ishulldamage" {{checked item.system.properties.ishulldamage}}> {{localize "BOL.itemProperty.ishulldamage"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.iscrewdamage" {{checked item.system.properties.iscrewdamage}}> {{localize "BOL.itemProperty.iscrewdamage"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.isboarding" {{checked item.system.properties.isboarding}}> {{localize "BOL.itemProperty.isboarding"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.isspur" {{checked item.system.properties.isspur}}> {{localize "BOL.itemProperty.isspur"}}
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-fields">
|
||||
<label class="checkbox">
|
||||
<input class="field-value" type="checkbox" name="system.properties.isbreakrow" {{checked item.system.properties.isbreakrow}}> {{localize "BOL.itemProperty.isbreakrow"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if item.system.properties.ishulldamage}}
|
||||
<hr/>
|
||||
<h3 class="form-header">{{localize "BOL.itemProperty.hulldamage"}}</h3>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.hulldamage"}}</label>
|
||||
<div class="form-fields">
|
||||
<select class="field-value" name="system.properties.hulldamage" data-dtype="String">
|
||||
{{selectOptions config.damageValues selected=item.system.properties.hulldamage }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.hullDamageMultiplier"}}</label>
|
||||
<div class="form-fields center">
|
||||
<select class="field-value" name="system.properties.hullDamageMultiplier" data-dtype="String">
|
||||
{{selectOptions config.damageMultiplier selected=item.system.properties.hullDamageMultiplier }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if item.system.properties.iscrewdamage}}
|
||||
<hr/>
|
||||
<h3 class="form-header">{{localize "BOL.itemProperty.crewdamage"}}</h3>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.crewdamage"}}</label>
|
||||
<div class="form-fields">
|
||||
<select class="field-value" name="system.properties.crewdamage" data-dtype="String">
|
||||
{{selectOptions config.damageValues selected=item.system.properties.crewdamage }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.itemProperty.crewDamageMultiplier"}}</label>
|
||||
<div class="form-fields center">
|
||||
<select class="field-value" name="system.properties.crewDamageMultiplier" data-dtype="String">
|
||||
{{selectOptions config.damageMultiplier selected=item.system.properties.crewDamageMultiplier }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user