forked from GitHub-Mirrors/foundry-sw5e
System 1.1.1 ** Requires Foundry 0.7.6
System main update to be inline with dnd5e 1.1.1 Added active effects to as many sheets as I thought applicable. Please check loot, I made an attempt but it may be broken All .less .css and actor .html updates were made to the old actors. New actors may be broken with this update removed templates\actors\oldActor\parts\actor-effects.html for newer templates\actors\parts\active-effects.html removed module\apps\cast-dialog, templates\apps\cast-cast.html, and templates\items\cast.html. I do not think they are used, I think they were deprecated when powers were treated as items, if not we can add them back in. **NOTE** REQUIRES Foundry 0.7.6
This commit is contained in:
parent
27f5fa3670
commit
68a1b6a9f0
58 changed files with 1417 additions and 1706 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue