This commit is contained in:
WBHarry 2025-07-14 01:00:27 +02:00
parent a6cdbef73c
commit 9596fe863a
5 changed files with 4 additions and 7 deletions

View file

@ -10,7 +10,6 @@ export default class DHArmor extends AttachableItem {
label: 'TYPES.Item.armor', label: 'TYPES.Item.armor',
type: 'armor', type: 'armor',
hasDescription: true, hasDescription: true,
isQuantifiable: true,
isInventoryItem: true isInventoryItem: true
}); });
} }

View file

@ -9,7 +9,6 @@ export default class DHWeapon extends AttachableItem {
label: 'TYPES.Item.weapon', label: 'TYPES.Item.weapon',
type: 'weapon', type: 'weapon',
hasDescription: true, hasDescription: true,
isQuantifiable: true,
isInventoryItem: true isInventoryItem: true
// hasInitialAction: true // hasInitialAction: true
}); });

View file

@ -112,7 +112,7 @@
margin: 5px; margin: 5px;
height: inherit; height: inherit;
.tag { .tag {
box-shadow: 0 0 0 1.1em #e5e5e5 inset; box-shadow: 0 0 0 1.1em @beige inset;
vertical-align: top; vertical-align: top;
box-sizing: border-box; box-sizing: border-box;
max-width: 100%; max-width: 100%;

View file

@ -1,4 +1,4 @@
<div> <section>
<div class="resource-items"> <div class="resource-items">
{{#times (rollParsed item.system.resource.max actor item numerical=true)}} {{#times (rollParsed item.system.resource.max actor item numerical=true)}}
{{#with (ifThen (lookup ../diceStates this) (lookup ../diceStates this) this) as | state |}} {{#with (ifThen (lookup ../diceStates this) (lookup ../diceStates this) this) as | state |}}
@ -13,4 +13,4 @@
<button data-action="save">{{localize 'Save'}}</button> <button data-action="save">{{localize 'Save'}}</button>
<button data-action="rerollDice">{{localize "DAGGERHEART.APPLICATIONS.ResourceDice.rerollDice"}}</button> <button data-action="rerollDice">{{localize "DAGGERHEART.APPLICATIONS.ResourceDice.rerollDice"}}</button>
</footer> </footer>
</div> </section>

View file

@ -12,11 +12,10 @@
{{#if isSidebar}} {{#if isSidebar}}
<div class="item-labels"> <div class="item-labels">
<div class="label"> <div class="label">
{{!-- {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.attack.roll.trait '.short')}} --}} {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.attack.roll.trait '.short')}}
{{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.attack.range '.short')}} {{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.attack.range '.short')}}
<span> - </span> <span> - </span>
{{item.system.attack.damage.parts.0.value.dice}}{{#if item.system.attack.damage.parts.0.value.bonus}} + {{item.system.attack.damage.parts.0.value.bonus}}{{/if}} {{item.system.attack.damage.parts.0.value.dice}}{{#if item.system.attack.damage.parts.0.value.bonus}} + {{item.system.attack.damage.parts.0.value.bonus}}{{/if}}
{{!-- ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' item.system.attack.damage.parts.0.type '.abbreviation')}}) --}}
{{#each item.system.attack.damage.parts.0.type as | type | }} {{#each item.system.attack.damage.parts.0.type as | type | }}
{{#with (lookup @root.config.GENERAL.damageTypes type)}} {{#with (lookup @root.config.GENERAL.damageTypes type)}}
<i class="fa-solid {{icon}}"></i> <i class="fa-solid {{icon}}"></i>