Update actor sheet

This commit is contained in:
2025-12-20 00:09:42 +01:00
parent 65dfb3ddff
commit 189b03ca91
24 changed files with 4669 additions and 1791 deletions
+2 -60
View File
@@ -1,68 +1,10 @@
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="skills" data-group="sheet">
<div class="main-div">
{{!-- Core Skill Selection (Prism RPG) --}}
<fieldset class="core-skill-selection">
<legend data-tooltip="{{localize 'PRISMRPG.Tooltip.coreSkill'}}" data-tooltip-direction="UP">
{{localize "PRISMRPG.Label.coreSkill"}}
</legend>
<div class="core-skill-info">
{{#if system.coreSkill.skill}}
<div class="selected-core-skill">
<span class="core-skill-name">{{localize (concat "PRISMRPG.CoreSkill." system.coreSkill.skill)}}</span>
<span class="core-skill-bonus">+5 {{localize "PRISMRPG.Label.basicChecks"}}</span>
{{#if system.coreSkill.attributeChoice}}
<span class="attribute-bonus">+2 {{localize (concat "PRISMRPG.Label." system.coreSkill.attributeChoice)}}</span>
{{/if}}
<span class="advanced-checks">{{localize "PRISMRPG.Label.advancedChecksEnabled"}}</span>
</div>
{{else}}
<div class="no-core-skill">
<p>{{localize "PRISMRPG.Message.selectCoreSkill"}}</p>
<select name="system.coreSkill.skill" {{#if isPlayMode}}disabled{{/if}}>
<option value="">{{localize "PRISMRPG.Label.chooseSkill"}}</option>
{{#each config.CORE_SKILLS as |skill skillId|}}
<option value="{{skillId}}">{{localize skill.label}}</option>
{{/each}}
</select>
</div>
{{/if}}
</div>
</fieldset>
{{!-- Available Core Skills Reference --}}
<fieldset class="core-skills-list">
<legend data-tooltip="{{localize 'PRISMRPG.Tooltip.coreSkills'}}" data-tooltip-direction="UP">
{{localize "PRISMRPG.Label.availableCoreSkills"}}
</legend>
<div class="skills-grid">
{{#each config.CORE_SKILLS as |skill skillId|}}
<div class="core-skill-item {{#if (eq ../system.coreSkill.skill skillId)}}selected{{/if}}"
data-skill-id="{{skillId}}">
<div class="skill-header">
<span class="skill-name">{{localize skill.label}}</span>
{{#if (eq ../system.coreSkill.skill skillId)}}
<span class="badge-core">{{localize "PRISMRPG.Label.yourCoreSkill"}}</span>
{{/if}}
</div>
<div class="skill-attributes">
<span class="attribute-choices-label">{{localize "PRISMRPG.Label.attributeChoices"}}:</span>
{{#each skill.attributeChoices as |attr|}}
<span class="attribute-choice {{#if (eq ../../system.coreSkill.attributeChoice attr)}}chosen{{/if}}">
{{localize (concat "PRISMRPG.Label." attr)}}
</span>
{{#unless @last}}/{{/unless}}
{{/each}}
</div>
</div>
{{/each}}
</div>
</fieldset>
{{!-- Skills Items (if any) --}}
{{!-- Skills Items --}}
<fieldset>
<legend data-tooltip="{{localize 'PRISMRPG.Tooltip.skills'}}" data-tooltip-direction="UP">
{{localize "PRISMRPG.Label.customSkills"}}
{{localize "PRISMRPG.Label.skills"}}
</legend>
<div class="skills">
{{#each skills as |item|}}