Files
roll20-character-sheets/Insectopia/Insectopia.html
T

1337 lines
57 KiB
HTML

<!-- Roll20 - Fiche Insectopia V1.0 by Giovanninatale & Surfandko -->
<!-- fiche de personnage : intre et arak -->
<div class="sheet-personnage">
<!-- Variables Affichage Intre et ark -->
<input type="hidden" name="attr_fdp_race" value="0">
<input type="hidden" name="attr_fdp_race_aff" value="">
<input type="hidden" name="attr_antenne_palpe" value="Antenne">
<input type="hidden" name="attr_mandibule_chelicere" value="Mandibule">
<input type="hidden" name="attr_melee_soie" value="Mêlée">
<input type="hidden" name="attr_aile_patte" value="Aile">
<div class="sheet-entete">
<div class="sheet-logo-jets">
<div>
</div>
<div> <!-- LOGO -->
<img src="http://odonataeditions.e-monsite.com/medias/images/logo-insectopia.jpg" Style="max-width:100%;">
</div>
<div> <!-- jet de blattes -->
<div>
<input type="radio" name="attr_jetGM" value="" checked class="CSSJetPGM" /><span class="CSSJetPGM">Public</span>
<input type="radio" name="attr_jetGM" value="/w gm" class="CSSJetPGM" /><span class="CSSJetPGM">Deus</span>
</div>
<div>
<span>Jet blatte : </span><button type="roll" value="@{jetGM} &{template:blattes} {{roll=[[1d42]]}}"></button>
<!-- <button type="roll" value="/roll ?{Number?|1}t[blattes]"></button> -->
</div>
</div>
</div>
<div class="sheet-hexagon sheet-hexagon-entete">
<div class="sheet-chevauche-entete"> <!-- Bloc Nom -->
<div class="sheet-nom">
<div><strong>Nom</strong></div>
<div><input type="text" name="attr_character_name" title="@{character_name}"></div>
<div><strong>Religion&nbsp;</div>
<div>
<select type="text" name="attr_fdp_religion" title="@{fdp_religion}" style="width:175px">
<option value="" selected>(Choisir la religion)</option>
<option value="Animiste">Animiste</option>
<option value="Cultiste">Cultiste</option>
<option value="Neutre">Neutre</option>
</select>
</div>
<div><strong>Espèce</strong></div>
<div>
<select type="text" name="attr_fdp_espece" title="@{fdp_espece}" style="width:150px">
<option value="choix" selected>(Choisir l'espèce)</option> <!-- Attention valeur utilisée dans on('change:fdp_espece', function() -->
<option value="Arakchass">Arakchass</option> <!-- Attention valeur utilisée dans on('change:fdp_espece', function() -->
<option value="Araktiss">Araktiss</option> <!-- Attention valeur utilisée dans on('change:fdp_espece', function() -->
<option value="Apis">Apis</option>
<option value="Blatere">Blatere</option>
<option value="Brindis">Brindis</option>
<option value="Cerk">Cerk</option>
<option value="Crinar">Crinar</option>
<option value="Crinelle">Crinelle</option>
<option value="Koksihne">Koks'ihne</option>
<option value="Lepide">Lepide</option>
<option value="Lulle">Lulle</option>
<option value="Mantide">Mantide</option>
<option value="Myrmide">Myrmide</option>
<option value="Putere">Putere</option>
<option value="Skadan">Skadan</option>
<option value="Skarab">Skarab</option>
<option value="Stick">Stick</option>
<option value="Termide">Termide</option>
<option value="Vespale">Vespale</option>
<option value="Syrphe">Syrphe</option>
</select>
<span name="attr_fdp_race_aff"></span>
</div>
<div><strong>Alignement</strong></div>
<div><input type="text" name="attr_fdp-alignement" title="@{fdp-alignement}" style="width:175px"></div>
<div><strong>Variété</strong></div>
<div><input type="text" name="attr_fdp-variete" title="@{fdp-variete}"></div>
<div><strong>Titre</strong></div>
<div><input type="text" name="attr_fdp-titre" title="@{fdp-titre}" style="width:175px"></div>
<div><strong>Couleur</strong></div>
<div><input type="text" name="attr_fdp-couleur" title="@{fdp-couleur}"></div>
<div><strong>Métier</strong></div>
<div>
<select type="text" name="attr_fdp_metier" title="@{fdp_metier}" style="width:175px">
<option value="" selected>(Choisir le métier)</option>
<option value="Archer">Archer</option>
<option value="Bretteur">Bretteur</option>
<option value="Eclaireur">Eclaireur</option>
<option value="Goliath">Goliath</option>
<option value="Soldat">Soldat</option>
<option value="Voltigeur">Voltigeur</option>
<option value="Chaman">Chaman</option>
<option value="ControleurDEnergie">Controleur d'energie</option>
<option value="Druide">Druide</option>
<option value="MaitresseDespouvoirs">Maitresse des pouvoirs</option>
<option value="PretreDesAnciensDieux">Prêtre des Anciens Dieux</option>
<option value="Psyche">Psyché</option>
<option value="Couveuse">Couveuse</option>
<option value="Diplomate">Diplomate</option>
<option value="Erudit">Erudit</option>
<option value="Reproducteur">Reproducteur</option>
<option value="Assassin">Assassin</option>
<option value="Explorateur">Explorateur</option>
<option value="Roublard">Roublard</option>
<option value="Troubadour">Troubadour</option>
<option value="ArtisanMarchand">Artisan / Marchand</option>
<option value="Chasseur">Chasseur</option>
<option value="Dresseur">Dresseur</option>
<option value="Transporteur">Transporteur</option>
</select>
</div>
<div><strong>Régime alimentaire</strong></div>
<div><input type="text" name="attr_fdp-regimealimentaire" title="@{fdp-regimealimentaire}"></div>
<div><strong>Sexe</strong></div>
<div>
<select type="text" name="attr_fdp_sexe" title="@{fdp_sexe}" style="width:175px">
<option value="" selected>(Choisir le sexe)</option>
<option value="Male">Male</option>
<option value="Femelle">Femelle</option>
<option value="Hermaphrodite">Hermaphrodite</option>
</select>
</div>
<div><strong>Caste</strong></div>
<div>
<select type="text" name="attr_fdp_caste" title="@{fdp_caste}" style="width:175px">
<option value="" selected>(Choisir la caste)</option>
<option value="Combattants">Combattants</option>
<option value="Divins">Divins</option>
<option value="Dominants">Dominants</option>
<option value="HorsCaste">Hors-Caste</option>
<option value="Producteurs">Producteurs</option>
</select>
</div>
<div><strong>Age</strong></div>
<div><input type="text" name="attr_fdp-age" title="@{fdp-age}" style="width:175px"></div>
</div>
</div>
</div>
<div class="sheet-xp"><!-- Bloc Blates Chance et expérience, a droite sur les deux colonnes -->
<div class="sheet-xpchance">
<!-- 01 -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-chance-01" title="@{fdp-hexagon-chance-01}" min="0">
</div>
</div>
</div>
<div></div>
<div></div>
<div></div>
<div></div>
<!-- 02 -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-circle sheet-circle-red">
</div>
</div>
</div>
<div class="sheet-col2">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-Chance-02" title="@{fdp-hexagon-chance-02}" min="0">
</div>
</div>
</div>
<div></div>
<div></div>
<div></div>
<!-- 03 -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-xp-01" title="@{fdp-hexagon-xp-01}" min="0">
</div>
</div>
</div>
<div class="sheet-col2">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-circle sheet-circle-green">
</div>
</div>
</div>
<div class="sheet-col3">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-chance-03" title="@{fdp-hexagon-chance-03}" min="0">
</div>
</div>
</div>
<div></div>
<div></div>
<!-- 04 -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-totalxp-01" title="@{fdp-hexagon-totalxp-01}" min="0">
</div>
</div>
</div>
<div class="sheet-col2">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-xp-02" title="@{fdp-hexagon-xp-02}" min="0">
</div>
</div>
</div>
<div class="sheet-col3">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-circle sheet-circle-blue">
</div>
</div>
</div>
<div class="sheet-col4">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-chance-04" title="@{fdp-hexagon-chance-04}" min="0">
</div>
</div>
</div>
<div></div>
<!-- 05 -->
<div></div>
<div class="sheet-col2">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-totalxp-02" title="@{fdp-hexagon-totalxp-02}" min="0">
</div>
</div>
</div>
<div class="sheet-col3">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-xp-03" title="@{fdp-hexagon-xp-03}" min="0">
</div>
</div>
</div>
<div class="sheet-col4">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-circle sheet-circle-gray">
</div>
</div>
</div>
<div class="sheet-col5">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-chance-05" title="@{fdp-hexagon-chance-05}" min="0">
</div>
</div>
</div>
<!-- 06 -->
<div></div>
<div></div>
<div class="sheet-col3">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-totalxp-03" title="@{fdp-hexagon-totalxp-03}" min="0">
</div>
</div>
</div>
<div class="sheet-col4">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-xp-04" title="@{fdp-hexagon-xp-04}" min="0">
</div>
</div>
</div>
<div class="sheet-col5">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-circle sheet-circle-black">
</div>
</div>
</div>
<!-- 07 -->
<div></div>
<div></div>
<div></div>
<div class="sheet-col4">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-totalxp-04" title="@{fdp-hexagon-totalxp-04}" min="0">
</div>
</div>
</div>
<div class="sheet-col5">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-xp-05" title="@{fdp-hexagon-xp-05}" min="0">
</div>
</div>
</div>
<!-- 08 -->
<div></div>
<div></div>
<div></div>
<div></div>
<div class="sheet-col5">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-totalxp-05" title="@{fdp-hexagon-totalxp-05}" min="0">
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="sheet-caste-competence-capacite">
<div> <!-- Bloc Caste -->
<div class="grid">
<!-- Score caste -->
<div style="padding-bottom:10px">
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-caste" title="@{fdp-hexagon-caste}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-6 sheet-circle-blue">
</div>
<strong>Caste</strong>
</div>
<!-- Compétences Caste -->
<div>
<fieldset class="repeating_fdp-caste-competences">
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-hexagon sheet-hexagon-petit">
</div>
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit-alonge" name="attr_fdp-hexagon-competence-caste-valeur-01" title="@{fdp-hexagon-competence-caste-valeur-01}" min="0" value="0">
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-alonge sheet-circle-gray">
</div>
<div class="sheet-chevauche-hexagon-alonge">
<input type="text" class="sheet-input-hexagon-alonge" name="attr_fdp-hexagon-competence-caste-nom-01" title="@{fdp-hexagon-competence-caste-nom-01}">
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div><!-- Bloc caractéritiques -->
<div class="sheet-caracteristique">
<!-- ligne 1 -->
<div class="sheet-label-pheromone"><!-- 1--><!-- 2-->
Phéromone
</div>
<div><!-- 3-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit"><input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-pheromone" title="@{fdp-hexagon-pheromone}" min="1"></div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-1 sheet-circle-gray">
</div>
</div>
<div class="sheet-hexagone-antenne"><!-- 1.4 + 2.4-->
<div class="grid">
<div class="sheet-center">
<strong><span name="attr_antenne_palpe"></span></strong> <!-- Antenne pour intre et Palpe pour arak -->
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen"><input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-antenne" title="@{fdp-hexagon-antenne}" min="1"></div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-6 sheet-circle-blue">
</div>
</div>
</div>
</div>
<div><!-- 5-->
</div>
<div class="sheet-hexagone-esprit"><!-- 1.6 + 2.6-->
<div class="grid">
<div class="sheet-label-esprit"><strong>Esprit</strong></div>
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-esprit" title="@{fdp-hexagon-esprit}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-1 sheet-circle-blue">
</div>
</div>
</div>
</div>
<div><!-- 7-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-instinct" title="@{fdp-hexagon-instinct}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-6 sheet-circle-gray">
</div>
</div>
<div class="sheet-label-instinct"><!-- 8 + 9-->
Instinct
</div>
<!-- ligne 2 -->
<div class="sheet-label-tir"><!-- 1 + 2-->
Tir
</div>
<div><!-- 3-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-tir" title="@{fdp-hexagon-tir}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-3 sheet-circle-gray">
</div>
</div>
<div><!-- 5-->
</div>
<div><!-- 7-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-conscience" title="@{fdp-hexagon-conscience}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-4 sheet-circle-gray">
</div>
</div>
<div class="sheet-label-conscience"><!-- 8 +9-->
Conscience
</div>
<!-- ligne 3 -->
<div><!-- 1-->
<div class="grid">
<span name="attr_melee_soie"></span> <!-- Mêlée pour inter et Soie pour arak -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-melee" title="@{fdp-hexagon-melee}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-1 sheet-circle-gray">
</div>
</div>
</div>
</div>
<div class="sheet-hexagone-mandibule"><!-- 3.2 + 3.3 + 4.2 + 4.3-->
<div class="grid">
<div class="sheet-right">
<strong><span name="attr_mandibule_chelicere"></span></strong> <!-- Mandibule pour inter et Chelicère pour arak -->
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-mandibule" title="@{fdp-hexagon-mandibule}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-5 sheet-circle-blue">
</div>
</div>
</div>
</div>
<div><!-- 4-->
</div>
<div><!-- 5-->
</div>
<div><!-- 6-->
</div>
<div class="sheet-hexagone-aile"><!-- 3.7 + 3.8 + 4.7 + 4.8-->
<div class="grid">
<div class="sheet-label-aile">
<strong><span name="attr_aile_patte"></span></strong> <!-- Aile pour inter et Patte pour arak -->
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-aile" title="@{fdp-hexagon-aile}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-2 sheet-circle-blue">
</div>
</div>
</div>
</div>
<div><!-- 9-->
<div class="grid">
<div>Agilité</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-agilite" title="@{fdp-hexagon-agilite}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-6 sheet-circle-gray">
</div>
</div>
</div>
</div>
<!-- ligne 4 -->
<div><!-- 1-->
<div class="grid">
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-predateur" title="@{fdp-hexagon-predateur}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-3 sheet-circle-gray">
</div>
</div>
<div>Prédateur</div>
</div>
</div>
<div><!-- 4-->
</div>
<div><!-- 5-->
</div>
<div><!-- 6-->
</div>
<div><!-- 9-->
<div class="grid">
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-defense" title="@{fdp-hexagon-defense}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-4 sheet-circle-gray">
</div>
</div>
<div>Défense</div>
</div>
</div>
<!-- ligne 5 -->
<div class="sheet-label-chrysalide"><!-- 1+ 2-->
Chrysalide
</div>
<div><!-- 3-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-chrysalide" title="@{fdp-hexagon-chrysalide}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-1 sheet-circle-green">
</div>
</div>
<div class="sheet-hexagone-chitine"><!-- 5.4 + 6.4-->
<div class="grid">
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-chitine" title="@{fdp-hexagon-chitine}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-4 sheet-circle-red">
</div>
</div>
<div class="sheet-center"><strong>Chitine</strong></div>
</div>
</div>
<div><!-- 5-->
</div>
<div class="sheet-hexagone-temperature"><!-- 5.6 + 6.6-->
<div class="grid">
<div>
<div class="sheet-hexagon sheet-hexagon-moyen">
<div class="sheet-chevauche-hexagon-moyen">
<input type="number" class="sheet-input-hexagon-moyen" name="attr_fdp-hexagon-temperature" title="@{fdp-hexagon-temperature}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-moyen-3 sheet-circle-red">
</div>
</div>
<div class="sheet-label-temperature"><strong>Température</strong></div>
</div>
</div>
<div><!-- 7-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-activite" title="@{fdp-hexagon-activite}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-6 sheet-circle-green">
</div>
</div>
<div class="sheet-label-activite"><!-- 8 + 9-->
Activité
</div>
<!-- ligne 6 -->
<div class="sheet-label-resistance"><!-- 1 + 2-->
Résistance
</div>
<div><!-- 3-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-resistance" title="@{fdp-hexagon-resistance}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-3 sheet-circle-green"></div>
</div>
<div><!-- 5-->
</div>
<div><!-- 7-->
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-metabolisme" title="@{fdp-hexagon-metabolisme}" min="1">
</div>
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-petit-4 sheet-circle-green">
</div>
</div>
<div class="sheet-label-metabolisme"><!-- 8 + 9 -->
Métabolisme
</div>
</div>
</div>
<div><!-- Bloc Capacités -->
<div class="sheet-grid" >
<div >Capacités</div>
<div>
<fieldset class="repeating_fdp-capacites">
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-hexagon sheet-hexagon-petit">
</div>
<div class="sheet-chevauche-hexagon-petit" >
<input type="number" class="sheet-input-hexagon-petit-alonge" name="attr_fdp-hexagon-competence-capacite-valeur-01" title="@{fdp-hexagon-competence-capacite-valeur-01}">
</div>
<div class="sheet-circle-small sheet-circle-small-hexagon-alonge sheet-circle-black">
</div>
<div class="sheet-chevauche-hexagon-alonge">
<input type="text" class="sheet-input-hexagon-alonge" name="attr_fdp-hexagon-competence-capacite-nom-01" title="@{fdp-hexagon-competence-capacite-nom-01}">
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<br>
<div class="sheet-caracteristique-derive">
<div><!-- souillure-->
<div class="sheet-souillure">
<!-- ligne 1 - souillure -->
<div class="sheet-label-souillure"><strong>Souillure</strong></div>
<!-- ligne 2 - souillure courant-->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit" >
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-souillure-courant-valeur" title="@{fdp-hexagon-souillure-courant-valeur}" min="0">
</div>
</div>
</div>
</div>
</div>
<div><!-- vitesse-->
<div class="sheet-vitesse">
<!-- ligne 1 - vitesse- vol-->
<div class="sheet-label-vitesse"><strong>Vitesse</strong></div>
<!-- ligne 2 vol -->
<div>Vol</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-vol-valeur" title="@{fdp-hexagon-vol-valeur}" min="0">
</div>
</div>
</div>
<!-- ligne 3 - sol-->
<div>Sol</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-sol-valeur" title="@{fdp-hexagon-sol-valeur}" min="0">
</div>
</div>
</div>
</div>
</div>
<div><!-- impact-->
<div class="sheet-impact">
<div class="sheet-label-impact"><strong>Impact</strong></div>
<!-- ligne 2 - Impact courant-->
<div>Courant</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-impact-courant-valeur" title="@{fdp-hexagon-impact-courant-valeur}" min="0">
</div>
</div>
</div>
<!-- ligne 3 - impact max-->
<div>Max</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-impact-max-valeur" title="@{fdp-hexagon-impact-max-valeur}" min="1">
</div>
</div>
</div>
</div>
</div>
<div> <!-- initiative defense carapace-->
<div class="sheet-initiative-defense-carapace">
<!-- ligne 1 -->
<div><strong>Initiative</strong></div>
<div><strong>Defense</strong></div>
<!-- ligne 2 -->
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-initiative-valeur" title="@{fdp-hexagon-initiative-valeur}" min="1">
</div>
</div>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-defense-valeur" title="@{fdp-hexagon-defense-valeur}" min="1">
</div>
</div>
</div>
<!-- ligne 3 -->
<div class="sheet-label-carapace"><strong>Carapace</strong></div>
<!-- ligne 4 -->
<div class="sheet-hexagone-carapace">
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-carapace-valeur" title="@{fdp-hexagon-carapace-valeur}" min="1">
</div>
</div>
</div>
</div>
</div>
<div><!-- blessures-->
<div class="sheet-blessures">
<!-- ligne 1 - blessures -->
<div class="sheet-label-blessures"><strong>Blessures</strong></div>
<!-- ligne 2 - blessures courant-->
<div>Courant</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-blessures-courant-valeur" title="@{fdp-hexagon-blessures-courant-valeur}" min="0">
</div>
</div>
</div>
<!-- ligne 3 - blessures max-->
<div>Max</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-blessures-max-valeur" title="@{fdp-hexagon-blessures-max-valeur}" min="1">
</div>
</div>
</div>
</div>
</div>
<div><!-- fluide-->
<div class="sheet-fluide">
<!-- ligne 1 - fluide -->
<div class="sheet-label-fluide"><strong>Fluide</strong></div>
<!-- ligne 2 - fluide courant-->
<div>Courant</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-fluide-courant-valeur" title="@{fdp-hexagon-fluide-courant-valeur}" min="0">
</div>
</div>
</div>
<!-- ligne 3 - fluide max-->
<div>Max</div>
<div>
<div class="sheet-hexagon sheet-hexagon-petit">
<div class="sheet-chevauche-hexagon-petit" >
<input type="number" class="sheet-input-hexagon-petit" name="attr_fdp-hexagon-fluide-max-valeur" title="@{fdp-hexagon-fluide-max-valeur}" min="1">
</div>
</div>
</div>
</div>
</div>
</div>
<BR>
<div class="sheet-armure-equipement">
<div class="sheet-armure"> <!-- armure -->
<div>
<span><strong>Armure</strong></span>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-hexagon sheet-hexagon-petit">
</div>
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit-alonge" name="attr_fdp-hexagon-armure-valeur" title="@{fdp-hexagon-armure-valeur}" value="0">
</div>
<div class="sheet-chevauche-hexagon-alonge-sscercle">
<input type="text" class="sheet-input-hexagon-alonge" name="attr_fdp-armure-nom" title="@{fdp-armure-nom}">
</div>
</div>
</div>
<div>
<span><strong>Bonus</strong></span>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-hexagon sheet-hexagon-petit">
</div>
<div class="sheet-chevauche-hexagon-petit">
<input type="number" class="sheet-input-hexagon-petit-alonge" name="attr_fdp-hexagon-armure-bonus" title="@{fdp-hexagon-armure-valeur}" value="">
</div>
<div class="sheet-chevauche-hexagon-alonge-sscercle">
<input type="text" class="sheet-input-hexagon-alonge" name="attr_fdp-armure-bonus-nom" title="@{fdp-armure-bonus-nom}">
</div>
</div>
</div>
<div>
<span><strong>Malus Initiative</strong></span>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-chevauche-hexagon-alonge-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-armure-malusinitiative" title="@{fdp-armure-malusinitiative}">
</div>
</div>
</div>
<div>
<span><strong>Malus mobilité</strong></span>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-chevauche-hexagon-alonge-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-armure-malusmobilite" title="@{fdp-armure-malusmobilite}">
</div>
</div>
</div>
</div>
<div> <!-- équipement -->
<div class="sheet-equipement-label-equipement"><span><strong>Equipements</strong></span></div>
<div class="sheet-hexagon sheet-hexagon-equipements">
<div class="sheet-chevauche-entete">
<div class="sheet-equipement-01">
<textarea name="attr_fdp-equipements-01" class="fdp-equipements-01" style="height:175px;margin:0px 0px 9px;width:265px"></textarea>
</div>
<div class="sheet-equipement-02 sheet-equipement-02-aff">
<div class="sheet-hexagon sheet-hexagon-alonge3">
<div class="sheet-chevauche-hexagon-alonge3-sspetithex">
<input type="number" class="sheet-input-hexagon-alonge3-sspetithex" name="attr_fdp-hexagon-quartz" title="@{fdp-hexagon-quartz}" style="width:85px" min="0">
</div>
</div>
<span><strong>Quartz</strong></span>
<div>
<textarea name="attr_fdp-equipements-02" class="fdp-equipements-02" style="height:132px;margin:0px 0px 9px;width:265px"></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
<BR>
<div class="sheet-armes">
<!-- Entête -->
<div class="sheet-arme">
<div> <!-- Nom -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<span><strong>Nom</strong></span>
</div>
</div>
</div>
<div> <!-- Type -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<span><strong>Type</strong></span>
</div>
</div>
</div>
<div> <!-- Dégâts -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<span><strong>Dégâts</strong></span>
</div>
</div>
</div>
<div> <!-- Modificateur Initiative -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<span><strong>Initiative</strong></span>
</div>
</div>
</div>
<div> <!-- Particularités -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<span><strong>Particularités</strong></span>
</div>
</div>
</div>
</div>
<!-- armes -->
<fieldset class="repeating_fdp-armes">
<div class="sheet-arme">
<div> <!-- Nom -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-arme-nom" title="@{fdp-arme-nom}">
</div>
</div>
</div>
<div> <!-- Type -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-arme-type" title="@{fdp-arme-type}">
</div>
</div>
</div>
<div> <!-- Dégâts -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-arme-degats" title="@{fdp-arme-degats}">
</div>
</div>
</div>
<div> <!-- Modificateur Initiative -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-arme-initiative" title="@{fdp-arme-initiative}">
</div>
</div>
</div>
<div> <!-- Particularités -->
<div class="sheet-hexagon sheet-hexagon-alonge2">
<div class="sheet-chevauche-hexagon-alonge2-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-arme-particularite" title="@{fdp-arme-particularite}">
</div>
</div>
</div>
</div>
</fieldset>
</div>
<BR>
<div class="sheet-partie-magie">
<div class="sheet-magie-label-jeteur">
<div>
<span><strong>Magie - Jeteur de sorts </strong></span>
</div>
<div>
<div class="sheet-hexagon sheet-hexagon-alonge">
<div class="sheet-chevauche-hexagon-alonge-sspetithex">
<input type="text" class="sheet-input-hexagon-alonge-sspetithex" name="attr_fdp-magie-jeteurdesorts" title="@{fdp-magie-jeteurdesorts}">
</div>
</div>
</div>
</div>
<br>
<div class="sheet-hexagon sheet-hexagon-geant">
<div class="sheet-magie sheet-magie-position">
<!-- libellés colonnes -->
<div>
<div align="rigth"><span>Mots de pouvoir</span></div>
<div align="left"><span>Sphères Magiques</span></div>
</div>
<div>
<span>Attaque</span>
</div>
<div>
<span>Altération</span>
</div>
<div>
<span>Contrôle</span>
</div>
<div>
<span>Connaissance</span>
</div>
<!-- Sphere 1 -->
<div> <!-- nom sphère 1 -->
<div>
<input type="text" class="sheet-invisible" name="attr_fdp-magie-attaque-sphere-01-nom" title="@{fdp-magie-attaque-sphere-01-nom}" style="max-width:100px">
</div>
</div>
<div> <!-- sphère 1 / Attaque -->
<div>
<input type="checkbox" name="attr_fdp-magie-attaque-sphere-01-disponible" title="@{fdp-magie-attaque-sphere-01-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-attaque-sphere-01" title="@{fdp-magie-attaque-sphere-01}"></textarea>
</div>
</div>
<div> <!-- sphère 1 / Altération -->
<div>
<input type="checkbox" name="attr_fdp-magie-alteration-sphere-01-disponible" title="@{fdp-magie-alteration-sphere-01-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-alteration-sphere-01" title="@{fdp-magie-alteration-sphere-01}"></textarea>
</div>
</div>
<div> <!-- sphère 1 / Contrôle -->
<div>
<input type="checkbox" name="attr_fdp-magie-controle-sphere-01-disponible" title="@{fdp-magie-controle-sphere-01-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-controle-sphere-01" title="@{fdp-magie-controle-sphere-01}"></textarea>
</div>
</div>
<div> <!-- sphère 1 / Connaissances -->
<div>
<input type="checkbox" name="attr_fdp-magie-connaissances-sphere-01-disponible" title="@{fdp-magie-connaissances-sphere-01-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-connaissances-sphere-01" title="@{fdp-magie-connaissances-sphere-01}"></textarea>
</div>
</div>
<!-- Sphere 02 -->
<div> <!-- nom sphère 02 -->
<div>
<input type="text" class="sheet-invisible" name="attr_fdp-magie-attaque-sphere-02-nom" title="@{fdp-magie-attaque-sphere-02-nom}" style="max-width:100px">
</div>
</div>
<div> <!-- sphère 02 / Attaque -->
<div>
<input type="checkbox" name="attr_fdp-magie-attaque-sphere-02-disponible" title="@{fdp-magie-attaque-sphere-02-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-attaque-sphere-02" title="@{fdp-magie-attaque-sphere-02}"></textarea>
</div>
</div>
<div> <!-- sphère 02 / Altération -->
<div>
<input type="checkbox" name="attr_fdp-magie-alteration-sphere-02-disponible" title="@{fdp-magie-alteration-sphere-02-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-alteration-sphere-02" title="@{fdp-magie-alteration-sphere-02}"></textarea>
</div>
</div>
<div> <!-- sphère 02 / Contrôle -->
<div>
<input type="checkbox" name="attr_fdp-magie-controle-sphere-02-disponible" title="@{fdp-magie-controle-sphere-02-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-controle-sphere-02" title="@{fdp-magie-controle-sphere-02}"></textarea>
</div>
</div>
<div> <!-- sphère 02 / Connaissances -->
<div>
<input type="checkbox" name="attr_fdp-magie-connaissances-sphere-02-disponible" title="@{fdp-magie-connaissances-sphere-02-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-connaissances-sphere-02" title="@{fdp-magie-connaissances-sphere-02}"></textarea>
</div>
</div>
<!-- Sphere 03 -->
<div> <!-- nom sphère 03 -->
<div>
<input type="text" class="sheet-invisible" name="attr_fdp-magie-attaque-sphere-03-nom" title="@{fdp-magie-attaque-sphere-03-nom}" style="max-width:100px">
</div>
</div>
<div> <!-- sphère 03 / Attaque -->
<div>
<input type="checkbox" name="attr_fdp-magie-attaque-sphere-03-disponible" title="@{fdp-magie-attaque-sphere-03-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-attaque-sphere-03" title="@{fdp-magie-attaque-sphere-03}"></textarea>
</div>
</div>
<div> <!-- sphère 03 / Altération -->
<div>
<input type="checkbox" name="attr_fdp-magie-alteration-sphere-03-disponible" title="@{fdp-magie-alteration-sphere-03-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-alteration-sphere-03" title="@{fdp-magie-alteration-sphere-03}"></textarea>
</div>
</div>
<div> <!-- sphère 03 / Contrôle -->
<div>
<input type="checkbox" name="attr_fdp-magie-controle-sphere-03-disponible" title="@{fdp-magie-controle-sphere-03-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-controle-sphere-03" title="@{fdp-magie-controle-sphere-03}"></textarea>
</div>
</div>
<div> <!-- sphère 03 / Connaissances -->
<div>
<input type="checkbox" name="attr_fdp-magie-connaissances-sphere-03-disponible" title="@{fdp-magie-connaissances-sphere-03-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-connaissances-sphere-03" title="@{fdp-magie-connaissances-sphere-03}"></textarea>
</div>
</div>
<!-- Sphere 04 -->
<div> <!-- nom sphère 04 -->
<div>
<input type="text" class="sheet-invisible" name="attr_fdp-magie-attaque-sphere-04-nom" title="@{fdp-magie-attaque-sphere-04-nom}" style="max-width:100px">
</div>
</div>
<div> <!-- sphère 04 / Attaque -->
<div>
<input type="checkbox" name="attr_fdp-magie-attaque-sphere-04-disponible" title="@{fdp-magie-attaque-sphere-04-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-attaque-sphere-04" title="@{fdp-magie-attaque-sphere-04}"></textarea>
</div>
</div>
<div> <!-- sphère 04 / Altération -->
<div>
<input type="checkbox" name="attr_fdp-magie-alteration-sphere-04-disponible" title="@{fdp-magie-alteration-sphere-04-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-alteration-sphere-04" title="@{fdp-magie-alteration-sphere-04}"></textarea>
</div>
</div>
<div> <!-- sphère 04 / Contrôle -->
<div>
<input type="checkbox" name="attr_fdp-magie-controle-sphere-04-disponible" title="@{fdp-magie-controle-sphere-04-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-controle-sphere-04" title="@{fdp-magie-controle-sphere-04}"></textarea>
</div>
</div>
<div> <!-- sphère 04 / Connaissances -->
<div>
<input type="checkbox" name="attr_fdp-magie-connaissances-sphere-04-disponible" title="@{fdp-magie-connaissances-sphere-04-disponible}" value="0">
</div>
<div>
<textarea class="sheet-magie-textarea" name="attr_fdp-magie-connaissances-sphere-04" title="@{fdp-magie-connaissances-sphere-04}"></textarea>
</div>
</div>
</div>
</div>
</div>
<!-- FDP Bloc version-->
<HR>
<span>V1.0 2020-06-22</span>
</div>
<!-- jet de blattes -->
<rolltemplate class="sheet-rolltemplate-blattes">
<!-- blattes: proportion -- 3 noires, 18 blanches, 12 bleues, 6 vertes, 3 rouges -->
<div style="height:45px">
<!-- <span style="background:black;">blattes</span> {{roll}}
<br> -->
<span style="background:white;"></span>
<span class="template-value">
{{#rollLess() roll 4}}
<div class="sheet-circle sheet-circle-black"></div><!-- 3 noires -->
{{/rollLess() roll 4}}
{{#rollBetween() roll 4 21}}
<div class="sheet-circle sheet-circle-gray"></div> <!-- 18 blanches-->
{{/rollBetween() roll 4 21}}
{{#rollBetween() roll 22 33}}
<div class="sheet-circle sheet-circle-blue"></div> <!-- 12 bleues-->
{{/rollBetween() roll 22 33}}
{{#rollBetween() roll 34 39}}
<div class="sheet-circle sheet-circle-green"></div> <!-- 6 vertes -->
{{/rollBetween() roll 34 39}}
{{#rollGreater() roll 39}}
<div class="sheet-circle sheet-circle-red"></div> <!-- 3 rouges -->
{{/rollGreater() roll 39}}
</span>
</div>
</rolltemplate>
<script type="text/worker">
on('change:pnj_espece sheet:opened', function() {
console.log("===== Appel change:pnj_espece =====");
getAttrs(['pnj_espece'], function (v) {
console.log("===== values of pnj_espece: "+ JSON.stringify(v) +" =====");
const espece = v.pnj_espece;
/* valeurs pour choix */
let output = {
pnj_espece_aff:'-', pnj_mandibule:'-', pnj_aile:'-', pnj_antenne:'-', pnj_chitine:'-', pnj_capacites_armure:'-'
};
if (espece === 'peuplelezard') {
output.pnj_espece_aff='Peuple lézard'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Mobilité'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Armure'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'insecte') {
output.pnj_espece_aff='Insecte'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Mandibule'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Aile'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Antenne'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Chitine'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'ecaille') {
output.pnj_espece_aff='Ecaille'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Mobilité'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'plume') {
output.pnj_espece_aff='Plume'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Aile'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'sangchaud') {
output.pnj_espece_aff='Sangchaud'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Patte'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'aquatiqueterrestre') {
output.pnj_espece_aff=' Aquatique terrestre'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Patte'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'aquatiqueeau') {
output.pnj_espece_aff=' Aquatique eau'; <!-- Peuple lézard / Insecte / Ecaille / Plume / Sangchaud / Aquatique terrestre / Aquatique eau -->
output.pnj_mandibule='Fougue'; <!-- Peuple lézard Fougue / Insecte Mandibule / Ecaille Fougue / Plume Fougue / Sangchaud Fougue / Aquatique terrestre Fougue / Aquatique eau Fougue -->
output.pnj_aile='Nageoire'; <!-- Peuple lézard Mobilité / Insecte Aile / Ecaille Mobilité / Plume Aile / Sangchaud Patte / Aquatique terrestre Patte / Aquatique eau Nageoire -->
output.pnj_antenne='Sens'; <!-- Peuple lézard Sens / Insecte Antenne / Ecaille Sens / Plume Sens / Sangchaud Sens / Aquatique terrestre Sens / Aquatique eau Sens -->
output.pnj_chitine='Corpulence'; <!-- Peuple lézard Corpulence / Insecte Chitine / Ecaille Corpulence / Plume Corpulence / Sangchaud Corpulence / Aquatique terrestre Corpulence / Aquatique eau Corpulence -->
output.pnj_capacites_armure='Capacités'; <!-- Peuple lézard Armure / Insecte Capacités / Ecaille Capacités / Plume Capacités / Sangchaud Capacités / Aquatique terrestre Capacités / Aquatique poisson Capacités -->
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
});
});
on('change:fdp_espece sheet:opened', function() {
console.log("===== Appel change:fdp_espece =====");
getAttrs(['fdp_espece'], function (v) {
console.log("===== values of fdp_espece: "+ JSON.stringify(v) +" =====");
const espece = v.fdp_espece;
let output = {
fdp_race_aff:'Intre', fdp_race:'0', antenne_palpe:'Antenne', mandibule_chelicere:'Mandibule', melee_soie:'Mêlée', aile_patte:'Aile'
};
if (espece === 'choix') {
output.fdp_race_aff='';
output.fdp_race='';
output.antenne_palpe='';
output.mandibule_chelicere='';
output.melee_soie='';
output.aile_patte='';
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'Arakchass') {
output.fdp_race_aff='Arak';
output.fdp_race='1';
output.antenne_palpe='Palpe';
output.mandibule_chelicere='Chélicère';
output.melee_soie='Soie';
output.aile_patte='Patte';
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
if (espece === 'Araktiss') {
output.fdp_race_aff='Arak';
output.fdp_race='1';
output.antenne_palpe='Palpe';
output.mandibule_chelicere='Chélicère';
output.melee_soie='Soie';
output.aile_patte='Patte';
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
return;
}
console.log("===== values of output: "+ JSON.stringify(output) +" =====");
setAttrs(output);
});
});
</script>