Item review and commit

This commit is contained in:
2023-01-04 22:43:01 +01:00
parent a91eb3d7bd
commit 521d14c263
12 changed files with 55 additions and 45 deletions

View File

@ -14,9 +14,11 @@
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<li class="flexrow"><label class="generic-label">Cost</label>
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
</li>
<ul>
<li class="flexrow"><label class="generic-label">Cost</label>
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
</li>
</ul>
</div>
</section>

View File

@ -15,18 +15,11 @@
<div class="tab details" data-group="primary" data-tab="details">
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
</li>
{{#if system.hasroll}}
<li class="flexrow"><label class="item-field-label-long">Roll</label>
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
</li>
{{/if}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
<ul>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
</section>
</form>

View File

@ -12,10 +12,12 @@
<section class="sheet-body">
<div class="tab details" data-group="primary" data-tab="details">
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
<ul>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
</section>
</form>

View File

@ -14,12 +14,12 @@
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<li class="flexrow"><label class="item-field-label-long">Roll</label>
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
</li>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
<ul>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
</div>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
</section>
</form>

View File

@ -14,20 +14,14 @@
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
</li>
<ul>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
{{#if system.hasroll}}
<li class="flexrow"><label class="item-field-label-long">Roll</label>
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
</li>
{{/if}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
</section>
</form>

View File

@ -46,9 +46,11 @@
<input type="text" class="item-field-label-medium" name="system.levels" value="{{system.levels}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="item-field-label-long">Skill Roll points</label>
<input type="text" class="item-field-label-medium" name="system.skillroll" value="{{system.skillroll}}" data-dtype="Number"/>
</li>
{{#if (ne system.skilltype "combat")}}
<li class="flexrow"><label class="item-field-label-long">Levels Cost</label>
<input type="text" class="item-field-label-medium" name="system.levelscost" value="{{system.levelscost}}" data-dtype="Number"/>
</li>
{{/if}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}

View File

@ -14,7 +14,12 @@
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
<ul>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>

View File

@ -0,0 +1,9 @@
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
</li>
{{#if system.hasroll}}
<li class="flexrow"><label class="item-field-label-long">Roll</label>
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
</li>
{{/if}}