Files
l5rx-chiaroscuro/system/templates/actors/npc/social.html
Vlyan c2d2dbb9fe Working on 0.8.x
- entities -> contents
- RnK button black if no action left
2021-05-03 19:34:30 +02:00

45 lines
2.4 KiB
HTML

<ul class="social-content">
<li>
<label class="attribute-label centered-input">
<strong>{{localize 'l5r5e.social.honor'}}</strong>
<input class="centered-input select-on-focus" type="number" name="data.social.honor" value="{{data.data.social.honor}}" data-dtype="Number" placeholder="0"/>
</label>
</li>
<li>
<label class="attribute-label centered-input">
<strong>{{localize 'l5r5e.social.glory'}}</strong>
<input class="centered-input select-on-focus" type="number" name="data.social.glory" value="{{data.data.social.glory}}" data-dtype="Number" placeholder="0"/>
</label>
</li>
<li>
<label class="attribute-label centered-input">
<strong>{{localize 'l5r5e.social.status'}}</strong>
<input class="centered-input select-on-focus" type="number" name="data.social.status" value="{{data.data.social.status}}" data-dtype="Number" placeholder="0"/>
</label>
</li>
<li class="affinities">
{{!-- Strength --}}
<select class="attribute-dtype" name="data.rings_affinities.strength.ring">
{{#select data.data.rings_affinities.strength.ring}}
{{#each data.stances as |stance|}}
<option value="{{stance}}">{{localizeRing stance}}</option>
{{/each}}
{{/select}}
</select>
<input class="centered-input select-on-focus" type="number" name="data.rings_affinities.strength.value" value="{{data.data.rings_affinities.strength.value}}" data-dtype="Number" min="1" max="9" placeholder="0"/>
{{!-- Weakness --}}
<select class="attribute-dtype" name="data.rings_affinities.weakness.ring">
{{#select data.data.rings_affinities.weakness.ring}}
{{#each data.stances as |stance|}}
<option value="{{stance}}">{{localizeRing stance}}</option>
{{/each}}
{{/select}}
</select>
<input class="centered-input select-on-focus" type="number" name="data.rings_affinities.weakness.value" value="{{data.data.rings_affinities.weakness.value}}" data-dtype="Number" min="-9" max="-1" placeholder="0"/>
{{!-- Attitude --}}
<label class="attitude">
<input type="text" name="data.attitude" value="{{data.data.attitude}}" data-dtype="String" placeholder=""/>
{{localize 'l5r5e.social.attitude'}}
</label>
</li>
</ul>