feat: implement core Foundry VTT system framework, including actor/item data models, spellcasting logic, dice mechanics, and automation scripts

This commit is contained in:
Octoturge
2026-06-14 10:12:47 +02:00
parent fb42c6e8cc
commit 624fe2ee1a
70 changed files with 1645 additions and 1146 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{!-- Active Effects partial included by talent and gear sheets. --}}
{{!-- Active Effects partial - included by talent and gear sheets. --}}
{{#if supportsEffects}}
<fieldset class="hbm-effects">
<legend>{{localize 'HBM.activeEffect.title'}}</legend>
+1 -1
View File
@@ -3,7 +3,7 @@
<label>{{localize 'HBM.race.attributePoints'}}: <input type="number" name="system.attributePoints" value="{{system.attributePoints}}" min="0"/></label>
<label>{{localize 'HBM.race.skillPoints'}}: <input type="number" name="system.skillPoints" value="{{system.skillPoints}}" min="0"/></label>
</div>
<label>{{localize 'HBM.race.physicalDescription'}}<input type="text" name="system.physicalDescription" value="{{system.physicalDescription}}"/></label>
<label>{{localize 'HBM.race.physicalDescription'}}<textarea name="system.physicalDescription" rows="3">{{system.physicalDescription}}</textarea></label>
<fieldset>
<legend>{{localize 'HBM.race.traits'}}
<button type="button" data-action="addArrayEntry" data-path="system.traits"
+2 -2
View File
@@ -30,7 +30,7 @@
{{#if (eq system.castingMode 'sacred')}}
<label>{{localize 'HBM.spell.deity'}}:
<select name="system.deity">
<option value=""></option>
<option value="">-</option>
{{#each @root.choices.deities as |label key|}}
<option value="{{key}}" {{#if (eq ../system.deity key)}}selected{{/if}}>{{label}}</option>
{{/each}}
@@ -39,7 +39,7 @@
{{/if}}
<label>{{localize 'HBM.spell.sourceBook'}}:
<select name="system.sourceBook">
<option value=""></option>
<option value="">-</option>
{{#each @root.choices.sourceBooks as |label key|}}
<option value="{{key}}" {{#if (eq ../system.sourceBook key)}}selected{{/if}}>{{label}}</option>
{{/each}}