mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Added NrChoices to homebrew
This commit is contained in:
parent
a65719b314
commit
23d25ca377
4 changed files with 37 additions and 0 deletions
|
|
@ -89,6 +89,7 @@
|
|||
"Homebrew": {
|
||||
"NewDowntimeMove": "Downtime Move",
|
||||
"DowntimeMoves": "Downtime Moves",
|
||||
"NrChoices": "# Moves Per Rest",
|
||||
"ResetMovesTitle": "Reset {type} Downtime Moves",
|
||||
"ResetMovesText": "Are you sure you want to reset?",
|
||||
"FIELDS": {
|
||||
|
|
|
|||
|
|
@ -3178,6 +3178,11 @@ div.daggerheart.views.multiclass {
|
|||
#resources:has(.fear-bar) {
|
||||
min-width: 200px;
|
||||
}
|
||||
.daggerheart.dh-style.setting fieldset {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.daggerheart.dh-style.setting fieldset.two-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
|
|
@ -3186,6 +3191,12 @@ div.daggerheart.views.multiclass {
|
|||
.daggerheart.dh-style.setting fieldset.two-columns.even {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
.daggerheart.dh-style.setting .setting-group-field {
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.daggerheart.dh-style.setting .settings-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
.daggerheart.dh-style.setting {
|
||||
fieldset {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
&.two-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
|
|
@ -11,6 +15,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
.setting-group-field {
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.settings-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,13 @@
|
|||
<a data-action="resetMoves" data-type="longRest"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
||||
</legend>
|
||||
|
||||
<div class="form-group setting-group-field">
|
||||
<label>{{localize "DAGGERHEART.Settings.Homebrew.NrChoices"}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="restMoves.longRest.nrChoices" value="{{settingFields._source.restMoves.longRest.nrChoices}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="settings-items">
|
||||
{{#each settingFields._source.restMoves.longRest.moves as |move id|}}
|
||||
{{> "systems/daggerheart/templates/settings/components/settings-item-line.hbs" this type="longRest" id=id }}
|
||||
|
|
@ -35,6 +42,13 @@
|
|||
<a data-action="resetMoves" data-type="shortRest"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
||||
</legend>
|
||||
|
||||
<div class="form-group setting-group-field">
|
||||
<label>{{localize "DAGGERHEART.Settings.Homebrew.NrChoices"}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" name="restMoves.shortRest.nrChoices" value="{{settingFields._source.restMoves.shortRest.nrChoices}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="settings-items">
|
||||
{{#each settingFields._source.restMoves.shortRest.moves as |move id|}}
|
||||
{{> "systems/daggerheart/templates/settings/components/settings-item-line.hbs" this type="shortRest" id=id }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue