reroll OK
This commit is contained in:
@@ -1,23 +1,73 @@
|
||||
<div class="grid grid-2col">
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize "VERMINE.self_control"}}</h4>
|
||||
<p class="align-center">
|
||||
<input type="number" name="system.attributes.self_control.value"
|
||||
value="{{ system.attributes.self_control.value }}" data-dtype="Number"
|
||||
min="{{ system.attributes.self_control.min }}"
|
||||
max="{{ system.attributes.self_control.max }}" /> / {{
|
||||
system.attributes.self_control.max }}
|
||||
</p>
|
||||
<h4 class="align-center">{{ localize "VERMINE.self_control"}} :
|
||||
{{@root.system.attributes.self_control.value}}/
|
||||
{{@root.system.attributes.self_control.max}}
|
||||
</h4>
|
||||
|
||||
<div class="flexrow">
|
||||
{{#repeat 10 1}}
|
||||
<div class="hexa
|
||||
{{#iflteq @index @root.system.attributes.self_control.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
{{#ifgt @index @root.system.attributes.self_control.max }}
|
||||
unavailable
|
||||
{{/ifgt}}">
|
||||
{{#iflteq @index @root.system.attributes.self_control.max }}
|
||||
<input type="radio" data-dtype="Number"
|
||||
name="system.attributes.self_control.value"
|
||||
value="{{@index}}" {{#ife @root.system.attributes.self_control.value
|
||||
@index
|
||||
}}checked="checked"{{/ife}}
|
||||
class="
|
||||
{{#iflteq @index @root.system.attributes.self_control.max }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/iflteq}}
|
||||
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="align-center">{{ localize "VERMINE.effort"}}</h4>
|
||||
<p class="align-center">
|
||||
<input type="number" name="system.attributes.effort.value"
|
||||
value="{{ system.attributes.effort.value }}" data-dtype="Number"
|
||||
min="{{ system.attributes.effort.min }}"
|
||||
max="{{ system.attributes.effort.max }}" /> / {{
|
||||
system.attributes.effort.max }}
|
||||
</p>
|
||||
<h4 class="align-center">{{ localize "VERMINE.effort"}} :
|
||||
{{@root.system.attributes.effort.value}}/
|
||||
{{@root.system.attributes.effort.max}}
|
||||
</h4>
|
||||
|
||||
<div class="flexrow">
|
||||
{{#repeat 10 1}}
|
||||
<div
|
||||
class="hexa
|
||||
{{#iflteq @index @root.system.attributes.effort.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
{{#ifgt @index @root.system.attributes.effort.max }}
|
||||
unavailable
|
||||
{{/ifgt}}">
|
||||
{{#iflteq @index @root.system.attributes.effort.max }}
|
||||
<input type="radio" data-dtype="Number"
|
||||
name="system.attributes.effort.value"
|
||||
value="{{@index}}" {{#ife @root.system.attributes.effort.value
|
||||
@index
|
||||
}}checked="checked"{{/ife}}
|
||||
class="
|
||||
{{#iflteq @index @root.system.attributes.effort.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/iflteq}}
|
||||
|
||||
</div>
|
||||
{{#ife @index 1}}
|
||||
<br />
|
||||
{{/ife}}
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="item-name effect-name flexrow">{{ localize
|
||||
@@ -26,46 +76,65 @@
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.light'}} <span
|
||||
data-tooltip="seuil">({{
|
||||
system.minorWound.threshold }})</span>
|
||||
{{#repeat system.minorWound.max 1}}
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.minorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="minorWound"
|
||||
class="
|
||||
<div class="flexrow">
|
||||
{{#repeat system.minorWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.minorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.minorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.minorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="minorWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.minorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.heavy'}} ({{
|
||||
system.majorWound.threshold }})
|
||||
{{#repeat system.majorWound.max 1}}
|
||||
<input type="radio" name="system.majorWound.value" value="{{@index}}" {{#ife
|
||||
@root.system.majorWound.value @index }}checked="checked"{{/ife}}
|
||||
data-wound="majorWound"
|
||||
class="
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.heavy'}}
|
||||
<span>({{
|
||||
system.majorWound.threshold }})</span>
|
||||
<div class="flexrow">
|
||||
{{#repeat system.majorWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.majorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.majorWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.majorWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="majorWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.majorWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}
|
||||
</div>
|
||||
{{/repeat}}
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.deadly'}} ({{
|
||||
system.deadlyWound.threshold }})
|
||||
{{#repeat system.deadlyWound.max 1}}
|
||||
<li class="row mdb">{{ localize 'VERMINE.wounds.deadly'}}
|
||||
<span>({{system.deadlyWound.threshold }})</span>
|
||||
<div class="flexrow">
|
||||
{{#repeat system.deadlyWound.max 1}}
|
||||
<div class="hexa ability{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}">
|
||||
<input type="radio" data-dtype="Number" name="system.deadlyWound.value"
|
||||
value="{{@index}}" {{#ife @root.system.deadlyWound.value @index
|
||||
}}checked="checked"{{/ife}} data-wound="deadlyWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
<input type="radio" name="system.deadlyWound.value" value="{{@index}}"
|
||||
{{#ife
|
||||
@root.system.deadlyWound.value @index }}checked="checked"{{/ife}}
|
||||
data-wound="deadlyWound"
|
||||
class="
|
||||
{{#iflteq @index @root.system.deadlyWound.value }}
|
||||
checked
|
||||
{{/iflteq}}
|
||||
|
||||
" />
|
||||
{{/repeat}}
|
||||
" />
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="item-name effect-name flexrow">{{ localize "UI.effects.name"}}</h4>
|
||||
|
||||
@@ -2,15 +2,55 @@
|
||||
<img class="profile-img" src="{{actor.img}}" data-edit="img"
|
||||
title="{{actor.name}}" height="100" width="100" />
|
||||
</div>
|
||||
<div class="minor-totems ">
|
||||
|
||||
<h3>{{localize "ITEMS.evolution"}}</h3>
|
||||
<h5 class="human
|
||||
{{#ifgt system.adaptation.totems.human.value system.adaptation.totems.adapted.value}}
|
||||
major
|
||||
{{/ifgt}}
|
||||
">{{localize "TOTEMS.human.name"}}
|
||||
<img src="/systems/vermine2047/assets/images/ui/totems/human.webp" />
|
||||
</h5>
|
||||
|
||||
<h5 class="adapted
|
||||
{{#ifgt system.adaptation.totems.human.value system.adaptation.totems.adapted.value}}
|
||||
major
|
||||
{{/ifgt}}">{{localize "TOTEMS.adapted.name"}}
|
||||
<img src="/systems/vermine2047/assets/images/ui/totems/adapted.webp" />
|
||||
</h5>
|
||||
|
||||
<div class="totem-dice flexrow flex-group-center">
|
||||
<div class="human-dice flexrow">
|
||||
{{#repeat system.adaptation.totems.human.max 1}}
|
||||
<div class="hexa" data-totem-name="human" data-totem-value="{{@index}}">
|
||||
{{#ifgteq system.adaptation.totems.human.value @index}}
|
||||
<div class="human-die"><i class="fas fa-dice-d10"></i></div>
|
||||
{{/ifgteq}}
|
||||
</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
|
||||
<div class="adapted-dice flexrow">
|
||||
{{#repeat system.adaptation.totems.adapted.max 1}}
|
||||
<div class="hexa" data-totem-name="adapted" data-totem-value="{{@index}}">
|
||||
{{#ifgteq system.adaptation.totems.adapted.value @index}}
|
||||
<div class="adapted-die"><i class="fas fa-dice-d10"></i></div>
|
||||
{{/ifgteq}}</div>
|
||||
{{/repeat}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<ul class="padding-with-frieze unstyled paper">
|
||||
{{#if system.identity.totem }}
|
||||
<li class="row lgb">
|
||||
<li class="row lgb major-totem">
|
||||
<div class="flexcol flex-group-center items-center w-full">
|
||||
<h4>{{ smarttl 'TOTEMS' system.identity.totem 'name' }}</h4>
|
||||
<img
|
||||
src="/systems/vermine2047/assets/images/ui/totems/{{ system.identity.totem }}.webp"
|
||||
alt="{{ smarttl 'TOTEMS' system.identity.totem 'name' }}" width="80"
|
||||
height="80"
|
||||
data-tooltip="{{localize system.identity.totem}}" />
|
||||
height="80" />
|
||||
</div>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user