DND5e Core 1.3.5

DND5e Core 1.3.5 modded to SW5e System

Combining with DND5e Core 1.3.2 to see one big commit since last core update

DND5e Core 1.3.2 modded to SW5e System
This commit is contained in:
supervj 2021-05-18 09:11:03 -04:00
parent c208552f70
commit b56a074697
147 changed files with 3615 additions and 1875 deletions

View file

@ -2,6 +2,15 @@
<section class="form-body">
<p class="notes">{{localize 'SW5E.FlagsInstructions'}}</p>
<h3 class="form-header">{{localize "SW5E.ItemTypeClass"}}</h3>
<div class="form-group">
<label>{{localize "SW5E.ClassMakeOriginal"}}</label>
<select name="data.details.originalClass" data-dtype="String">
{{selectOptions classes selected=actor.data.data.details.originalClass}}
</select>
<p class="notes">{{localize "SW5E.ClassMakeOriginalHint"}}</p>
</div>
{{#each flags as |fs section|}}
<h3 class="form-header">{{localize section}}</h3>
{{#each fs as |flag key|}}

View file

@ -0,0 +1,38 @@
<form autocomplete="off">
<input type="text" name="preview" value="{{preview}}" disabled>
<div class="form-group stacked">
<label>{{ localize "SW5E.CreatureType" }}</label>
<ul class="trait-list">
{{#each types as |type key|}}
<li>
<label class="radio">
<input type="radio" name="value" value="{{key}}" data-dtype="String" {{checked type.chosen}}/>
{{type.label}}
</label>
</li>
{{/each}}
<li class="custom-type form-group">
<input type="radio" name="value" value="custom" title="{{custom.label}}" {{checked custom.chosen}}/>
<label>{{custom.label}}</label>
<input type="text" name="custom" value="{{custom.value}}"/>
</li>
<li class="subtype form-group">
<label>{{ localize "SW5E.CreatureTypeSelectorSubtype" }}</label>
<input type="text" name="subtype" value="{{subtype}}"/>
</li>
</ul>
</div>
<div class="swarm-size form-group">
<label>{{ localize "SW5E.CreatureSwarmSize" }}</label>
<select name="swarm">
{{selectOptions sizes selected=swarm blank="" localize=true}}
</select>
</div>
<button type="submit" name="submit" value="1">
<i class="far fa-save"></i> {{ localize "SW5E.TraitSave"}}
</button>
</form>

View file

@ -0,0 +1,23 @@
<form autocomplete="off">
<p class="notes">{{ localize "SW5E.HitDiceConfigHint" }}</p>
{{#each classes}}
<div class="form-group">
<label>{{this.name}} ({{this.diceDenom}})</label>
<div class="form-fields">
<button class="decrement" type="button">-</button>
<input title="{{ localize 'SW5E.HitDiceRemaining' }}" class="current" name="{{this.classItemId}}" type="number" value="{{this.currentHitDice}}" />
<span class="sep">/</span>
<input title="{{ localize 'SW5E.HitDiceMax' }}" class="max" type="number" value="{{this.maxHitDice}}" disabled />
<button class="increment" type="button">+</button>
<button class="roll-hd" data-hd-denom="{{this.diceDenom}}" {{#unless this.canRoll}}disabled{{/unless}}>
<i class="fas fa-dice-d20"></i> {{ localize "SW5E.Roll" }}
</button>
</div>
</div>
{{/each}}
<div class="dialog-buttons">
<button type="reset" name="reset"><i class="fas fa-redo"></i> {{ localize "SETTINGS.5eUndoChanges" }}</button>
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SETTINGS.Save"}}</button>
</div>
</form>

View file

@ -1,11 +1,11 @@
<form id="long-rest" class="dialog-content" onsubmit="event.preventDefault();">
<p>Take a long rest? On a long rest you will recover hit points, half your maximum hit dice, class resources, limited use item charges, and power slots.</p>
<p>{{ localize "SW5E.LongRestHint" }}</p>
{{#if promptNewDay}}
<div class="form-group">
<label>Is New Day?</label>
<label>{{ localize "SW5E.NewDay" }}</label>
<input type="checkbox" name="newDay" {{checked newDay}}/>
<p class="hint">Recover limited use abilities which recharge "per day"?</p>
<p class="hint">{{ localize "SW5E.NewDayHint" }}</p>
</div>
{{/if}}

View file

@ -0,0 +1,19 @@
<form>
<p class="hint">{{hint}}</p>
<ul class="items-list">
{{#each items}}
<li class="item flexrow">
<div class="item-name flexrow">
<div class="item-image" style="background-image:url({{data.img}})" data-item-id="{{id}}"></div>
<label class="flexrow">
<h4>{{data.name}}</h4>
<input type="checkbox" checked name="{{id}}" />
</label>
</div>
</li>
{{/each}}
</ul>
</form>

View file

@ -11,7 +11,7 @@
{{/select}}
</select>
<button id="roll-hd" {{#unless canRoll}}disabled{{/unless}}>
<i class="fas fa-dice-d20"></i> {{ localize "Roll" }}
<i class="fas fa-dice-d20"></i> {{ localize "SW5E.Roll" }}
</button>
</div>
{{#unless canRoll}}
@ -21,9 +21,9 @@
{{#if promptNewDay}}
<div class="form-group">
<label>Is New Day?</label>
<label>{{ localize "SW5E.NewDay" }}</label>
<input type="checkbox" name="newDay" {{checked newDay}}/>
<p class="hint">Recover limited use abilities which recharge "per day"?</p>
<p class="hint">{{ localize "SW5E.NewDayHint" }}</p>
</div>
{{/if}}