changement rolldialog
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -383,6 +383,11 @@ ul.unstyled li {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.system-vermine2047 .sheet.actor form input[disabled],
|
||||||
|
.system-vermine2047 .sheet.actor form select[disabled] {
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
.system-vermine2047 .sheet.actor form input[type=text]:hover:not(:disabled),
|
.system-vermine2047 .sheet.actor form input[type=text]:hover:not(:disabled),
|
||||||
.system-vermine2047 .sheet.actor form input[type=text]:focus,
|
.system-vermine2047 .sheet.actor form input[type=text]:focus,
|
||||||
.system-vermine2047 .sheet.actor form select:hover:not(:disabled),
|
.system-vermine2047 .sheet.actor form select:hover:not(:disabled),
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
.window-app.vermineDialog {
|
.window-app.vermineDialog {
|
||||||
.window-content {
|
.window-content {
|
||||||
background: url(/systems/vermine2047/assets/images/ui/box_background.webp) repeat;
|
background: url(/systems/vermine2047/assets/images/ui/box_background.webp) repeat;
|
||||||
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexrow,
|
.flexrow,
|
||||||
|
|||||||
+1
-5
@@ -153,13 +153,9 @@
|
|||||||
"hotReload": {
|
"hotReload": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"css",
|
"css",
|
||||||
|
"scss",
|
||||||
"hbs",
|
"hbs",
|
||||||
"json"
|
"json"
|
||||||
],
|
|
||||||
"paths": [
|
|
||||||
"assets",
|
|
||||||
"lang",
|
|
||||||
"templates"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+155
-128
@@ -3,6 +3,8 @@
|
|||||||
class="vermine form"
|
class="vermine form"
|
||||||
data-actor-id="{{ speakerId }}"
|
data-actor-id="{{ speakerId }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<!--HIDDEN DATA -->
|
||||||
<input
|
<input
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="label"
|
name="label"
|
||||||
@@ -27,15 +29,138 @@
|
|||||||
id="skillScore"
|
id="skillScore"
|
||||||
value="{{ skillScore }}"
|
value="{{ skillScore }}"
|
||||||
/>
|
/>
|
||||||
<div class="dice-pool flexcol">
|
|
||||||
<h1 class="flexrow row lgb flex-group-center">
|
|
||||||
<span>Type de jet <strong>{{#if (eq rollType 'skill')}}{{ localize
|
|
||||||
'VERMINE.skill_title' }}{{else}}{{ localize 'VERMINE.ability'
|
|
||||||
}}{{/if}}</strong></span>
|
|
||||||
|
|
||||||
|
<input
|
||||||
|
type="hidden"
|
||||||
|
name="speakerId"
|
||||||
|
value="{{ speakerId }}"
|
||||||
|
/>
|
||||||
|
<input
|
||||||
|
type="hidden"
|
||||||
|
name="skillLabel"
|
||||||
|
value="{{ skill }}"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="dice-pool">
|
||||||
|
|
||||||
|
<!--SKILLS TALENTS-->
|
||||||
|
<h1 class="flexrow skills-talents">
|
||||||
|
<div class="flexcol">
|
||||||
|
<label class="label">{{localize
|
||||||
|
'VERMINE.ability'}}</label>
|
||||||
|
<select
|
||||||
|
class="info-value"
|
||||||
|
data-roll="true"
|
||||||
|
data-dtype="String"
|
||||||
|
type="number"
|
||||||
|
name="ability"
|
||||||
|
id="ability"
|
||||||
|
min="1"
|
||||||
|
max="5"
|
||||||
|
>
|
||||||
|
<option value="0">-- Choisissez une caractéristique
|
||||||
|
--</option>
|
||||||
|
{{#each config.abilityCategories as |abilCategory catkey|}}
|
||||||
|
|
||||||
|
<optgroup label="{{ smarttlk 'ABILITY_CATEGORIES' catkey 'name' }}">
|
||||||
|
{{#each @root.actor.system.abilities as |abil key|}}
|
||||||
|
{{#ife abil.category catkey}}
|
||||||
|
<option
|
||||||
|
value="{{abil.value}}"
|
||||||
|
data-label="{{key}}"
|
||||||
|
{{#ife @root.rollType "ability"}}
|
||||||
|
{{#ife @root.labelKey key}}
|
||||||
|
selected="true"
|
||||||
|
{{/ife}}
|
||||||
|
{{/ife}}
|
||||||
|
>{{ smarttlk 'ABILITIES' key 'name'
|
||||||
|
}} / {{abil.value}}</option>
|
||||||
|
{{/ife}}
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
</optgroup>
|
||||||
|
|
||||||
|
{{/each}}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexcol">
|
||||||
|
<label class="label">{{localize
|
||||||
|
'VERMINE.skill_title'}}</label>
|
||||||
|
<select
|
||||||
|
class="info-value"
|
||||||
|
data-roll="true"
|
||||||
|
data-dtype="String"
|
||||||
|
type="number"
|
||||||
|
name="skill"
|
||||||
|
id="skill"
|
||||||
|
min="1"
|
||||||
|
max="5"
|
||||||
|
>
|
||||||
|
<option>-- Choisissez une compétence
|
||||||
|
--</option>
|
||||||
|
{{#each config.skillCategories as |skillCategory catkey|}}
|
||||||
|
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' catkey 'name' }}">
|
||||||
|
{{#each @root.actor.system.skills as |skill key|}}
|
||||||
|
{{#ife skill.category catkey}}
|
||||||
|
<option
|
||||||
|
value="{{skill.value}}"
|
||||||
|
data-pool="{{skillLevel "dicePool"
|
||||||
|
skill.value}}"
|
||||||
|
data-label="{{key}}"
|
||||||
|
data-reroll="{{skillLevel "reroll" skill.value}}"
|
||||||
|
{{#ife @root.rollType "skill"}}
|
||||||
|
{{#ife @root.labelKey key}}
|
||||||
|
selected="true"
|
||||||
|
{{/ife}}
|
||||||
|
{{/ife}}
|
||||||
|
>
|
||||||
|
<b>{{ smarttlk 'SKILLS' key 'name' }} / </b>
|
||||||
|
<i>{{skillLevel "label" skill.value}}</i>
|
||||||
|
</option>
|
||||||
|
{{/ife}}
|
||||||
|
{{/each}}
|
||||||
|
</optgroup>
|
||||||
|
{{/each}}
|
||||||
|
</select>
|
||||||
|
{{#if availableSpecialties.length}}
|
||||||
|
<label class="label">{{localize 'VERMINE.specialty'}} (+1D)</label>
|
||||||
|
<div class="flexrow">
|
||||||
|
<span data-spec-skill="{{spec.system.skill}}">
|
||||||
|
<i>aucunes</i>
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
data-roll="true"
|
||||||
|
name="usingSpecialization"
|
||||||
|
id="usingSpecialization"
|
||||||
|
value="aucune"
|
||||||
|
>
|
||||||
|
</span>
|
||||||
|
{{#each availableSpecialties as |spec ind|}}
|
||||||
|
|
||||||
|
<span data-spec-skill="{{spec.system.skill}}">
|
||||||
|
<i>{{spec.name}}</i>
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
data-roll="true"
|
||||||
|
name="usingSpecialization"
|
||||||
|
id="usingSpecialization"
|
||||||
|
value="{{spec.name}}"
|
||||||
|
{{#if specialty}}checked{{/if}}
|
||||||
|
>
|
||||||
|
</span>
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="flexrow">
|
|
||||||
|
<!--DIFFICULTY HANDICAP-->
|
||||||
|
<h2 class="flexrow">
|
||||||
<label class="label">{{localize
|
<label class="label">{{localize
|
||||||
'VERMINE.difficulty'}}</label>
|
'VERMINE.difficulty'}}</label>
|
||||||
<select
|
<select
|
||||||
@@ -88,119 +213,20 @@
|
|||||||
<option value="3">(II)</option>
|
<option value="3">(II)</option>
|
||||||
{{/select}}
|
{{/select}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
<div class="flexrow ">
|
|
||||||
<h2 class="flexcol">
|
|
||||||
<label class="label">{{localize
|
|
||||||
'VERMINE.ability'}}</label>
|
|
||||||
<select
|
|
||||||
class="info-value"
|
|
||||||
data-roll="true"
|
|
||||||
data-dtype="String"
|
|
||||||
type="number"
|
|
||||||
name="ability"
|
|
||||||
id="ability"
|
|
||||||
min="1"
|
|
||||||
max="5"
|
|
||||||
>
|
|
||||||
<option value="0">-- Choisissez une caractéristique
|
|
||||||
--</option>
|
|
||||||
{{#each config.abilityCategories as |abilCategory catkey|}}
|
|
||||||
|
|
||||||
<optgroup label="{{ smarttlk 'ABILITY_CATEGORIES' catkey 'name' }}">
|
|
||||||
{{#each @root.actor.system.abilities as |abil key|}}
|
|
||||||
{{#ife abil.category catkey}}
|
|
||||||
<option
|
|
||||||
value="{{abil.value}}"
|
|
||||||
data-label="{{key}}"
|
|
||||||
{{#ife @root.rollType "ability"}}
|
|
||||||
{{#ife @root.labelKey key}}
|
|
||||||
selected="true"
|
|
||||||
{{/ife}}
|
|
||||||
{{/ife}}
|
|
||||||
>{{ smarttlk 'ABILITIES' key 'name'
|
|
||||||
}} / {{abil.value}}</option>
|
|
||||||
{{/ife}}
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
</optgroup>
|
|
||||||
|
|
||||||
{{/each}}
|
|
||||||
</select>
|
|
||||||
</h2>
|
</h2>
|
||||||
<h3 class="flexcol">
|
|
||||||
<label class="label">{{localize
|
|
||||||
'VERMINE.skill_title'}}</label>
|
|
||||||
<select
|
|
||||||
class="info-value"
|
|
||||||
data-roll="true"
|
|
||||||
data-dtype="String"
|
|
||||||
type="number"
|
|
||||||
name="skill"
|
|
||||||
id="skill"
|
|
||||||
min="1"
|
|
||||||
max="5"
|
|
||||||
>
|
|
||||||
<option>-- Choisissez une compétence
|
|
||||||
--</option>
|
|
||||||
{{#each config.skillCategories as |skillCategory catkey|}}
|
|
||||||
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' catkey 'name' }}">
|
|
||||||
{{#each @root.actor.system.skills as |skill key|}}
|
|
||||||
{{#ife skill.category catkey}}
|
|
||||||
<option
|
|
||||||
value="{{skill.value}}"
|
|
||||||
data-pool="{{skillLevel "dicePool"
|
|
||||||
skill.value}}"
|
|
||||||
data-label="{{key}}"
|
|
||||||
data-reroll="{{skillLevel "reroll" skill.value}}"
|
|
||||||
{{#ife @root.rollType "skill"}}
|
|
||||||
{{#ife @root.labelKey key}}
|
|
||||||
selected="true"
|
|
||||||
{{/ife}}
|
|
||||||
{{/ife}}
|
|
||||||
>
|
|
||||||
<b>{{ smarttlk 'SKILLS' key 'name' }},</b>
|
|
||||||
<i>{{skillLevel "label" skill.value}}</i>
|
|
||||||
</option>
|
|
||||||
{{/ife}}
|
|
||||||
{{/each}}
|
|
||||||
</optgroup>
|
|
||||||
{{/each}}
|
|
||||||
</select>
|
|
||||||
{{#if availableSpecialties.length}}
|
|
||||||
<label class="label">{{localize 'VERMINE.specialty'}} (+1D)</label>
|
|
||||||
<div class="flexrow">
|
|
||||||
<span data-spec-skill="{{spec.system.skill}}">
|
|
||||||
<i>aucunes</i>
|
|
||||||
<input
|
|
||||||
type="radio"
|
|
||||||
data-roll="true"
|
|
||||||
name="usingSpecialization"
|
|
||||||
id="usingSpecialization"
|
|
||||||
value="aucune"
|
|
||||||
>
|
|
||||||
</span>
|
|
||||||
{{#each availableSpecialties as |spec ind|}}
|
|
||||||
|
|
||||||
<span data-spec-skill="{{spec.system.skill}}">
|
|
||||||
<i>{{spec.name}}</i>
|
|
||||||
<input
|
|
||||||
type="radio"
|
|
||||||
data-roll="true"
|
|
||||||
name="usingSpecialization"
|
|
||||||
id="usingSpecialization"
|
|
||||||
value="{{spec.name}}"
|
|
||||||
{{#if specialty}}checked{{/if}}
|
|
||||||
>
|
|
||||||
</span>
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="grid grid-2col">
|
|
||||||
|
|
||||||
|
<!-- BONUSES -->
|
||||||
|
<details>
|
||||||
|
<summary class="flexrow">
|
||||||
|
<h3>Bonuses</h3>
|
||||||
|
</summary>
|
||||||
|
<div class="grid grid-3col">
|
||||||
|
|
||||||
|
|
||||||
<div class="flexrow row smb">
|
<div class="flexrow row smb">
|
||||||
<label class="label">{{localize 'VERMINE.help'}} (+1D)</label>
|
<label class="label">{{localize 'VERMINE.help'}} (+1D)</label>
|
||||||
<input
|
<input
|
||||||
@@ -213,6 +239,8 @@
|
|||||||
help}}checked{{/if}}
|
help}}checked{{/if}}
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="flexrow row mdb">
|
<div class="flexrow row mdb">
|
||||||
<label class="label">{{localize
|
<label class="label">{{localize
|
||||||
'VERMINE.group'}}</label>
|
'VERMINE.group'}}</label>
|
||||||
@@ -228,6 +256,8 @@
|
|||||||
value="0"
|
value="0"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="flexrow row mdb">
|
<div class="flexrow row mdb">
|
||||||
<label class="label">{{localize
|
<label class="label">{{localize
|
||||||
'VERMINE.self_control'}} + <span id="self_control_value">0</span>D
|
'VERMINE.self_control'}} + <span id="self_control_value">0</span>D
|
||||||
@@ -242,6 +272,8 @@
|
|||||||
value="0"
|
value="0"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="flexcol row mdb">
|
<div class="flexcol row mdb">
|
||||||
<label class="label">{{localize 'VERMINE.tooling'}} (+1D)</label>
|
<label class="label">{{localize 'VERMINE.tooling'}} (+1D)</label>
|
||||||
|
|
||||||
@@ -271,10 +303,10 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flexcol">
|
||||||
<div class="flexrow">
|
|
||||||
<label class="label">utiliser des dés totems ?
|
<label class="label">utiliser des dés totems ?
|
||||||
</label>
|
</label>
|
||||||
|
<div class="flexrow">
|
||||||
{{#ifgt @root.actor.system.adaptation.totems.human.value 0}}
|
{{#ifgt @root.actor.system.adaptation.totems.human.value 0}}
|
||||||
<div class="totem-human">
|
<div class="totem-human">
|
||||||
<h4 for="human-totem">totem humain </h4>
|
<h4 for="human-totem">totem humain </h4>
|
||||||
@@ -300,18 +332,13 @@
|
|||||||
</div>
|
</div>
|
||||||
{{/ifgt}}
|
{{/ifgt}}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</details>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p><input
|
|
||||||
type="hidden"
|
|
||||||
name="speakerId"
|
|
||||||
value="{{ speakerId }}"
|
|
||||||
/>
|
|
||||||
<input
|
|
||||||
type="hidden"
|
|
||||||
name="skillLabel"
|
|
||||||
value="{{ skill }}"
|
|
||||||
/>
|
|
||||||
</p>
|
|
||||||
</form>
|
</form>
|
||||||
@@ -5,6 +5,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../noc"
|
"path": "../noc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../../Config"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {}
|
"settings": {}
|
||||||
|
|||||||
Reference in New Issue
Block a user