forked from public/foundryvtt-reve-de-dragon
		
	Materiel de base et autres
This commit is contained in:
		@@ -1,39 +1,38 @@
 | 
			
		||||
{{#if (equals ethylismeEtape 'Vie')}}
 | 
			
		||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/objets/chope_gres.webp" alt="Ethylisme" />
 | 
			
		||||
<h4>
 | 
			
		||||
  {{alias}} bois un verre d'alcool de force {{forceAlcool}}
 | 
			
		||||
  {{alias}} boit un verre d'alcool de force {{forceAlcool}}
 | 
			
		||||
</h4>
 | 
			
		||||
<hr/>
 | 
			
		||||
<div>
 | 
			
		||||
  <span>
 | 
			
		||||
    {{{jetVieText}}}
 | 
			
		||||
    <br/>
 | 
			
		||||
    {{#if jetVieSuccess}}
 | 
			
		||||
    Vous avez réussi votre jet d'éthylisme, vous avez consommé {{doses}} doses sans effet.
 | 
			
		||||
    {{else}}
 | 
			
		||||
    Vous avez échoué à votre jet d'éthylisme, vous êtes maintenant {{nomEthylisme}} ({{ajustementEthylique}}).
 | 
			
		||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html" jetVie}}
 | 
			
		||||
<hr>
 | 
			
		||||
<span>
 | 
			
		||||
  {{#if jetVie.rolled.isSuccess}}
 | 
			
		||||
  Vous avez réussi votre jet d'éthylisme, vous avez consommé {{doses}} doses sans effet.
 | 
			
		||||
  {{else}}
 | 
			
		||||
  Vous avez échoué à votre jet d'éthylisme, vous êtes maintenant {{nomEthylisme}} ({{ajustementEthylique}}).
 | 
			
		||||
  {{/if}}
 | 
			
		||||
</span>
 | 
			
		||||
{{#if jetVie.rolled.isEchec}}
 | 
			
		||||
<br>
 | 
			
		||||
<span>
 | 
			
		||||
    Vous perdez {{perteEndurance.perte}} points d'endurance. {{#if perteEndurance.perteVie}}<br/>Vous tombez inconscient et perdez un point de vie.{{/if}}
 | 
			
		||||
    {{#if jetMoral}}
 | 
			
		||||
    <br/>Jet de moral {{#if jetMoral.succes}}réussi{{else}}manqué{{/if}} en situation heureuse ({{jetMoral.jet}}/{{jetMoral.difficulte}}).
 | 
			
		||||
    {{#if (eq moralAlcool 'heureux')}}L'alcool vous met en joie. Vous gagnez un point de moral.
 | 
			
		||||
    {{else if (eq moralAlcool 'triste')}}Vous avez l'alcool triste. Vous perdez un point de moral.
 | 
			
		||||
    {{else}}Vous gardez le moral.{{/if}}
 | 
			
		||||
    {{/if}}
 | 
			
		||||
  </span>
 | 
			
		||||
</div>
 | 
			
		||||
{{/if}}
 | 
			
		||||
{{#if (equals ethylismeEtape 'Endurance')}}
 | 
			
		||||
<div>
 | 
			
		||||
  {{#if jetVolonte}}
 | 
			
		||||
  <hr>
 | 
			
		||||
  <h4>Qui a bu boira</h4>
 | 
			
		||||
  {{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html" jetVolonte}}
 | 
			
		||||
  <hr>
 | 
			
		||||
  <span>
 | 
			
		||||
    Vous perdez {{enduranceLost}} points d'endurance.
 | 
			
		||||
    {{#if perteVie}}<br/>Vous tombez inconscient et perdez un point de vie{{/if}}
 | 
			
		||||
  </span>
 | 
			
		||||
</div>
 | 
			
		||||
{{/if}}
 | 
			
		||||
{{#if (equals ethylismeEtape 'Volonte')}}
 | 
			
		||||
<div>
 | 
			
		||||
  <span>
 | 
			
		||||
    Qui a bu boira :
 | 
			
		||||
    {{{jetVolonteText}}}
 | 
			
		||||
    <br/>
 | 
			
		||||
    {{#if jetVolonteSuccess}}
 | 
			
		||||
    Vous êtes libre de continuer à boire ou pas.
 | 
			
		||||
    {{#if jetVolonte.rolled.isSuccess}}
 | 
			
		||||
    Vous êtes libre de vous arrêter de boire.
 | 
			
		||||
    {{else}}
 | 
			
		||||
    Vous avez une envie irrépressible de reprendre un verre.
 | 
			
		||||
    {{/if}}
 | 
			
		||||
  </span>
 | 
			
		||||
</div>
 | 
			
		||||
{{/if}}
 | 
			
		||||
  {{/if}}
 | 
			
		||||
{{/if}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user