Attribute Item Subtype #76

Merged
Oliver merged 50 commits from feature/attribute-items into main 2026-04-27 02:12:56 +00:00
3 changed files with 18 additions and 10 deletions
Showing only changes of commit de1b976b12 - Show all commits

View file

@ -49,7 +49,8 @@
"PlayerSheet": "Player Sheet",
"SingleModePlayerSheet": "Player Sheet (Always Editing)",
"AttributeOnlyPlayerSheet": "Player Sheet (Attributes Only)",
"GenericItemSheet": "System Item Sheet"
"GenericItemSheet": "System Item Sheet",
"AttributeItemSheet": "Attribute Sheet"
},
"misc": {
"Key": "Key",
@ -68,6 +69,15 @@
"quantity": "Quantity",
"equipped": "Equipped",
"group": "Group"
},
"attribute": {
"key": {
"hint": "This is the computer-friendly identifier for the attribute. When accessing the attribute in rolls, this is the name you will need to use. Changing this WILL break any existing macros you have."
},
"always-visible": "Always Visible",
"minimum": "Minimum",
"current-value": "Current Value",
"maximum": "Maximum"
}
},
"Apps": {

View file

@ -1,7 +1,7 @@
<div>
<div class="property">
<label for="{{meta.idp}}-key">
Key
{{ localize "taf.misc.key" }}
</label>
<input
type="text"
@ -10,14 +10,12 @@
value="{{system.key}}"
>
<p class="hint">
This is the computer-friendly identifier for the attribute.
When accessing the attribute in rolls, this is the name you will
need to use. Changing this WILL break any existing macros you have.
{{ localize "taf.misc.attribute.key.hint" }}
</p>
</div>
<div class="property">
<label for="{{meta.idp}}-aboveTheFold">
Always Visible?
{{ localize "taf.misc.attribute.always-visible" }}
</label>
<taf-toggle
id="{{meta.idp}}-aboveTheFold"
@ -28,7 +26,7 @@
{{#if (not system.aboveTheFold)}}
<div class="property">
<label for="{{meta.idp}}-group">
Group
{{ localize "taf.misc.item.group" }}
</label>
<input
type="text"

View file

@ -1,6 +1,6 @@
<div class="value-controls">
<label for="{{meta.idp}}-min">
Minimum
{{ localize "taf.misc.attribute.minimum" }}
</label>
<input
type="number"
@ -12,7 +12,7 @@
>
<label for="{{meta.idp}}-value">
Current Value
{{ localize "taf.misc.attribute.current-value" }}
</label>
<input
type="number"
@ -25,7 +25,7 @@
>
<label for="{{meta.idp}}-max">
Maximum
{{ localize "taf.misc.attribute.maximum" }}
</label>
<input
type="number"