System init

This commit is contained in:
2022-12-04 12:16:25 +01:00
parent 3668798fa7
commit 5b7f7dc075
64 changed files with 188 additions and 70 deletions

View File

@@ -0,0 +1,19 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
</div>
</section>
</form>

View File

@@ -6,35 +6,39 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow"><label class="generic-label">Type</label>
<input type="text" class="input-numeric-short padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
<input type="text" class="padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
</li>
{{#each system.locations as |location key|}}
<li class="flexrow"><label class="generic-label">{{location.label}}</label>
<li class="flexrow"><label class="generic-label">Protected ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
</li>
<li class="flexrow">
<label class="generic-label">{{locationLabel key}}</label>
<label class="generic-label">Protected ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
{{#if location.protected}}
<li class="flexrow"><label class="generic-label">Protection (max)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
<li>
<ul class="ul-level1">
<li class="flexrow"><label class="generic-label">Protection (max)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Protection (current)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
</li>
</ul>
</li>
<li class="flexrow"><label class="generic-label">Protection (current)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
</li>
{{/if}}
{{/if}}
{{/each}}
<li class="flexrow"><label class="generic-label">SI</label>

View File

@@ -0,0 +1,25 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>
<li class="flexrow"><label class="generic-label">HUP</label>
<input type="text" class="" name="system.hup" value="{{system.hup}}" data-dtype="Number"/>
</li>
</ul>
</div>
</section>
</form>

View File

@@ -6,12 +6,12 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>

View File

@@ -0,0 +1,25 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>
<li class="flexrow"><label class="generic-label">HUP</label>
<input type="text" class="" name="system.hup" value="{{system.hup}}" data-dtype="Number"/>
</li>
</ul>
</div>
</section>
</form>

View File

@@ -6,12 +6,12 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>

View File

@@ -0,0 +1,19 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
</div>
</section>
</form>

View File

@@ -6,12 +6,12 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>

View File

@@ -6,13 +6,13 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">