Passage en v12 + preparation module officiel BoL

This commit is contained in:
2024-04-26 18:00:56 +02:00
parent ae43c7c920
commit 7ed9265a26
190 changed files with 767 additions and 1743 deletions

View File

@@ -33,7 +33,9 @@
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="stats">{{localize "BOL.ui.tab.stats"}}</a>
{{#if (ne charType "creature")}}
{{#if (isCreature charType)}}
{{else}}
<a class="item" data-tab="actions">{{localize "BOL.ui.tab.actions"}}</a>
<a class="item" data-tab="features">{{localize "BOL.ui.tab.features"}}</a>
<a class="item" data-tab="equipment">{{localize "BOL.ui.tab.equipment"}}</a>
@@ -47,21 +49,23 @@
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab stats" data-group="primary" data-tab="stats">
{{#if (eq charType "creature")}}
{{#if (isCreature charType)}}
{{>"systems/bol/templates/actor/parts/tabs/creature-stats.hbs"}}
{{> "systems/bol/templates/actor/parts/tabs/creature-actions.hbs"}}
{{else}}
{{>"systems/bol/templates/actor/parts/tabs/actor-stats.hbs"}}
{{/if}}
</div>
{{#if (ne charType "creature")}}
{{#if (isCreature charType)}}
{{else}}
<div class="tab actions" data-group="primary" data-tab="actions">
{{> "systems/bol/templates/actor/parts/tabs/actor-actions.hbs"}}
</div>
{{/if}}
{{#if (ne charType "creature")}}
{{#if (isCreature charType)}}
{{else}}
<div class="tab features" data-group="primary" data-tab="features">
{{> "systems/bol/templates/actor/parts/tabs/actor-features.hbs"}}
</div>

View File

@@ -24,6 +24,7 @@
<select class="field-value" name="system.chartype" data-dtype="String">
{{#select charType}}
<option value="creature">{{localize "BOL.ui.creature"}}</option>
<option value="daemon">{{localize "BOL.ui.daemon"}}</option>
<option value="base">{{localize "BOL.ui.rabble"}}</option>
<option value="tough">{{localize "BOL.ui.tough"}}</option>
<option value="adversary">{{localize "BOL.ui.villain"}}</option>

View File

@@ -1,93 +1,89 @@
<ol class='items-list'>
{{#if (ne charType 'creature')}}
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biosize'}}
</div>
<div class='item-field flex2 left'>
<input
type='text'
name='system.details.height'
value="{{details.height}}"
/>
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioweight'}}
</div>
<div class='item-field flex2'>
<input
type='text'
name='system.details.weight'
value="{{details.weight}}"
/>
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioage'}}
</div>
<div class='item-field flex2'>
<input type='text' name='system.details.age' value="{{details.age}}" />
</div>
</li>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biohair'}}
</div>
<div class='item-field flex2 left'>
<input
type='text'
name='system.details.hait'
value="{{details.hait}}"
/>
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioeyes'}}
</div>
<div class='item-field flex2'>
<input
type='text'
name='system.details.eyes'
value="{{details.eyes}}"
/>
</div>
</li>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biosigns'}}
</div>
<div class='item-field flex2 left'>
<input
type='text'
name='system.details.signs'
value="{{details.signs}}"
/>
</div>
</li>
{{#if (isCreature charType)}}
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize "BOL.ui.biosize"}}
</div>
<div class='form-fields center'>
<select class='field-value size' name='system.details.size' data-dtype='String'>
{{#select details.size}}
{{#each config.creatureSize as |sizeData id|}}
<option value="{{id}}">
{{localize sizeData.label}}
</option>
{{/each}}
{{/select}}
</select>
</div>
</li>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize "BOL.ui.undead"}}
</div>
<div class="form-fields center">
<input class="field-value" type="checkbox" name="system.isundead" {{checked isUndead}}>
</div>
</li>
{{else}}
<li class='item flexrow item-header'>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biosize'}}
</div>
<div class='item-field flex2 left'>
<input type='text' name='system.details.height' value="{{details.height}}" />
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioweight'}}
</div>
<div class='item-field flex2'>
<input type='text' name='system.details.weight' value="{{details.weight}}" />
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioage'}}
</div>
<div class='item-field flex2'>
<input type='text' name='system.details.age' value="{{details.age}}" />
</div>
</li>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biohair'}}
</div>
<div class='item-field flex2 left'>
<input type='text' name='system.details.hait' value="{{details.hait}}" />
</div>
<div class='item-name right'>
{{localize 'BOL.ui.bioeyes'}}
</div>
<div class='item-field flex2'>
<input type='text' name='system.details.eyes' value="{{details.eyes}}" />
</div>
</li>
<li class='item flexrow item-header'>
<div class='item-name left'>
{{localize 'BOL.ui.biosigns'}}
</div>
<div class='item-field flex2 left'>
<input type='text' name='system.details.signs' value="{{details.signs}}" />
</div>
</li>
{{#if (ne charType "player")}}
<li class='item flexrow item-header'>
<div class='item-name left'>
Taille
{{localize "BOL.ui.undead"}}
</div>
<div class='form-fields center'>
<select
class='field-value size'
name='system.details.size'
data-dtype='String'
>
{{#select details.size}}
{{#each config.creatureSize as |sizeData id|}}
<option value="{{id}}">
{{localize sizeData.label}}
</option>
{{/each}}
{{/select}}
</select>
<div class="form-fields center">
<input class="field-value" type="checkbox" name="system.isundead" {{checked isUndead}}>
</div>
</li>
{{/if}}
{{/if}}
</ol>
{{#if (and (not isAstrologer) (countKeys horoscopeGroupList))}}
{{> "systems/bol/templates/actor/parts/tabs/actor-horoscope-group.hbs"}}
{{> "systems/bol/templates/actor/parts/tabs/actor-horoscope-group.hbs"}}
{{/if}}
<ol class='items-list'>
@@ -100,11 +96,11 @@
</ol>
{{editor
biography
target='system.details.biography'
button=true
owner=owner
editable=editable
biography
target='system.details.biography'
button=true
owner=owner
editable=editable
}}
{{#if (eq charType "player")}}
@@ -117,7 +113,7 @@
<div class="item-field flex1 center">{{localize "BOL.ui.cost"}}</div>
<div class="item-field flex1 center">{{localize "BOL.ui.value"}}</div>
<div class="item-field flex1 right">
<a class="inc-dec-btns-resource xplog-add" ><i class="fas fa-plus-square"></i></a>
<a class="inc-dec-btns-resource xplog-add"><i class="fas fa-plus-square"></i></a>
</div>
</li>
{{#each xplog as |xp idx|}}
@@ -137,11 +133,11 @@
{{#if (eq xp.system.properties.xptype "attribute")}}
<span class="item-field">{{localize (concat "BOL.attributes." xp.system.properties.xpname)}}</span>
{{else}}
{{#if (eq xp.system.properties.xptype "aptitude")}}
<span class="item-field">{{localize (concat "BOL.aptitudes." xp.system.properties.xpname)}}</span>
{{else}}
<span class="item-field">{{xp.system.properties.xpname}}</span>
{{/if}}
{{#if (eq xp.system.properties.xptype "aptitude")}}
<span class="item-field">{{localize (concat "BOL.aptitudes." xp.system.properties.xpname)}}</span>
{{else}}
<span class="item-field">{{xp.system.properties.xpname}}</span>
{{/if}}
{{/if}}
</div>
<div class="item-field flex1 center">
@@ -167,9 +163,9 @@
</li>
</ol>
{{editor
notes
target='system.details.notes'
button=true
owner=owner
editable=editable
notes
target='system.details.notes'
button=true
owner=owner
editable=editable
}}

View File

@@ -5,15 +5,7 @@
</div>
<div class="flex1 center cell">
<select name="modRanged" id="modRanged" value="{{mod}}">
{{#select modRanged}}
<option value="1">{{localize "BOL.dialog.pointblank"}}</option>
<option value="0">{{localize "BOL.dialog.close"}}</option>
<option value="-1">{{localize "BOL.dialog.medium"}}</option>
<option value="-2">{{localize "BOL.dialog.long"}}</option>
<option value="-4">{{localize "BOL.dialog.distant"}}</option>
<option value="-6">{{localize "BOL.dialog.extreme"}}</option>
<option value="-8">{{localize "BOL.dialog.utmost"}}</option>
{{/select}}
{{selectOptions config.rangeModifiers selected=modRanged localize=true}}
</select>
</div>
</div>
@@ -43,19 +35,7 @@
</div>
<div class="flex1 center cell">
<select name="mod" id="mod" value="{{mod}}">
{{#select mod}}
<option value="4">{{localize "BOL.dialog.soeasy"}}</option>
<option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">{{localize "BOL.dialog.heroic"}}</option>
<option value="-10">{{localize "BOL.dialog.mythic"}}</option>
<option value="-12">{{localize "BOL.dialog.divine"}}</option>
{{/select}}
{{selectOptions config.difficultyModifiers selected=mod localize=true}}
</select>
</div>
</div>

View File

@@ -1,11 +1,7 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
<select name="system.subtype" value="{{item.system.subtype}}" data-dtype="String">
{{#select item.system.subtype}}
{{#each config.featureSubtypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.featureSubtypes selected=item.system.subtype localize=true}}
</select>
</div>

View File

@@ -3,25 +3,13 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.attributaptitude"}}</label>
<select name="system.properties.identifier" value="{{item.system.properties.identifier}}">
{{#select item.system.properties.identifier}}
<option value="always">{{localize "BOL.ui.always"}}</option>
{{#each config.attackAttributes as |value id|}}
<option value="system.attributes.{{id}}">{{localize value}}</option>
{{/each}}
{{#each config.aptitudes as |value id|}}
<option value="system.aptitudes.{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.effectIdentifiers selected=item.system.properties.identifier localize=true}}
</select>
</div>
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.modifier"}}</label>
<select name="system.properties.modifier" value="{{item.system.properties.modifier}}">
{{#select item.system.properties.modifier}}
{{#each config.bolEffectModifier as |modifier id|}}
<option value="{{id}}">{{localize modifier}}</option>
{{/each}}
{{/select}}
{{selectOptions config.bolEffectModifier selected=item.system.properties.modifier localize=true}}
</select>
</div>

View File

@@ -4,11 +4,7 @@
<label class="property-label">{{localize "BOL.ui.fightOptionType"}}</label>
<div class="form-fields">
<select name="system.properties.fightoptiontype" data-dtype="String">
{{#select item.system.properties.fightoptiontype}}
{{#each config.fightOptionTypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.fightOptionTypes selected=item.system.properties.fightoptiontype localize=true}}
</select>
</div>
</div>

View File

@@ -3,11 +3,7 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.answer"}}</label>
<select name="system.properties.horoscopeanswer" data-dtype="String">
{{#select item.system.properties.horoscopeanswer}}
{{#each config.horoscopeAnswer as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.horoscopeAnswer selected=item.system.properties.horoscopeanswer localize=true}}
</select>
</div>

View File

@@ -21,29 +21,17 @@
{{#if (eq item.system.properties.xptype "attribute")}}
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
{{#select item.system.properties.xpname}}
{{#each config.attackAttributes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.attackAttributes selected=item.system.properties.xpname localize=true}}
</select>
{{else}}
{{#if (eq item.system.properties.xptype "aptitude")}}
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
{{#select item.system.properties.xpname}}
{{#each config.aptitudes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.aptitudes selected=item.system.properties.xpname localize=true} }
</select>
{{else}}
{{#if (eq item.system.properties.xptype "career")}}
<select name="system.properties.xpname" value="{{item.system.properties.xpname}}">
{{#select item.system.properties.xpname}}
{{#each careers as |career id|}}
<option value="{{id}}">{{career.name}}</option>
{{/each}}
{{/select}}
{{selectOptions careers labelAttr="name" selected=item.system.properties.xpname localize=true}}
</select>
{{else}}
<input type="text" name="system.properties.xpname" value="{{item.system.properties.xpname}}" data-dtype="String"/>

View File

@@ -2,11 +2,7 @@
<label class="property-label">{{localize "BOL.ui.category"}}</label>
<div class="form-fields">
<select class="field-value" name="system.category" value="{{item.system.category}}" data-dtype="String">
{{#select item.system.category}}
{{#each config.itemCategories as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.itemCategories selected=item.system.category localize=true}}
</select>
</div>
</div>

View File

@@ -3,27 +3,14 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.alchemyType"}}</label>
<select class="field-value" name="system.properties.alchemytype" data-dtype="String">
{{#select item.system.properties.alchemytype}}
{{#each config.alchemyType as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{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}}">
{{#select item.system.properties.difficulty}}
<option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">{{localize "BOL.dialog.heroic"}}</option>
{{/select}}
{{selectOptions config.alchemyModifiers selected=item.system.properties.difficulty localize=true}}
</select>
</div>

View File

@@ -4,11 +4,7 @@
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
<div class="form-fields">
<select name="system.subtype" data-dtype="String">
{{#select item.system.subtype}}
{{#each config.itemSubtypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.itemSubtypes selected=item.system.subtype localize=true}}
</select>
</div>
</div>
@@ -56,11 +52,7 @@
<label>{{localize "BOL.itemProperty.slot"}}</label>
<div class="form-fields center">
<select class="field-value" name="system.properties.slot" data-dtype="String">
{{#select item.system.properties.slot}}
{{#each config.equipmentSlots as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.equipmentSlots selected=item.system.properties.slot localize=true}}
</select>
</div>
</div>

View File

@@ -20,11 +20,7 @@
<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">
{{#select item.system.properties.armorQuality}}
{{#each config.armorQualities as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.armorQualities selected=item.system.properties.armorQuality localize=true}}
</select>
</div>
</div>

View File

@@ -3,27 +3,14 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.circle"}}</label>
<select class="field-value" name="system.properties.circle" data-dtype="Number">
{{#select item.system.properties.circle}}
{{#each config.spellType as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{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}}">
{{#select item.system.properties.difficulty}}
<option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">{{localize "BOL.dialog.heroic"}}</option>
{{/select}}
{{selectOptions config.spellModifiers selected=item.system.properties.difficulty localize=true}}
</select>
</div>
@@ -40,12 +27,7 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.mandatoryconditions"}}</label>
<select class="field-value" name="system.properties.nbmandatoryconditions" data-dtype="Number">
{{#select item.system.properties.nbmandatoryconditions}}
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
{{/select}}
{{selectOptions config.spellMandatoryConditions selected=item.system.properties.nbmandatoryconditions }}
</select>
</div>
@@ -61,16 +43,7 @@
<div class="property flexrow">
<label class="property-label">{{localize "BOL.ui.optionnalconditions"}}</label>
<select class="field-value" name="system.properties.nboptionnalconditions" data-dtype="Number">
{{#select item.system.properties.nboptionnalconditions}}
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
{{/select}}
{{selectOptions config.spellOptionnalConditions selected=item.system.properties.nboptionnalconditions}}
</select>
</div>

View File

@@ -4,11 +4,7 @@
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
<div class="form-fields">
<select name="system.subtype" data-dtype="String">
{{#select item.system.subtype}}
{{#each config.vehicleSubtypes as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
{{/select}}
{{selectOptions config.vehicleSubtypes selected=item.system.subtype localize=true}}
</select>
</div>
</div>

View File

@@ -58,11 +58,7 @@
<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">
{{#select item.system.properties.attackAttribute}}
{{#each config.attackAttributes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.attackAttributes selected=item.system.properties.attackAttribute localize=true}}
</select>
</div>
</div>
@@ -70,11 +66,7 @@
<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">
{{#select item.system.properties.attackAptitude}}
{{#each config.attackAptitudes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.attackAptitudes selected=item.system.properties.attackAptitude localize=true}}
</select>
</div>
</div>
@@ -90,11 +82,7 @@
<label class="property-label">{{localize "BOL.itemProperty.weaponSize"}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.weaponSize" data-dtype="String">
{{#select item.system.properties.weaponSize}}
{{#each config.weaponSizes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.weaponSizes selected=item.system.properties.weaponSize localize=true}}
</select>
</div>
</div>
@@ -102,11 +90,7 @@
<label class="property-label">{{localize "BOL.itemProperty.damage"}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.damage" data-dtype="String">
{{#select item.system.properties.damage}}
{{#each config.damageValues as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageValues selected=item.system.properties.damage}}
</select>
</div>
</div>
@@ -114,11 +98,7 @@
<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">
{{#select item.system.properties.damageAttribute}}
{{#each config.damageAttributes as |value id|}}
<option value="{{id}}">{{localize value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageAttributes selected=item.system.properties.damageAttribute localize=true}}
</select>
</div>
</div>
@@ -132,11 +112,7 @@
<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">
{{#select item.system.properties.damageMultiplier}}
{{#each config.damageMultiplier as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageMultiplier selected=item.system.properties.damageMultiplier}}
</select>
</div>
</div>

View File

@@ -42,11 +42,7 @@
<label class="property-label">{{localize "BOL.itemProperty.hulldamage"}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.hulldamage" data-dtype="String">
{{#select item.system.properties.hulldamage}}
{{#each config.damageValues as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageValues selected=item.system.properties.hulldamage }}
</select>
</div>
</div>
@@ -54,11 +50,7 @@
<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">
{{#select item.system.properties.hullDamageMultiplier}}
{{#each config.damageMultiplier as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageMultiplier selected=item.system.properties.hullDamageMultiplier }}
</select>
</div>
</div>
@@ -70,11 +62,7 @@
<label class="property-label">{{localize "BOL.itemProperty.crewdamage"}}</label>
<div class="form-fields">
<select class="field-value" name="system.properties.crewdamage" data-dtype="String">
{{#select item.system.properties.crewdamage}}
{{#each config.damageValues as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageValues selected=item.system.properties.crewdamage }}
</select>
</div>
</div>
@@ -82,11 +70,7 @@
<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">
{{#select item.system.properties.crewDamageMultiplier}}
{{#each config.damageMultiplier as |value id|}}
<option value="{{id}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.damageMultiplier selected=item.system.properties.crewDamageMultiplier }}
</select>
</div>
</div>