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.
 
 
 

36 lines
1.7 KiB

<div class="form-group">
<label class="short">{{localize "PF2E.RuleEditor.Note.Title"}}</label>
<div class="spaced-fields details-container-flex-row">
<input type="text" name="system.rules.{{index}}.title" value="{{rule.title}}" />
<label>
{{localize "PF2E.RuleEditor.Note.Hidden"}}
<input type="checkbox" class="hidden-value" {{checked (or (eq rule.visibility "owner") (eq rule.visibility "gm"))}}>
</label>
</div>
</div>
<div class="form-group">
<label for="selector" class="short">{{localize "PF2E.RuleEditor.General.Selector"}}</label>
<div class="attached-input">
<button type="button" class="attachment" data-action="toggle-selector">
{{#if selectorIsArray}}Multiple{{else}}Single{{/if}}
</button>
{{#if selectorIsArray}}
<input type="text" class="pf2e-tagify selector-list" name="system.rules.{{index}}.selector" value="{{json rule.selector}}" data-dtype="JSON" />
{{else}}
<input type="text" name="system.rules.{{index}}.selector" value="{{rule.selector}}" />
{{/if}}
</div>
</div>
<textarea name="system.rules.{{index}}.text" spellcheck="false" placeholder="{{localize "PF2E.RuleEditor.Note.Text"}}">{{rule.text}}</textarea>
<div class="form-group">
<label>{{localize "PF2E.RuleEditor.Note.Outcome"}}</label>
<input class="pf2e-tagify outcomes" name="system.rules.{{index}}.outcome" value="{{json rule.outcome}}" data-dtype="JSON" />
</div>
<div class="form-group">
<label>{{localize "PF2E.RuleEditor.General.Predicate"}}</label>
<input type="text" name="system.rules.{{index}}.predicate" value="{{json rule.predicate}}" />
</div>