Talents automation + management
This commit is contained in:
@@ -7,26 +7,36 @@
|
||||
<li class="flexrow item">
|
||||
<ul>
|
||||
{{#each system.automations as |automation key|}}
|
||||
<li class="automation-item item flexrow" data-automation-index="{{key}}">
|
||||
<li class="automation-item item flexrow">
|
||||
<hr>
|
||||
</li>
|
||||
<li class="automation-item item flexrow" data-automation-field="eventtype" data-automation-index="{{key}}">
|
||||
<label class="generic-label item-field-label-medium">Evènement</label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.automations.{{key}}.eventType" value="{{automation.eventType}}" data-dtype="string">
|
||||
{{#select automation.eventType}}
|
||||
<option value="drop">Drop sur l'acteur</option>
|
||||
<select class="status-small-label color-class-common item-field-label-long automation-edit-field" type="text"
|
||||
value="{{automation.eventtype}}" data-dtype="String">
|
||||
{{#select automation.eventtype}}
|
||||
<option value="on-drop">Drop sur l'acteur</option>
|
||||
<option value="prepare-actor">Préparation de l'acteur</option>
|
||||
<option value="associated-competence">Compétence associée</option>
|
||||
<option value="roll-bonus">Bonus au jet</option>
|
||||
<option value="prepare-roll">Préparation d'un jet</option>
|
||||
<option value="process-roll">Lancement d'un jet</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="automation-item item flexrow" data-automation-index="{{key}}">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common" name="system.automations.{{key}}.script" data-dtype="String">{{predilection.script}}</textarea>
|
||||
<li class="automation-item item flexrow" >
|
||||
<label class="generic-label item-field-label-long2">Script : </label>
|
||||
</li>
|
||||
|
||||
<li class="automation-item item flexrow" data-automation-field="script" data-automation-index="{{key}}">
|
||||
<textarea rows="4" type="text" class="padd-right color-class-common automation-edit-field" data-dtype="String"
|
||||
>{{automation.script}}</textarea>
|
||||
</li>
|
||||
<hr>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<li class="flexrow item">
|
||||
<button id="add-automation" class="chat-card-button">Ajouter une automatisation</button>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user