All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

114 lines
4.6 KiB

{{!-- Category --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.Category.Label"}}</label>
<div class="form-fields">
<select name="system.category">
{{#select data.category}}
<option value="deity">{{localize "TYPES.Item.deity"}}</option>
<option value="pantheon">{{localize "PF2E.Item.Deity.Category.Pantheon"}}</option>
<option value="philosophy">{{localize "PF2E.Item.Deity.Category.Philosophy"}}</option>
{{/select}}
</select>
</div>
<p class="hint">{{localize "PF2E.Item.Deity.Category.Hint"}}</p>
</div>
{{!-- Deity Alignment --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.Alignment"}}</label>
<div class="form-fields">
<select name="system.alignment.own">
{{#select data.alignment.own}}
<option value=""></option>
{{#each alignments as |label slug|}}<option value="{{slug}}">{{localize label}}</option>{{/each}}
{{/select}}
</select>
</div>
</div>
{{!-- Follower Alignments --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.FollowerAlignments"}}</label>
<div class="form-fields">
<input name="system.alignment.follower" value="{{json data.alignment.follower}}" class="pf2e-tagify" data-dtype="JSON" />
</div>
</div>
{{!-- Divine Ability --}}
<div class="form-group form-group-trait">
<label>{{localize "PF2E.Item.Deity.DivineAbility.Label"}}</label>
<div class="form-fields">
<input type="text" name="system.ability" value="{{json data.ability}}" class="pf2e-tagify" data-dtype="JSON" />
</div>
<p class="hint">{{localize "PF2E.Item.Deity.DivineAbility.Hint"}}</p>
</div>
{{!-- Divine Skill --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.DivineSkill"}}</label>
<div class="form-fields">
<select name="system.skill">
{{#select data.skill}}
<option value=""></option>
{{#each skills as |label key|}}
<option value="{{key}}">{{localize label}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
{{#unless atheistic}}
{{!-- Favored Weapon --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.FavoredWeapons.Label"}}</label>
<div class="form-fields">
<input name="system.weapons" value="{{json data.weapons}}" class="pf2e-tagify" data-dtype="JSON" />
</div>
<p class="hint">{{localize "PF2E.Item.Deity.FavoredWeapons.Hint"}}</p>
</div>
{{!-- Primary Domains --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.Domains.Primary"}}</label>
<div class="form-fields">
<input name="system.domains.primary" class="pf2e-tagify" value="{{json data.domains.primary}}" data-dtype="JSON" />
</div>
</div>
{{!-- Alternate Domains --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.Domains.Alternate.Label"}}</label>
<div class="form-fields">
<input name="system.domains.alternate" class="pf2e-tagify" value="{{json data.domains.alternate}}" data-dtype="JSON" />
</div>
<p class="hint">{{localize "PF2E.Item.Deity.Domains.Alternate.Hint"}}</p>
</div>
{{!-- Divine Font --}}
<div class="form-group">
<label>{{localize "PF2E.Item.Deity.DivineFont.Label"}}</label>
<div class="checkbox-pair">
{{#each divineFonts as |font|}}
<span>{{font.label}}</span>
<input type="checkbox" name="system.font" value="{{font.value}}" data-dtype="String" {{checked font.selected}} />
{{/each}}
</div>
</div>
{{!-- Cleric Spells --}}
<div class="form-group item-ref-group cleric-spells">
<label>{{localize "PF2E.Item.Deity.ClericSpells.Label"}}</label>
<ul class="item-refs{{#if (eq spells.length 0)}} empty{{/if}}">
{{#each spells as |spell|}}
<li data-uuid="{{spell.uuid}}">
<img class="icon" src="{{spell.img}}" />
<a class="name" data-action="view-spell">{{spell.name}}</a>
<input type="number" class="level" value="{{spell.level}}" data-level="{{spell.level}}" data-action="update-spell-level" />
{{#if @root.options.editable}}<a class="remove" data-action="remove-spell"><i class="fa-solid fa-times"></i></a>{{/if}}
</li>
{{/each}}
</ul>
<p class="hint">{{localize "PF2E.Item.Deity.ClericSpells.Hint"}}</p>
</div>
{{/unless}}