forked from GitHub-Mirrors/foundry-sw5e
DND5e Core 1.1.1
DND5e Core 1.1.1 with find and replace to SW5e
This commit is contained in:
parent
07a72da362
commit
a544f5e0a9
3107 changed files with 7609 additions and 9785 deletions
|
@ -1,44 +1,48 @@
|
|||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<p class="notes">{{localize 'SW5E.FlagsInstructions'}}</p>
|
||||
<section class="form-body">
|
||||
<p class="notes">{{localize 'SW5E.FlagsInstructions'}}</p>
|
||||
|
||||
{{#each flags as |fs section|}}
|
||||
<h3 class="form-header">{{localize section}}</h3>
|
||||
{{#each fs as |flag key|}}
|
||||
{{#each flags as |fs section|}}
|
||||
<h3 class="form-header">{{localize section}}</h3>
|
||||
{{#each fs as |flag key|}}
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{localize flag.name}}</label>
|
||||
<div class="form-group">
|
||||
<label>{{localize flag.name}}</label>
|
||||
|
||||
{{#if flag.isCheckbox}}
|
||||
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked flag.value}}/>
|
||||
{{#if flag.isCheckbox}}
|
||||
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked flag.value}}/>
|
||||
|
||||
{{else if flag.isSelect}}
|
||||
<select name="{{key}}" data-dtype="{{flag.type}}">
|
||||
{{#select flag.value}}
|
||||
{{#each flag.choices as |v k|}}
|
||||
<option value="{{k}}">{{localize v}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else if flag.isSelect}}
|
||||
<select name="{{key}}" data-dtype="{{flag.type}}">
|
||||
{{#select flag.value}}
|
||||
{{#each flag.choices as |v k|}}
|
||||
<option value="{{k}}">{{localize v}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
{{else}}
|
||||
<input type="text" name="{{key}}" value="{{flag.value}}" placeholder="{{flag.placeholder}}" data-dtype="{{flag.type}}"/>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<input type="text" name="{{key}}" value="{{flag.value}}" placeholder="{{flag.placeholder}}" data-dtype="{{flag.type}}"/>
|
||||
{{/if}}
|
||||
|
||||
<p class="notes">{{localize flag.hint}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
<p class="notes">{{localize flag.hint}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
|
||||
<h3 class="form-header">{{localize "SW5E.Bonuses"}}</h3>
|
||||
<p class="notes">{{localize "SW5E.BonusesHint"}}</p>
|
||||
{{#each bonuses as |b|}}
|
||||
<div class="form-group">
|
||||
<label>{{localize b.label}}</label>
|
||||
<input type="text" name="{{b.name}}" value="{{b.value}}"/>
|
||||
</div>
|
||||
{{/each}}
|
||||
<h3 class="form-header">{{localize "SW5E.Bonuses"}}</h3>
|
||||
<p class="notes">{{localize "SW5E.BonusesHint"}}</p>
|
||||
{{#each bonuses as |b|}}
|
||||
<div class="form-group">
|
||||
<label>{{localize b.label}}</label>
|
||||
<input type="text" name="{{b.name}}" value="{{b.value}}"/>
|
||||
</div>
|
||||
{{/each}}
|
||||
</section>
|
||||
|
||||
<button type="submit" name="submit">
|
||||
<i class="far fa-save"></i> {{localize 'SW5E.FlagsSave'}}
|
||||
</button>
|
||||
<footer class="form-footer">
|
||||
<button type="submit" name="submit">
|
||||
<i class="far fa-save"></i> {{localize 'SW5E.FlagsSave'}}
|
||||
</button>
|
||||
</footer>
|
||||
</form>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<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 points.</p>
|
||||
<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>
|
||||
|
||||
{{#if promptNewDay}}
|
||||
<div class="form-group">
|
||||
|
|
34
templates/apps/movement-config.html
Normal file
34
templates/apps/movement-config.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<form autocomplete="off">
|
||||
<p class="notes">{{localize "SW5E.MovementConfigHint"}}</p>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementWalk"}}</label>
|
||||
<input name="data.attributes.movement.walk" type="number" step="0.1" value="{{movement.walk}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementBurrow"}}</label>
|
||||
<input name="data.attributes.movement.burrow" type="number" step="0.1" value="{{movement.burrow}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementClimb"}}</label>
|
||||
<input name="data.attributes.movement.climb" type="number" step="0.1" value="{{movement.climb}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementFly"}}</label>
|
||||
<input name="data.attributes.movement.fly" type="number" step="0.1" value="{{movement.fly}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementSwim"}}</label>
|
||||
<input name="data.attributes.movement.swim" type="number" step="0.1" value="{{movement.swim}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementUnits"}}</label>
|
||||
<select name="data.attributes.movement.units">
|
||||
{{selectOptions units selected=movement.units}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementHover"}}</label>
|
||||
<input name="data.attributes.movement.hover" type="checkbox" {{checked movement.hover}}/>
|
||||
</div>
|
||||
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "Submit"}}</button>
|
||||
</form>
|
|
@ -18,7 +18,7 @@
|
|||
<p class="notes">{{ localize "SW5E.ShortRestNoHD" }}</p>
|
||||
{{/unless}}
|
||||
</div>
|
||||
|
||||
|
||||
{{#if promptNewDay}}
|
||||
<div class="form-group">
|
||||
<label>Is New Day?</label>
|
||||
|
|
|
@ -15,5 +15,5 @@
|
|||
<input type="text" name="custom" value="{{custom}}" data-dtype="String"/>
|
||||
</div>
|
||||
{{/if}}
|
||||
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SW5E.Save"}}</button>
|
||||
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SW5E.TraitSave"}}</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue