Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
2 changed files with 4 additions and 5 deletions
Showing only changes of commit d21cd86ccd - Show all commits

View File

@ -1,4 +1,3 @@
import { Grammar } from "./grammar.js";
import { Misc } from "./misc.js";
export class DialogConsommer extends Dialog {

View File

@ -1,9 +1,9 @@
<form class="rdddialog">
<img class="chat-icon" src="{{item.img}}" title="{{item.name}}" alt="{{item.name}}" />
<div class="flexrow">
<label>Quantité de {{item.name}} à {{#if item.data.boisson}}boire{{else}}manger{{/if}}</label>
<input class="attribute-value consommer-doses" type="text" name="doses" value="{{choix.doses}}"
size="3" min="0" max="{{item.data.quantite}}"
data-dtype="Number" />
<label class="flex-grow">Quantité de {{item.name}} à {{#if item.data.boisson}}boire{{else}}manger{{/if}}</label>
<input class="attribute-value consommer-doses flex-shrink" type="number" name="doses" value="{{choix.doses}}"
min="0" max="{{item.data.quantite}}" data-dtype="Number" />
</div>
{{#if item.data.sust}}
<p>Cette {{#if item.data.boisson}}boisson{{else}}nourriture{{/if}} vous apportera <span