feat!: migrate to v12

BREAKING CHANGE: Support for v11 has been dropped
This commit is contained in:
Johannes Loher 2025-02-22 15:47:10 +01:00
parent 1dd2705bf1
commit 6ac9f49463
No known key found for this signature in database
GPG key ID: 7CB0A9FB553DA045
13 changed files with 52 additions and 89 deletions

View file

@ -12,11 +12,7 @@ SPDX-License-Identifier: MIT
for="system.baseInfo.creatureType-{{data._id}}">{{config.i18n.creatureBaseInfo.creatureType}}</label>
<select class="ds4-actor-properties__property-select" id="system.baseInfo.creatureType-{{data._id}}"
name="system.baseInfo.creatureType" data-dtype="String">
{{#select data.system.baseInfo.creatureType}}
{{#each config.i18n.creatureTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.i18n.creatureTypes selected=data.system.baseInfo.creatureType}}
</select>
</div>
<div class="ds4-actor-properties__property">
@ -36,11 +32,7 @@ SPDX-License-Identifier: MIT
for="system.baseInfo.sizeCategory-{{data._id}}">{{config.i18n.creatureBaseInfo.sizeCategory}}</label>
<select class="ds4-actor-properties__property-select" id="system.baseInfo.sizeCategory-{{data._id}}"
name="system.baseInfo.sizeCategory" data-dtype="String">
{{#select data.system.baseInfo.sizeCategory}}
{{#each config.i18n.creatureSizeCategories as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
{{selectOptions config.i18n.creatureSizeCategories selected=data.system.baseInfo.sizeCategory}}
</select>
</div>
<div class="ds4-actor-properties__property">

View file

@ -18,8 +18,8 @@ SPDX-License-Identifier: MIT
{{!-- active --}}
{{#if effectData.active}}<i class="fas fa-check"></i>{{else}}<i class="fas fa-ban"></i>{{/if}}
{{!-- icon --}}
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
{{!-- img --}}
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.img
alt=(localize "DS4.DocumentImageAltText" name=effectData.label) title=effectData.label}}
{{!-- name --}}