{{!-- Header: image + name + type --}}
{{!-- ======= WEAPON ======= --}}
{{#if (or system.properties.weapon (eq system.subtype "weapon"))}}
{{#if system.properties.damage}}
{{localize "BOL.itemProperty.damage"}}
{{system.properties.damage}}{{#if system.properties.damageAttribute}} + {{localize (concat "BOL.attributes." system.properties.damageAttribute)}}{{/if}}{{#if system.properties.damageModifiers}} {{#if (isPositive system.properties.damageModifiers)}}+{{/if}}{{system.properties.damageModifiers}}{{/if}}
{{/if}}
{{#if system.properties.weaponSize}}
{{localize "BOL.itemProperty.weaponSize"}}
{{localize (concat "BOL.weaponSize." system.properties.weaponSize)}}
{{/if}}
{{#if system.properties.attackModifiers}}
{{localize "BOL.itemProperty.attackModifiers"}}
{{system.properties.attackModifiers}}
{{/if}}
{{#if system.properties.range}}
{{localize "BOL.itemProperty.range"}}
{{system.properties.range}} m
{{/if}}
{{#if system.properties.reload}}
{{localize "BOL.itemProperty.reload"}}
{{system.properties.reload}}
{{/if}}
{{#if system.properties.melee}}{{localize "BOL.itemProperty.melee"}}{{/if}}
{{#if system.properties.ranged}}{{localize "BOL.itemProperty.ranged"}}{{/if}}
{{#if system.properties.throwing}}{{localize "BOL.itemProperty.throwing"}}{{/if}}
{{#if (lookup system.properties "2H")}}{{localize "BOL.itemProperty.2H"}}{{/if}}
{{#if system.properties.bashing}}{{localize "BOL.itemProperty.bashing"}}{{/if}}
{{#if system.properties.throwable}}{{localize "BOL.itemProperty.throwable"}}{{/if}}
{{#if system.properties.concealable}}{{localize "BOL.itemProperty.concealable"}}{{/if}}
{{#if system.properties.ignoreshield}}{{localize "BOL.itemProperty.ignoreshield"}}{{/if}}
{{#if system.properties.attackBonusDice}}{{localize "BOL.itemProperty.attackBonusDice"}}{{/if}}
{{#if system.properties.attackMalusDice}}{{localize "BOL.itemProperty.attackMalusDice"}}{{/if}}
{{#if system.properties.magical}}{{localize "BOL.itemProperty.magical"}}{{/if}}
{{/if}}
{{!-- ======= PROTECTION ======= --}}
{{#if system.properties.protection}}
{{#if system.properties.armor}}
{{localize "BOL.itemProperty.armorQuality"}}
{{localize (concat "BOL.armorQuality." system.properties.armorQuality)}}
{{localize "BOL.itemProperty.soakFormula"}}
{{system.properties.soak.formula}}{{#if system.properties.soak.value}} ({{system.properties.soak.value}}){{/if}}
{{/if}}
{{#if system.properties.helm}}
{{localize "BOL.itemProperty.soakModifiers"}}
{{system.properties.soak.modifier}}
{{/if}}
{{#if system.properties.shield}}
{{localize "BOL.itemProperty.blockingMalus"}}
{{system.properties.blocking.malus}}
{{/if}}
{{#if system.properties.modifiers.init}}
{{localize "BOL.itemModifiers.init"}}
{{system.properties.modifiers.init}}
{{/if}}
{{#if system.properties.modifiers.agility}}
{{localize "BOL.itemModifiers.agility"}}
{{system.properties.modifiers.agility}}
{{/if}}
{{#if system.properties.armor}}{{localize "BOL.itemProperty.armor"}}{{/if}}
{{#if system.properties.shield}}{{localize "BOL.itemProperty.shield"}}{{/if}}
{{#if system.properties.helm}}{{localize "BOL.itemProperty.helm"}}{{/if}}
{{#if system.properties.blocking.blocking1}}{{localize "BOL.itemProperty.blocking1Attack"}}{{/if}}
{{#if system.properties.blocking.blockingAll}}{{localize "BOL.itemProperty.blockingAllAttacks"}}{{/if}}
{{#if system.properties.magical}}{{localize "BOL.itemProperty.magical"}}{{/if}}
{{/if}}
{{!-- ======= SPELL ======= --}}
{{#if (eq system.category "spell")}}
{{localize "BOL.ui.circle"}}
{{#if (eq system.properties.circle 0)}}{{localize "BOL.spellItem.charm"}}{{/if}}
{{#if (eq system.properties.circle 1)}}{{localize "BOL.spellItem.circle1"}}{{/if}}
{{#if (eq system.properties.circle 2)}}{{localize "BOL.spellItem.circle2"}}{{/if}}
{{#if (eq system.properties.circle 3)}}{{localize "BOL.spellItem.circle3"}}{{/if}}
{{localize "BOL.ui.ppcost"}}
{{system.properties.ppcost}} PP
{{#if system.properties.difficulty}}
{{localize "BOL.ui.difficulty"}}
{{system.properties.difficulty}}
{{/if}}
{{#if system.properties.duration}}
{{localize "BOL.ui.duration"}}
{{system.properties.duration}}
{{/if}}
{{#if system.properties.nbmandatoryconditions}}
{{localize "BOL.ui.mandatoryconditions"}} :
{{#each system.properties.mandatoryconditions as |cond idx|}}
{{#if (lt idx ../system.properties.nbmandatoryconditions)}}
{{#if cond}}{{cond}}{{/if}}
{{/if}}
{{/each}}
{{/if}}
{{#if system.properties.nboptionnalconditions}}
{{localize "BOL.ui.optionnalconditions"}} :
{{#each system.properties.optionnalconditions as |cond idx|}}
{{#if (lt idx ../system.properties.nboptionnalconditions)}}
{{#if cond}}{{cond}}{{/if}}
{{/if}}
{{/each}}
{{/if}}
{{#if system.properties.spellkeep}}{{localize "BOL.ui.spellkeep"}}{{/if}}
{{#if system.properties.concentrate}}{{localize "BOL.ui.concentrate"}}{{/if}}
{{#if system.properties.aggressive}}{{localize "BOL.ui.aggressive"}}{{/if}}
{{/if}}
{{!-- ======= ALCHEMY ======= --}}
{{#if (eq system.category "alchemy")}}
{{localize "BOL.ui.alchemyType"}}
{{localize (concat "BOL.alchemyItem." system.properties.alchemytype)}}
{{localize "BOL.ui.pccost"}}
{{system.properties.pccost}} PC
{{#if system.properties.pccurrent}}
{{localize "BOL.ui.pcnow"}}
{{system.properties.pccurrent}}
{{/if}}
{{#if system.properties.difficulty}}
{{localize "BOL.ui.difficulty"}}
{{system.properties.difficulty}}
{{/if}}
{{/if}}
{{!-- ======= FEATURE ======= --}}
{{#if (eq type "feature")}}
{{#if (eq system.subtype "career")}}
{{localize "BOL.ui.rank"}}
{{system.rank}}
{{#if system.properties.sorcerer}}{{localize "BOL.ui.isSorcerer"}}{{/if}}
{{#if system.properties.alchemist}}{{localize "BOL.ui.isAlchemist"}}{{/if}}
{{#if system.properties.priest}}{{localize "BOL.ui.isPriest"}}{{/if}}
{{#if system.properties.astrologer}}{{localize "BOL.ui.isAstrologer"}}{{/if}}
{{/if}}
{{#if (eq system.subtype "boon")}}
{{#if system.properties.isbonusdice}}{{localize "BOL.ui.isbonusdice"}}{{/if}}
{{/if}}
{{#if (eq system.subtype "flaw")}}
{{#if system.properties.ismalusdice}}{{localize "BOL.ui.ismalusdice"}}{{/if}}
{{/if}}
{{/if}}
{{!-- ======= DESCRIPTION ======= --}}
{{#if system.description}}
{{/if}}