[NEW FEATURE] Cabinet des Murmures

This commit is contained in:
Evilbram
2024-03-30 14:16:41 +01:00
parent a46f117ade
commit b8d7770ea7
3 changed files with 552 additions and 58 deletions
+224 -48
View File
@@ -82,12 +82,19 @@ font-family: 'Great Vibes', cursive;
padding-right: 10px;
padding-left: 25px;
border-radius: 5px;
box-shadow: 0px 5px 10px 6px #00000091;
box-shadow: var(--comedien-shadow);
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Cabinet%20des%20Murmures/img/offi_background.png);
background-size: cover;
position: relative;
}
.comedien_choix {
position: absolute;
z-index: 1;
margin-left: 710px;
margin-top: 20px;
}
body.sheet-darkmode .cabinet,
body.sheet-darkmode .corps,
body.sheet-darkmode .arbre,
@@ -98,7 +105,7 @@ body.sheet-darkmode .dice,
body.sheet-darkmode .esprit_dice,
body.sheet-darkmode .intro,
body.sheet-darkmode .info {
box-shadow: 1px 0px 9px 3px #cdcdcdba;
box-shadow: var(--comedien-shadow-bm);
}
.esprit_dice,
@@ -163,9 +170,6 @@ img.avatar{
box-shadow: 5px 5px 13px 6px #04040470;
}
img.dice_tab {
}
.ui-dialog .charsheet button[type=roll]::before {
content: "";
}
@@ -743,10 +747,6 @@ input.sheet-prouesse-switch:checked ~ div.titre_trait{
height: 17px;
}
input:checked + .slider_prouesse {
}
input:checked + .slider_prouesse:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
@@ -919,9 +919,106 @@ input[type="radio"] {
box-shadow: 0px 0px 0px 1px var(--border_bouton_checked);
}
/* #Systeme couleur comédien */
.controller_comedien[value*="blanc"] ~ *{
--comedien-shadow: 0px 5px 10px 6px #00000091;
--comedien-shadow-bm: 1px 0px 9px 3px #cdcdcdba;
}
.controller_comedien[value*="rouge"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #bb0404c9;
--comedien-shadow-bm: 1px 0px 9px 3px #bb0404c9;
}
.controller_comedien[value*="bleu"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #0303d7bd;
--comedien-shadow-bm: 1px 0px 9px 3px #0303d7bd;
}
.controller_comedien[value*="jaune"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #c5d70c;
--comedien-shadow-bm: 1px 0px 9px 3px #c5d70c;
}
.controller_comedien[value*="orange"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #d76f009e;
--comedien-shadow-bm: 1px 0px 9px 3px #d76f009e;
}
.controller_comedien[value*="vert"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #02a619;
--comedien-shadow-bm: 1px 0px 9px 3px #02a619;
}
.controller_comedien[value*="violet"] ~ *{
--comedien-shadow: inset 0px 0px 10px 2px #9001c6;
--comedien-shadow-bm: 1px 0px 9px 3px #9001c6;
}
.comedien_blanc input[type="radio"] + label,
.comedien_rouge input[type="radio"] + label,
.comedien_bleu input[type="radio"] + label,
.comedien_jaune input[type="radio"] + label,
.comedien_orange input[type="radio"] + label,
.comedien_vert input[type="radio"] + label,
.comedien_violet input[type="radio"] + label {
width: 5px;
height: 10px;
border-radius: 30px;
background: buttontext;
padding-right: 5px;
opacity: 0.5;
box-shadow: 0px 0px 0px 1px var(--border_bouton_unchecked);
cursor: pointer;
margin-top: -15px;
}
.comedien_blanc input[type="radio"]:hover + label,
.comedien_rouge input[type="radio"]:hover + label,
.comedien_bleu input[type="radio"]:hover + label,
.comedien_jaune input[type="radio"]:hover + label,
.comedien_orange input[type="radio"]:hover + label,
.comedien_vert input[type="radio"]:hover + label,
.comedien_violet input[type="radio"]:hover + label {
opacity: 1;
}
.comedien_blanc input[type="radio"]:checked + label,
.comedien_rouge input[type="radio"]:checked + label,
.comedien_bleu input[type="radio"]:checked + label,
.comedien_jaune input[type="radio"]:checked + label,
.comedien_orange input[type="radio"]:checked + label,
.comedien_vert input[type="radio"]:checked + label,
.comedien_violet input[type="radio"]:checked + label {
cursor: auto;
opacity: 1;
}
.comedien_blanc input[type="radio"] + label {
background-color: var(--bouton_blanc);
}
.comedien_rouge input[type="radio"] + label {
background-color: var(--bouton_rouge);
}
.comedien_bleu input[type="radio"] + label {
background-color: var(--bouton_bleu);
}
.comedien_jaune input[type="radio"] + label {
background-color: var(--bouton_jaune);
}
.comedien_orange input[type="radio"] + label {
background-color: var(--bouton_orange);
}
.comedien_vert input[type="radio"] + label {
background-color: var(--bouton_vert);
}
.comedien_violet input[type="radio"] + label {
background-color: var(--bouton_violet);
}
/* #Systeme couleur arbre de vie */
@@ -1522,6 +1619,49 @@ input[type="radio"] {
grid-column: 4;
}
/* Wrapper Choix comédien */
.wrapper_comedien_choix{
display: grid;
grid-template-columns: 15px 15px 15px 15px 15px 15px;
grid-template-rows: 15px;
}
.comedien_blanc {
grid-column: 1;
}
.comedien_rouge {
grid-column: 2;
}
.comedien_bleu {
grid-column: 3;
}
.comedien_jaune {
grid-column: 1;
}
.comedien_vert {
grid-column: 2;
}
.comedien_violet {
grid-column: 3;
}
.comedien_text {
grid-column: 1/7;
grid-row: 2;
text-align: center;
margin-top: -6px;
font-size: 12px;
font-family: 'IM Fell English, serif';
}
/* Wrapper Cabinet */
.wrapper_cabinet{
@@ -6045,6 +6185,54 @@ input[type="radio"] {
box-shadow: -5px 4px 12px 0px #00000096;
}
.reset_esprit_spell {
position: absolute;
margin-top: -64px;
margin-left: 796px;
}
.deroulant_esprit_spell_1_gauche {
position: absolute;
margin-top: 107px;
margin-left: 78px;
}
.deroulant_esprit_spell_1_droite {
position: absolute;
margin-top: 107px;
margin-left: 679px;
}
.deroulant_esprit_spell_2_gauche {
position: absolute;
margin-top: 315px;
margin-left: 78px;
}
.deroulant_esprit_spell_2_droite {
position: absolute;
margin-top: 315px;
margin-left: 679px;
}
.deroulant_esprit_spell_3_gauche {
position: absolute;
margin-top: 522px;
margin-left: 78px;
}
.deroulant_esprit_spell_3_droite {
position: absolute;
margin-top: 522px;
margin-left: 679px;
}
.wrapper_spell_esprit {
display: grid;
grid-template-columns: 80px;
grid-template-rows: 35px;
}
.wrapper_info_outil {
display: grid;
grid-template-columns: 30px 200px 45px 200px 30px;
@@ -6146,9 +6334,6 @@ input[type="radio"] {
font-size: 17px;
}
.arme_distance_titre_general {
}
.arme_distance_titre {
background-color: #6d7477;
border-top: none;
@@ -6963,10 +7148,6 @@ div.dots_tete {
margin-left: 75px;
}
div.protection_tete {
}
div.titre_bras_droit {
margin-top: 60px;
margin-left: 15px;
@@ -6978,10 +7159,6 @@ div.dots_bras_droit {
}
div.protection_bras_droit {
}
div.titre_bras_gauche {
margin-top: -20px;
margin-left: 220px;
@@ -7005,10 +7182,6 @@ div.dots_torse {
margin-left: 65px;
}
div.protection_torse {
}
div.titre_jambe_droite {
margin-top: 120px;
margin-left: 25px;
@@ -7018,10 +7191,6 @@ div.dots_jambe_droite {
margin-left: 25px;
}
div.protection_jambe_droite {
}
div.titre_jambe_gauche {
margin-top: 10px;
margin-left: 195px;
@@ -7035,10 +7204,6 @@ div.protection_jambe_gauche {
margin-left: 185px;
}
div.malus_corps {
}
.charsheet input.protection[type="number"],
.charsheet input.protection_pnj[type="number"]{
font-size: 15px;
@@ -7360,6 +7525,30 @@ select.liste_graces {
padding-bottom: 0px
}
select.deroulant_esprit_spell_gauche,
select.deroulant_esprit_spell {
width: 75px;
border: none;
border-bottom-color: currentcolor;
border-bottom-style: none;
border-bottom-width: medium;
background: transparent;
border-bottom: 1px solid #61504524;
border-radius: 0;
color: var(--marron_cabinet);
font-size: 12px;
padding-left: 10px;
padding-bottom: 0px;
height: 20px;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
select.deroulant_esprit_spell_gauche {
text-align: right;
}
select.custom_roll,
select.custom_roll_prouesse {
width: auto;
@@ -7554,15 +7743,6 @@ div.protection_jambe_gauche_pnj {
text-align: center;
}
.pnj_titre_combat {
}
.pnj_sous_titre_combat {
}
.pnj_bonus_combat {
}
span.pnj_titre_combat {
color: var(--blue_cabinet);
font-size: 13px;
@@ -7851,6 +8031,7 @@ span.opposition {
padding: 0 !important;
box-shadow: none;
-webkit-appearance: unset;
appearance: unset;
height: 18px;
margin-top: -6px;
}
@@ -7873,6 +8054,7 @@ span.opposition {
padding: 0 !important;
box-shadow: none;
-webkit-appearance: unset;
appearance: unset;
height: 18px;
margin-top: 10px;
}
@@ -8081,12 +8263,6 @@ span.info_pre {
padding: 5px;
}
.sheet-rolltemplate-cabinet-pouvoir .sheet-content > div {
/* font-weight: bold; */
}
.sheet-rolltemplate-cabinet-classic .sheet-content .sheet-key,
.sheet-rolltemplate-cabinet-classic-qualite .sheet-content .sheet-key,
.sheet-rolltemplate-cabinet-prouesse .sheet-content .sheet-key,
+324 -9
View File
@@ -1,3 +1,4 @@
<!-- Special harpie line 1189 -->
<!-- Hidden value for sheet version -->
<input type="hidden" class="sheet-sheettoggle" name="attr_sheet_version" value="intro" />
<!------------------>
@@ -60,6 +61,19 @@
<option value="intro">Introduction</option>
</select>
</div> -->
<div class="comedien_choix">
<div class="wrapper_comedien_choix">
<div class="comedien_blanc"><input type="radio" name="attr_controller_comedien" id="comedien_blanc" value="blanc" style="margin-top: 10px;" data-i18n-title="color_comedien" title="violet comedien"><label for="comedien_blanc" data-i18n-title="color_comedien" title="blanc comedien"></label></div>
<div class="comedien_rouge"><input type="radio" name="attr_controller_comedien" id="comedien_rouge" value="rouge" style="margin-top: 10px;" data-i18n-title="color_comedien" title="red comedien"><label for="comedien_rouge" data-i18n-title="color_comedien" title="red comedien"></label></div>
<div class="comedien_bleu"><input type="radio" name="attr_controller_comedien" id="comedien_bleu" value="bleu" style="margin-top: 10px;" data-i18n-title="color_comedien" title="blue comedien"><label for="comedien_bleu" data-i18n-title="color_comedien" title="blue comedien"></label></div>
</div>
<div class="wrapper_comedien_choix">
<div class="comedien_jaune"><input type="radio" name="attr_controller_comedien" id="comedien_jaune" value="jaune" style="margin-top: 10px;" data-i18n-title="color_comedien" title="yellow comedien"><label for="comedien_jaune" data-i18n-title="color_comedien" title="yellow comedien"></label></div>
<div class="comedien_vert"><input type="radio" name="attr_controller_comedien" id="comedien_vert" value="vert" style="margin-top: 10px;" data-i18n-title="color_comedien" title="green comedien"><label for="comedien_vert" data-i18n-title="color_comedien" title="green comedien"></label></div>
<div class="comedien_violet"><input type="radio" name="attr_controller_comedien" id="comedien_violet" value="violet" style="margin-top: 10px;" data-i18n-title="color_comedien" title="violet comedien"><label for="comedien_violet" data-i18n-title="color_comedien" title="violet comedien"></label></div>
<!-- <div class="comedien_text">Comédien</div> -->
</div>
</div>
<div class="sheet_reset_fiche">
<button type="action" class="intro_reset" name="act_intro-reset"><span class="picto_reset_intro" data-i18n-title="intro_link" title="Changer le type de la fiche">r</span></button>
</div>
@@ -77,6 +91,8 @@
<!------------------>
<!-- DIV CABINET -->
<!------------------>
<input type="hidden" class="controller_comedien" name="attr_controller_comedien" value="blanc">
<div class="cabinet">
<div class="wrapper_cabinet">
<div class="esprit_titre"><span data-i18n="spirits">ESPRITS</span>
@@ -1301,7 +1317,7 @@
<!-- DIV PJ -->
<!------------------>
<div class="feuille_pj">
<input type="hidden" class="controller_comedien" name="attr_controller_comedien" value="blanc">
<!-- SHEET VERSION OPTION -->
<!-- <div class="sheet_selector">
<select class="selector" title="Choose sheet version" name="attr_sheet_version">
@@ -2184,7 +2200,7 @@
</div>
<div class="wrapper_arme_distance">
<div class="arme_distance_titre_general"><span data-i18n="info_distance">ARMES DE TIR</span></div>
<div class="arme_distance_titre_general"><span data-i18n="info_ranged_weapon">ARMES DE TIR</span></div>
<!-- Gros calibre -->
<div class="arme_distance_titre"><span data-i18n="info_distance_categorie_1">ARMEMENT DE POING (Gros calibre, Fantassin, Cavaliers)</span></div>
@@ -2680,6 +2696,8 @@
<p><textarea class="esp_adversaire" name="attr_esp_adversaire" spellcheck="false"></textarea></p>
</div>
<div class="pouvoir"><span data-i18n="powers">POUVOIRS</span>
<button type="action" name="act_reset_spell_esprit" class="sheet-radio" title="reset spell" data-i18n-title="reset_spell" style="border-radius: 0;width: 30px;height: 30px;border: none;">
<span class="sheet-checked" style="background: none;text-align: left;width: 12px;height: 12px;font-size: 10px;margin-top: 2px;margin-left: 9px;background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Cabinet%20des%20Murmures/img/reset_perisprit.png);background-size: 12px 12px;background-repeat: no-repeat;/* border: 1px solid red; */border-radius: 0;"></span></button>
<div class="titre_trait">
<img src="https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Cabinet%20des%20Murmures/img/offi_title-border.png" />
</div>
@@ -3995,7 +4013,7 @@
<!-- DIV PNJ -->
<!------------------>
<div class="feuille_pnj">
<input type="hidden" class="controller_comedien" name="attr_controller_comedien" value="blanc">
<!-- SHEET VERSION OPTION -->
<!-- <div class="sheet_selector">
<select class="selector" title="Choose sheet version" name="attr_sheet_version">
@@ -4646,9 +4664,11 @@ on('clicked:pnj_derive', function() {
<script type="text/worker">
on('clicked:intro-esprit', function() {
getAttrs(["sheet_version"], function(values) {
getAttrs(["sheet_version", "controller_comedien"], function(values) {
setAttrs({
sheet_version: "esprit"
sheet_version: "esprit",
controller_comedien: "blanc"
});
});
});
@@ -4657,10 +4677,11 @@ on('clicked:intro-esprit', function() {
<script type="text/worker">
on('clicked:intro-cabinet', function() {
getAttrs(["sheet_version"], function(values) {
getAttrs(["sheet_version", "controller_comedien"], function(values) {
setAttrs({
sheet_version: "cabinet",
character_name: "Médium"
character_name: "Médium",
controller_comedien: "blanc"
});
});
});
@@ -4670,9 +4691,10 @@ on('clicked:intro-esprit', function() {
on('clicked:intro-pnj', function() {
getAttrs(["sheet_version"], function(values) {
getAttrs(["sheet_version", "controller_comedien"], function(values) {
setAttrs({
sheet_version: "pnj"
sheet_version: "pnj",
controller_comedien: "blanc"
});
});
});
@@ -6429,7 +6451,300 @@ on("change:D_courage change:D_intellect change:D_sensibilite change:D_ouverture
})
</script>
<!-- Boutton reset spell esprit -->
<script type="text/worker">
on('clicked:reset_spell_esprit', function() {
setAttrs({
"data1_lvl_1" : 0,
"data2_lvl_1" : 0,
"data3_lvl_1" : 0,
"data1_lvl_2" : 0,
"data2_lvl_2" : 0,
"data3_lvl_2" : 0,
"data1_lvl_3" : 0,
"data2_lvl_3" : 0,
"data3_lvl_3" : 0
});
});
</script>
<!-- Boutton reset spell tableau -->
<script type="text/worker">
on('clicked:reset_spell_tableau', function() {
setAttrs({
"esprit_spell_1_1" : 0,
"esprit_spell_1_2" : 0,
"esprit_spell_1_3" : 0,
"esprit_spell_1_4" : 0,
"esprit_spell_1_5" : 0,
"esprit_spell_1_6" : 0,
"esprit_spell_1_7" : 0,
"esprit_spell_1_8" : 0,
"esprit_spell_1_9" : 0,
"esprit_spell_1_10" : 0,
"esprit_spell_1_11" : 0,
"esprit_spell_1_12" : 0,
"esprit_spell_2_1" : 0,
"esprit_spell_2_2" : 0,
"esprit_spell_2_3" : 0,
"esprit_spell_2_4" : 0,
"esprit_spell_2_5" : 0,
"esprit_spell_2_6" : 0,
"esprit_spell_2_7" : 0,
"esprit_spell_2_8" : 0,
"esprit_spell_2_9" : 0,
"esprit_spell_2_10" : 0,
"esprit_spell_2_11" : 0,
"esprit_spell_2_12" : 0,
"esprit_spell_3_1" : 0,
"esprit_spell_3_2" : 0,
"esprit_spell_3_3" : 0,
"esprit_spell_3_4" : 0,
"esprit_spell_3_5" : 0,
"esprit_spell_3_6" : 0,
"esprit_spell_3_7" : 0,
"esprit_spell_3_8" : 0,
"esprit_spell_3_9" : 0,
"esprit_spell_3_10" : 0,
"esprit_spell_3_11" : 0,
"esprit_spell_3_12" : 0,
"outil_pouvoir_lvl_1_1-1" : 0,
"outil_pouvoir_lvl_1_1-2" : 0,
"outil_pouvoir_lvl_1_2-1" : 0,
"outil_pouvoir_lvl_1_2-2" : 0,
"outil_pouvoir_lvl_1_3-1" : 0,
"outil_pouvoir_lvl_1_3-2" : 0,
"outil_pouvoir_lvl_1_4-1" : 0,
"outil_pouvoir_lvl_1_4-2" : 0,
"outil_pouvoir_lvl_1_5-1" : 0,
"outil_pouvoir_lvl_1_5-2" : 0,
"outil_pouvoir_lvl_1_6-1" : 0,
"outil_pouvoir_lvl_1_6-2" : 0,
"outil_pouvoir_lvl_2_1-1" : 0,
"outil_pouvoir_lvl_2_1-2" : 0,
"outil_pouvoir_lvl_2_2-1" : 0,
"outil_pouvoir_lvl_2_2-2" : 0,
"outil_pouvoir_lvl_2_3-1" : 0,
"outil_pouvoir_lvl_2_3-2" : 0,
"outil_pouvoir_lvl_2_4-1" : 0,
"outil_pouvoir_lvl_2_4-2" : 0,
"outil_pouvoir_lvl_2_5-1" : 0,
"outil_pouvoir_lvl_2_5-2" : 0,
"outil_pouvoir_lvl_2_6-1" : 0,
"outil_pouvoir_lvl_2_6-2" : 0,
"outil_pouvoir_lvl_3_1-1" : 0,
"outil_pouvoir_lvl_3_1-2" : 0,
"outil_pouvoir_lvl_3_2-1" : 0,
"outil_pouvoir_lvl_3_2-2" : 0,
"outil_pouvoir_lvl_3_3-1" : 0,
"outil_pouvoir_lvl_3_3-2" : 0,
"outil_pouvoir_lvl_3_4-1" : 0,
"outil_pouvoir_lvl_3_4-2" : 0,
"outil_pouvoir_lvl_3_5-1" : 0,
"outil_pouvoir_lvl_3_5-2" : 0,
"outil_pouvoir_lvl_3_6-1" : 0,
"outil_pouvoir_lvl_3_6-2" : 0
});
});
</script>
<!-- Mise à jour des checkbox pour esprit_spell -->
<script type="text/worker">
on("change:esprit_spell_1_1 change:esprit_spell_1_2 change:esprit_spell_1_3 change:esprit_spell_1_4 change:esprit_spell_1_5 change:esprit_spell_1_6 change:esprit_spell_1_7 change:esprit_spell_1_8 change:esprit_spell_1_9 change:esprit_spell_1_10 change:esprit_spell_1_11 change:esprit_spell_1_12 change:esprit_spell_2_1 change:esprit_spell_2_2 change:esprit_spell_2_3 change:esprit_spell_2_4 change:esprit_spell_2_5 change:esprit_spell_2_6 change:esprit_spell_2_7 change:esprit_spell_2_8 change:esprit_spell_2_9 change:esprit_spell_2_10 change:esprit_spell_2_11 change:esprit_spell_2_12 change:esprit_spell_3_1 change:esprit_spell_3_2 change:esprit_spell_3_3 change:esprit_spell_3_4 change:esprit_spell_3_5 change:esprit_spell_3_6 change:esprit_spell_3_7 change:esprit_spell_3_8 change:esprit_spell_3_9 change:esprit_spell_3_10 change:esprit_spell_3_11 change:esprit_spell_3_12", function() {
getAttrs(["esprit_spell_1_1", "esprit_spell_1_2", "esprit_spell_1_3", "esprit_spell_1_4", "esprit_spell_1_5", "esprit_spell_1_6", "esprit_spell_1_7", "esprit_spell_1_8", "esprit_spell_1_9", "esprit_spell_1_10", "esprit_spell_1_11", "esprit_spell_1_12", "esprit_spell_2_1", "esprit_spell_2_2", "esprit_spell_2_3", "esprit_spell_2_4", "esprit_spell_2_5", "esprit_spell_2_6", "esprit_spell_2_7", "esprit_spell_2_8", "esprit_spell_2_9", "esprit_spell_2_10", "esprit_spell_2_11", "esprit_spell_2_12", "esprit_spell_3_1", "esprit_spell_3_2", "esprit_spell_3_3", "esprit_spell_3_4", "esprit_spell_3_5", "esprit_spell_3_6", "esprit_spell_3_7", "esprit_spell_3_8", "esprit_spell_3_9", "esprit_spell_3_10", "esprit_spell_3_11", "esprit_spell_3_12"], function(values) {
let esprit_spell_1_1 = parseInt(values["esprit_spell_1_1"]) || 0;
if (esprit_spell_1_1 == 0 ) outil_pouvoir_lvl_1_1 = "0";
else outil_pouvoir_lvl_1_1 = "1";
let esprit_spell_1_2 = parseInt(values["esprit_spell_1_2"]) || 0;
if (esprit_spell_1_2 == 0 ) outil_pouvoir_lvl_1_2 = "0";
else outil_pouvoir_lvl_1_2 = "1";
let esprit_spell_1_3 = parseInt(values["esprit_spell_1_3"]) || 0;
if (esprit_spell_1_3 == 0 ) outil_pouvoir_lvl_1_3 = "0";
else outil_pouvoir_lvl_1_3 = "1";
let esprit_spell_1_4 = parseInt(values["esprit_spell_1_4"]) || 0;
if (esprit_spell_1_4 == 0 ) outil_pouvoir_lvl_1_4 = "0";
else outil_pouvoir_lvl_1_4 = "1";
let esprit_spell_1_5 = parseInt(values["esprit_spell_1_5"]) || 0;
if (esprit_spell_1_5 == 0 ) outil_pouvoir_lvl_1_5 = "0";
else outil_pouvoir_lvl_1_5 = "1";
let esprit_spell_1_6 = parseInt(values["esprit_spell_1_6"]) || 0;
if (esprit_spell_1_6 == 0 ) outil_pouvoir_lvl_1_6 = "0";
else outil_pouvoir_lvl_1_6 = "1";
let esprit_spell_1_7 = parseInt(values["esprit_spell_1_7"]) || 0;
if (esprit_spell_1_7 == 0 ) outil_pouvoir_lvl_1_7 = "0";
else outil_pouvoir_lvl_1_7 = "1";
let esprit_spell_1_8 = parseInt(values["esprit_spell_1_8"]) || 0;
if (esprit_spell_1_8 == 0 ) outil_pouvoir_lvl_1_8 = "0";
else outil_pouvoir_lvl_1_8 = "1";
let esprit_spell_1_9 = parseInt(values["esprit_spell_1_9"]) || 0;
if (esprit_spell_1_9 == 0 ) outil_pouvoir_lvl_1_9 = "0";
else outil_pouvoir_lvl_1_9 = "1";
let esprit_spell_1_10 = parseInt(values["esprit_spell_1_10"]) || 0;
if (esprit_spell_1_10 == 0 ) outil_pouvoir_lvl_1_10 = "0";
else outil_pouvoir_lvl_1_10 = "1";
let esprit_spell_1_11 = parseInt(values["esprit_spell_1_11"]) || 0;
if (esprit_spell_1_11 == 0 ) outil_pouvoir_lvl_1_11 = "0";
else outil_pouvoir_lvl_1_11 = "1";
let esprit_spell_1_12 = parseInt(values["esprit_spell_1_12"]) || 0;
if (esprit_spell_1_12 == 0 ) outil_pouvoir_lvl_1_12 = "0";
else outil_pouvoir_lvl_1_12 = "1";
let esprit_spell_2_1 = parseInt(values["esprit_spell_2_1"]) || 0;
if (esprit_spell_2_1 == 0 ) outil_pouvoir_lvl_2_1 = "0";
else outil_pouvoir_lvl_2_1 = "1";
let esprit_spell_2_2 = parseInt(values["esprit_spell_2_2"]) || 0;
if (esprit_spell_2_2 == 0 ) outil_pouvoir_lvl_2_2 = "0";
else outil_pouvoir_lvl_2_2 = "1";
let esprit_spell_2_3 = parseInt(values["esprit_spell_2_3"]) || 0;
if (esprit_spell_2_3 == 0 ) outil_pouvoir_lvl_2_3 = "0";
else outil_pouvoir_lvl_2_3 = "1";
let esprit_spell_2_4 = parseInt(values["esprit_spell_2_4"]) || 0;
if (esprit_spell_2_4 == 0 ) outil_pouvoir_lvl_2_4 = "0";
else outil_pouvoir_lvl_2_4 = "1";
let esprit_spell_2_5 = parseInt(values["esprit_spell_2_5"]) || 0;
if (esprit_spell_2_5 == 0 ) outil_pouvoir_lvl_2_5 = "0";
else outil_pouvoir_lvl_2_5 = "1";
let esprit_spell_2_6 = parseInt(values["esprit_spell_2_6"]) || 0;
if (esprit_spell_2_6 == 0 ) outil_pouvoir_lvl_2_6 = "0";
else outil_pouvoir_lvl_2_6 = "1";
let esprit_spell_2_7 = parseInt(values["esprit_spell_2_7"]) || 0;
if (esprit_spell_2_7 == 0 ) outil_pouvoir_lvl_2_7 = "0";
else outil_pouvoir_lvl_2_7 = "1";
let esprit_spell_2_8 = parseInt(values["esprit_spell_2_8"]) || 0;
if (esprit_spell_2_8 == 0 ) outil_pouvoir_lvl_2_8 = "0";
else outil_pouvoir_lvl_2_8 = "1";
let esprit_spell_2_9 = parseInt(values["esprit_spell_2_9"]) || 0;
if (esprit_spell_2_9 == 0 ) outil_pouvoir_lvl_2_9 = "0";
else outil_pouvoir_lvl_2_9 = "1";
let esprit_spell_2_10 = parseInt(values["esprit_spell_2_10"]) || 0;
if (esprit_spell_2_10 == 0 ) outil_pouvoir_lvl_2_10 = "0";
else outil_pouvoir_lvl_2_10 = "1";
let esprit_spell_2_11 = parseInt(values["esprit_spell_2_11"]) || 0;
if (esprit_spell_2_11 == 0 ) outil_pouvoir_lvl_2_11 = "0";
else outil_pouvoir_lvl_2_11 = "1";
let esprit_spell_2_12 = parseInt(values["esprit_spell_2_12"]) || 0;
if (esprit_spell_2_12 == 0 ) outil_pouvoir_lvl_2_12 = "0";
else outil_pouvoir_lvl_2_12 = "1";
let esprit_spell_3_1 = parseInt(values["esprit_spell_3_1"]) || 0;
if (esprit_spell_3_1 == 0 ) outil_pouvoir_lvl_3_1 = "0";
else outil_pouvoir_lvl_3_1 = "1";
let esprit_spell_3_2 = parseInt(values["esprit_spell_3_2"]) || 0;
if (esprit_spell_3_2 == 0 ) outil_pouvoir_lvl_3_2 = "0";
else outil_pouvoir_lvl_3_2 = "1";
let esprit_spell_3_3 = parseInt(values["esprit_spell_3_3"]) || 0;
if (esprit_spell_3_3 == 0 ) outil_pouvoir_lvl_3_3 = "0";
else outil_pouvoir_lvl_3_3 = "1";
let esprit_spell_3_4 = parseInt(values["esprit_spell_3_4"]) || 0;
if (esprit_spell_3_4 == 0 ) outil_pouvoir_lvl_3_4 = "0";
else outil_pouvoir_lvl_3_4 = "1";
let esprit_spell_3_5 = parseInt(values["esprit_spell_3_5"]) || 0;
if (esprit_spell_3_5 == 0 ) outil_pouvoir_lvl_3_5 = "0";
else outil_pouvoir_lvl_3_5 = "1";
let esprit_spell_3_6 = parseInt(values["esprit_spell_3_6"]) || 0;
if (esprit_spell_3_6 == 0 ) outil_pouvoir_lvl_3_6 = "0";
else outil_pouvoir_lvl_3_6 = "1";
let esprit_spell_3_7 = parseInt(values["esprit_spell_3_7"]) || 0;
if (esprit_spell_3_7 == 0 ) outil_pouvoir_lvl_3_7 = "0";
else outil_pouvoir_lvl_3_7 = "1";
let esprit_spell_3_8 = parseInt(values["esprit_spell_3_8"]) || 0;
if (esprit_spell_3_8 == 0 ) outil_pouvoir_lvl_3_8 = "0";
else outil_pouvoir_lvl_3_8 = "1";
let esprit_spell_3_9 = parseInt(values["esprit_spell_3_9"]) || 0;
if (esprit_spell_3_9 == 0 ) outil_pouvoir_lvl_3_9 = "0";
else outil_pouvoir_lvl_3_9 = "1";
let esprit_spell_3_10 = parseInt(values["esprit_spell_3_10"]) || 0;
if (esprit_spell_3_10 == 0 ) outil_pouvoir_lvl_3_10 = "0";
else outil_pouvoir_lvl_3_10 = "1";
let esprit_spell_3_11 = parseInt(values["esprit_spell_3_11"]) || 0;
if (esprit_spell_3_11 == 0 ) outil_pouvoir_lvl_3_11 = "0";
else outil_pouvoir_lvl_3_11 = "1";
let esprit_spell_3_12 = parseInt(values["esprit_spell_3_12"]) || 0;
if (esprit_spell_3_12 == 0 ) outil_pouvoir_lvl_3_12 = "0";
else outil_pouvoir_lvl_3_12 = "1";
setAttrs({
"outil_pouvoir_lvl_1_1-1": outil_pouvoir_lvl_1_1,
"outil_pouvoir_lvl_1_1-2": outil_pouvoir_lvl_1_2,
"outil_pouvoir_lvl_1_2-1": outil_pouvoir_lvl_1_3,
"outil_pouvoir_lvl_1_2-2": outil_pouvoir_lvl_1_4,
"outil_pouvoir_lvl_1_3-1": outil_pouvoir_lvl_1_5,
"outil_pouvoir_lvl_1_3-2": outil_pouvoir_lvl_1_6,
"outil_pouvoir_lvl_1_4-1": outil_pouvoir_lvl_1_7,
"outil_pouvoir_lvl_1_4-2": outil_pouvoir_lvl_1_8,
"outil_pouvoir_lvl_1_5-1": outil_pouvoir_lvl_1_9,
"outil_pouvoir_lvl_1_5-2": outil_pouvoir_lvl_1_10,
"outil_pouvoir_lvl_1_6-1": outil_pouvoir_lvl_1_11,
"outil_pouvoir_lvl_1_6-2": outil_pouvoir_lvl_1_12,
"outil_pouvoir_lvl_1_1-1": outil_pouvoir_lvl_2_1,
"outil_pouvoir_lvl_2_1-2": outil_pouvoir_lvl_2_2,
"outil_pouvoir_lvl_2_2-1": outil_pouvoir_lvl_2_3,
"outil_pouvoir_lvl_2_2-2": outil_pouvoir_lvl_2_4,
"outil_pouvoir_lvl_2_3-1": outil_pouvoir_lvl_2_5,
"outil_pouvoir_lvl_2_3-2": outil_pouvoir_lvl_2_6,
"outil_pouvoir_lvl_2_4-1": outil_pouvoir_lvl_2_7,
"outil_pouvoir_lvl_2_4-2": outil_pouvoir_lvl_2_8,
"outil_pouvoir_lvl_2_5-1": outil_pouvoir_lvl_2_9,
"outil_pouvoir_lvl_2_5-2": outil_pouvoir_lvl_2_10,
"outil_pouvoir_lvl_2_6-1": outil_pouvoir_lvl_2_11,
"outil_pouvoir_lvl_2_6-2": outil_pouvoir_lvl_2_12,
"outil_pouvoir_lvl_3_1-1": outil_pouvoir_lvl_3_1,
"outil_pouvoir_lvl_3_1-2": outil_pouvoir_lvl_3_2,
"outil_pouvoir_lvl_3_2-1": outil_pouvoir_lvl_3_3,
"outil_pouvoir_lvl_3_2-2": outil_pouvoir_lvl_3_4,
"outil_pouvoir_lvl_3_3-1": outil_pouvoir_lvl_3_5,
"outil_pouvoir_lvl_3_3-2": outil_pouvoir_lvl_3_6,
"outil_pouvoir_lvl_3_4-1": outil_pouvoir_lvl_3_7,
"outil_pouvoir_lvl_3_4-2": outil_pouvoir_lvl_3_8,
"outil_pouvoir_lvl_3_5-1": outil_pouvoir_lvl_3_9,
"outil_pouvoir_lvl_3_5-2": outil_pouvoir_lvl_3_10,
"outil_pouvoir_lvl_3_6-1": outil_pouvoir_lvl_3_11,
"outil_pouvoir_lvl_3_6-2": outil_pouvoir_lvl_3_12
});
});
});
</script>
<!-- Custom Roll -->
<script type="text/worker">
+4 -1
View File
@@ -13,6 +13,8 @@
"spirit_sheet" : "Spirit Sheet",
"corpse_sheet" : "Cabinet Sheet",
"npc_sheet" : "NPC Sheet",
"text_comedien" : "ACTOR",
"color_comedien" : "Who is the actor ?",
"name" : "NAME :",
"office" : "OFFICE",
"body" : "BODY",
@@ -152,6 +154,7 @@
"spirit_contacts" : "CONTACTS",
"routine" : "ROUTINE",
"spirit_opponents" : "OPPONENTS",
"reset_spell" : "Reset all spells",
"powers" : "SPELLS",
"level_1" : "LEVEL 1 :",
"level_2" : "LEVEL 2 :",
@@ -553,7 +556,7 @@
"info_fleches" : "arrows",
"info_carreaux" : "bolts",
"info_cac" : "NATURAL WEAPONS AND EDGE WEAPONS",
"info_distance" : "SHOOTING WEAPONS",
"ranged_weapon" : "SHOOTING WEAPONS",
"info_distance_categorie_1" : "HAND ARMAMENT (Large caliber, Infantryman, Cavaliers)",
"info_distance_categorie_2" : "HAND WEAPONS (Medium caliber, Air Force, Navy, Police)",
"info_distance_categorie_3" : "SHOULDER ARMAMENT (Army, Police)",