mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Upgraded version
Upgrades : Added a NPC tab Sheet with roll-template to display a chat review of the NPC Simplified dice gestion Added config access out of the game Improved translation possibilities
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 124 KiB |
@@ -12,6 +12,12 @@ div.sheet-tab-content { display: none; }
|
||||
input.sheet-tab:checked ~ div.sheet-tab2,
|
||||
input.sheet-tab:not(:checked) ~ div.sheet-tab1, { display: block; }
|
||||
|
||||
div.sheet-sub-tab-content { display: none; }
|
||||
|
||||
input.sheet-sub-tab:checked ~ div.sheet-sub-tab1,
|
||||
input.sheet-sub-tab:not(:checked) ~ div.sheet-sub-tab2, { display: block; }
|
||||
|
||||
|
||||
input.sheet-tab-content {
|
||||
float:right;
|
||||
opacity: 0;
|
||||
@@ -39,6 +45,39 @@ input[type="checkbox"].sheet-tab-content:checked + span::before {
|
||||
content: "H";
|
||||
}
|
||||
|
||||
input.sheet-sub-tab-content {
|
||||
float:right;
|
||||
opacity: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
top: -20px;
|
||||
left: -50px;
|
||||
margin: -10px;
|
||||
transform: scale(1.5);
|
||||
}
|
||||
|
||||
input[type="checkbox"].sheet-sub-tab-content + span::before {
|
||||
float:right;
|
||||
position: relative;
|
||||
top: -33px;
|
||||
left: -35px;
|
||||
text-align: center;
|
||||
font-size: 15px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
content: "NPC";
|
||||
border: 1px solid black;
|
||||
border-radius: 7px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
input[type="checkbox"].sheet-sub-tab-content:checked + span::before {
|
||||
content: "PC";
|
||||
}
|
||||
|
||||
.sheet-verbes {
|
||||
word-wrap: break-word;
|
||||
max-width: 370px;
|
||||
@@ -74,7 +113,12 @@ input.sheet-meta {
|
||||
vertical-align:bottom;
|
||||
}
|
||||
|
||||
|
||||
textarea.sheet-npc {
|
||||
width:100%;
|
||||
min-width:100%;
|
||||
max-width:100%;
|
||||
}
|
||||
|
||||
.sheet-atrcontainer {
|
||||
position:relative;
|
||||
margin-right:20px;
|
||||
@@ -128,6 +172,13 @@ button.sheet-nod20:before {
|
||||
line-height:18px !important;
|
||||
}
|
||||
|
||||
button.sheet-nod2:before {
|
||||
font-family: "dicefontd6" !important;
|
||||
content: "l" !important;
|
||||
font-size:20px;
|
||||
line-height:18px !important;
|
||||
}
|
||||
|
||||
button.sheet-d6:before {
|
||||
font-family: "dicefontd6" !important;
|
||||
content: "l" !important;
|
||||
@@ -203,10 +254,83 @@ input[type="checkbox"].sheet-action2 + span::before {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
input.sheet-action:checked ~ button[type="roll"].sheet-broll {
|
||||
input.sheet-action:checked ~ button[type="roll"].sheet-nod20 {
|
||||
display:none;
|
||||
}
|
||||
|
||||
input.sheet-action:not(:checked) ~ button[type="roll"].sheet-nod2 {
|
||||
display:none;
|
||||
}
|
||||
|
||||
input.sheet-action:checked ~ input[type="number"].sheet-in {
|
||||
background-color:#BCBCBE;
|
||||
}
|
||||
|
||||
.sheet-bnpc {
|
||||
float:right;
|
||||
position: relative;
|
||||
top: -35px;
|
||||
left: -50px;
|
||||
background: #b8c7e0;
|
||||
border: 1px solid black;
|
||||
border-radius: 13px;
|
||||
}
|
||||
|
||||
button.sheet-bnpc:before {
|
||||
font-family: "Pictos" !important;
|
||||
content: "N" !important;
|
||||
font-size:20px;
|
||||
line-height:18px !important;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-NPC div.sheet-npc_container {
|
||||
border: 2px solid black !important;
|
||||
border-radius: 10px;
|
||||
z-index:1;
|
||||
background-color: #f1ecda;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-NPC .sheet-npc_header {
|
||||
background-color: #5e80ba;
|
||||
padding: 2px;
|
||||
border-bottom: 1px solid black;
|
||||
border-radius: 8px 8px 0px 0px;
|
||||
line-height: 1.6em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-NPC .sheet-npc_subheader {
|
||||
padding: 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.sheet-rolltemplate-NPC div.sheet-npc_rowcolor1 {
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-NPC div.sheet-npc_rowcolor2 {
|
||||
border-bottom: 1px solid black;
|
||||
background-color: #b8c7e0;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-NPC div.sheet-npc_rowcolor {
|
||||
background-color: #b8c7e0;
|
||||
border-radius: 0px 0px 8px 8px;
|
||||
}
|
||||
.sheet-npc_d {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-display span.sheet-ddice {
|
||||
min-width: 30px;
|
||||
min-height: 30px;
|
||||
max-width: 30px;
|
||||
max-height: 30px;
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
background-color: white;
|
||||
border: 2px solid black;
|
||||
border-radius: 10px;
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
}
|
||||
@@ -2,117 +2,166 @@
|
||||
<input type="checkbox" name="attr_tab" class="sheet-tab-content sheet-tab" value="2"><span></span>
|
||||
|
||||
<div class='sheet-tab-content sheet-tab1'>
|
||||
<h1>Abstract Dungeon</h1>
|
||||
<div class="meta">
|
||||
<span data-i18n="name">Nom :</span>
|
||||
<input type="text" name="attr_character_name" class="meta" style="width:200px;">
|
||||
<span data-i18n="level">Niveau :</span>
|
||||
<input type="number" name="attr_lvl" class="meta">
|
||||
<span data-i18n="experience">XP :</span>
|
||||
<input type="number" name="attr_xp" style="width:80px; max-width:80px;" class="meta">
|
||||
<span data-i18n="restoration">Restauration :</span>
|
||||
<button type="roll" value="/roll ?{@{restorationmacro}|1}d6" class="d6"></button>
|
||||
<span style="display: none" data-i18n="ask-how-many-dice">Combien de dés?</span>
|
||||
</div>
|
||||
<div class=" 2colrow table1">
|
||||
<div class= "col">
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#9B1B30;"><span name="attr_at1"></span></h2>
|
||||
<h1 data-i18n="game">Abstract Donjon</h1>
|
||||
<input type="checkbox" name="attr_npc" class="sheet-sub-tab-content sheet-sub-tab" value="2"><span></span>
|
||||
<div class='sheet-sub-tab-content sheet-sub-tab1'>
|
||||
<div class="meta">
|
||||
<span data-i18n="name">Nom :</span>
|
||||
<input type="text" name="attr_character_name" class="meta" style="width:250px;">
|
||||
<span data-i18n="level">Niveau :</span>
|
||||
<input type="number" name="attr_lvl" class="meta">
|
||||
<span data-i18n="experience">XP :</span>
|
||||
<input type="number" name="attr_xp" style="width:80px; max-width:80px;" class="meta">
|
||||
</div>
|
||||
<div class=" 2colrow table1">
|
||||
<div class= "col">
|
||||
<div>
|
||||
<fieldset class="repeating_robustesse">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act1" class="action"><span></span>
|
||||
<input type="number" name="attr_at1_value" value="1" class="in">
|
||||
<button type="roll" value="/em utilise **@{at1_value}** (@{at1})" class="broll nod20"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc1"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#264E36;"><span name="attr_at3"></h2>
|
||||
<div>
|
||||
<fieldset class="repeating_esprit">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act3" class="action"><span></span>
|
||||
<input type="number" name="attr_at3_value" value="1" class="in">
|
||||
<button type="roll" value="/em utilise **@{at3_value}** (@{at3})" class="broll nod20"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc3"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="traits">Traits :</h2>
|
||||
<fieldset class="repeating_trait">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_trait" class="eq">
|
||||
<input type="checkbox" name="attr_act_trait" class="action2"><span></span>
|
||||
<input type="number" name="attr_trait_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="/em utilise **@{trait_value}** (@{trait})" class="broll nod20"></button>
|
||||
<h2 class="at" style="background-color:#9B1B30;"><span name="attr_at1"></span></h2>
|
||||
<div>
|
||||
<fieldset class="repeating_robustesse">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act1" class="action action1"><span></span>
|
||||
<input type="number" name="attr_at1_value" value="1" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{at1_value}}} {{dice_type=@{at1}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{at1}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="equipment">Equipement :</h2>
|
||||
<fieldset class="repeating_equipement">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_equipement" class="eq">
|
||||
<input type="checkbox" name="attr_act_equipement" class="action2"><span></span>
|
||||
<input type="number" name="attr_equipement_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="/em utilise **@{equipement_value}** (@{equipement})" class="broll nod20"></button>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc1"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#264E36;"><span name="attr_at3"></h2>
|
||||
<div>
|
||||
<fieldset class="repeating_esprit">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act3" class="action action1"><span></span>
|
||||
<input type="number" name="attr_at3_value" value="1" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{at3_value}}} {{dice_type=@{at3}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{at3}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc3"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2><span name="attr_attrait"></span></h2>
|
||||
<fieldset class="repeating_trait">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_trait" class="eq">
|
||||
<input type="checkbox" name="attr_act_trait" class="action action2"><span></span>
|
||||
<input type="number" name="attr_trait_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{trait_value}}} {{dice_type=@{trait}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{trait}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<h2><span name="attr_atequipement"></span></h2>
|
||||
<fieldset class="repeating_equipement">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_equipement" class="eq">
|
||||
<input type="checkbox" name="attr_act_equipement" class="action action2"><span></span>
|
||||
<input type="number" name="attr_equipement_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{equipement_value}}} {{dice_type=@{equipement}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{equipement}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#E08119;"><span name="attr_at2"></span></h2>
|
||||
<div style="width:370px;">
|
||||
<fieldset class="repeating_agilite">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act2" class="action action1"><span></span>
|
||||
<input type="number" name="attr_at2_value" value="1" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{at2_value}}} {{dice_type=@{at2}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{at2}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc2"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#2A4B7C;"><span name="attr_at4"></h2>
|
||||
<div>
|
||||
<fieldset class="repeating_intellect">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act4" class="action action1"><span></span>
|
||||
<input type="number" name="attr_at4_value" value="1" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{at4_value}}} {{dice_type=@{at4}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{at4}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc4"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2><span name="attr_attresor"></span></h2>
|
||||
<fieldset class="repeating_tresor">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_tresor" class="eq">
|
||||
<input type="checkbox" name="attr_act_tresor" class=" action action2"><span></span>
|
||||
<input type="number" name="attr_tresor_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{tresor_value}}} {{dice_type=@{tresor}}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=@{tresor}}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="bonus">Bonus</h2>
|
||||
<fieldset class="repeating_bonus">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act_bonus" class="action action1"><span></span>
|
||||
<input type="number" name="attr_bonus" value="6" class="in">
|
||||
<button type="roll" value="&{template:display} {{name=@{character_name}}} {{dice=@{bonus}}} {{dice_type=Bonus}}" class="broll nod20"></button>
|
||||
<button type="roll" value="&{template:roll} {{name=@{character_name}}} {{dice=[[1d6]]}} {{dice_type=Bonus}}" class="broll nod2"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
</div>
|
||||
<div class='sheet-sub-tab-content sheet-sub-tab2'>
|
||||
<div class="meta">
|
||||
<button type="roll" value="&{template:NPC} {{name=@{character_name}}} {{dice=@{npc_dice}}} {{attack=@{npc_atk}}} {{resistance=@{npc_res}}} {{vulnerability=@{npc_vul}}} {{special=@{npc_spe}}}" name="NPC_card" class="bnpc"></button>
|
||||
<button type="roll" value="/roll @{npc_dice}d6sdm" name="roll_dice" style="display:none"></button>
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#E08119;"><span name="attr_at2"></span></h2>
|
||||
<div style="width:370px;">
|
||||
<fieldset class="repeating_agilite">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act2" class="action"><span></span>
|
||||
<input type="number" name="attr_at2_value" value="1" class="in">
|
||||
<button type="roll" value="/em utilise **@{at2_value}** (@{at2})" class="broll nod20"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc2"></span>
|
||||
<span data-i18n="name">Nom :</span>
|
||||
<input type="text" name="attr_character_name" class="meta" style="width:450px;">
|
||||
<input type="number" name="attr_npc_dice" class="meta"><span style="font-size:40px;">D</span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 class="at" style="background-color:#2A4B7C;"><span name="attr_at4"></h2>
|
||||
<div>
|
||||
<fieldset class="repeating_intellect">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act4" class="action"><span></span>
|
||||
<input type="number" name="attr_at4_value" value="1" class="in">
|
||||
<button type="roll" value="/em utilise **@{at4_value}** (@{at4})" class="broll nod20"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<span class="verbes" span name="attr_desc4"></span>
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="hoards">Trésors :</h2>
|
||||
<fieldset class="repeating_tresor">
|
||||
<div class="atrcontainer2">
|
||||
<input type="text" name="attr_tresor" class="eq">
|
||||
<input type="checkbox" name="attr_act_tresor" class="action2"><span></span>
|
||||
<input type="number" name="attr_tresor_value" value="1" style="vertical-align:bottom;" class="in">
|
||||
<button type="roll" value="/em utilise **@{tresor_value}** (@{tresor})" class="broll nod20"></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="bonus">Bonus :</h2>
|
||||
<fieldset class="repeating_bonus">
|
||||
<div class="atrcontainer">
|
||||
<input type="checkbox" name="attr_act_bonus" class="action"><span></span>
|
||||
<input type="number" name="attr_bonus" value="6" class="in">
|
||||
<button type="roll" value="/em utilise **@{bonus}** (Bonus)" class="broll nod20"></button>
|
||||
<div class="2colrow">
|
||||
<div class="col">
|
||||
<div>
|
||||
<span data-i18n="npc attacks">Attaques :</span>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div>
|
||||
<textarea name="attr_npc_atk" class="meta npc"></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<span data-i18n="npc resistances">Résistances :</span>
|
||||
</div>
|
||||
<div>
|
||||
<textarea name="attr_npc_res" class="meta npc"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div>
|
||||
<span data-i18n="npc special">Spécial :</span>
|
||||
</div>
|
||||
<div>
|
||||
<textarea name="attr_npc_spe" class="meta npc"></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<span data-i18n="npc vulnerabilities">Vulnérabilités :</span>
|
||||
</div>
|
||||
<div>
|
||||
<textarea name="attr_npc_vul" class="meta npc"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -133,17 +182,31 @@
|
||||
<input type="text" name="attr_desc3" value="Communier, Sentir, Motiver, Exhorter, Sympathiser, Persuader, Intimider, Pressentir, Ordonner, Commander, Provoquer, Embrouiller, Canaliser" class="desc">
|
||||
<input type="text" name="attr_desc4" value="Convaincre, Se souvenir, Déduire, Raisonner, Déchiffrer, Inventer, Chercher, Débattre, Supposer, Etudier, Résoudre, Mystifier, Incanter, Méditer" class="desc">
|
||||
</div>
|
||||
<div>
|
||||
<h2 data-i18n="secondary pools' name">Nom des réserves secondaires</h2>
|
||||
<input type="text" name="attr_attrait" value="Traits">
|
||||
<input type="text" name="attr_atequipement" value="Equipement">
|
||||
<input type="text" name="attr_attresor" value="Trésors">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<rolltemplate class="sheet-rolltemplate-NPC">
|
||||
<div class="npc_container">
|
||||
<div class="npc_header"><h1>{{name}}</h1></div>
|
||||
<div class="npc_rowcolor1"><span class="npc_subheader" data-i18n="opposition">Opposition : </span>{{dice}}<span class="npc_d">D</span></div>
|
||||
<div class="npc_rowcolor2"><span class="npc_subheader" data-i18n="attacks">Attaques : </span>{{attack}}</div>
|
||||
<div class="npc_rowcolor1"><span class="npc_subheader" data-i18n="resistances">Résistances : </span>{{resistance}}</div>
|
||||
<div class="npc_rowcolor2"><span class="npc_subheader" data-i18n="vulnerabilities">Vulnérabilités : </span>{{vulnerability}}</div>
|
||||
<div class="npc_rowcolor1"><span class="npc_subheader" data-i18n="special">Spécial : </span>{{special}}</div>
|
||||
<div class="npc_rowcolor"><span class="npc_subheader" data-i18n="result">Résultat : </span>[Lancer les dés](~{{name}}|dice)</div>
|
||||
</div>
|
||||
</rolltemplate>
|
||||
|
||||
<script type="text/worker">
|
||||
<rolltemplate class="sheet-rolltemplate-display">
|
||||
<div>**{{name}} <span data-i18n="uses">utilise</span> <span class="ddice">{{dice}}</span> ({{dice_type}})**</div>
|
||||
</rolltemplate>
|
||||
|
||||
on("sheet:opened", function(eventInfo){
|
||||
|
||||
setAttrs({
|
||||
restorationmacro: getTranslationByKey("ask-how-many-dice")
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<rolltemplate class="sheet-rolltemplate-roll">
|
||||
<div>{{name}} <span data-i18n="gets">obtient</span> {{dice}} ({{dice_type}})</div>
|
||||
</rolltemplate>
|
||||
@@ -1,8 +1,109 @@
|
||||
{
|
||||
"html": "Abstract_HTML.html",
|
||||
"css": "Abstract_CSS.css",
|
||||
"authors": "Pantoufle",
|
||||
"roll20userid": "601574",
|
||||
"preview": "Abstract.jpg",
|
||||
"instructions": "This is a sheet for Abstract Dungeon. The base is set up for French but it can bet tweak to be in any language. There are two tabs : the main sheet and the config sheet (accessed via the gear icon)."
|
||||
"html": "Abstract_HTML.html",
|
||||
"css": "Abstract_CSS.css",
|
||||
"authors": "Pantoufle",
|
||||
"roll20userid": "601574",
|
||||
"preview": "Abstract.JPG",
|
||||
"instructions": "This is a sheet for Abstract Dungeon. The base is set up for French but it can easily be tweak to any language. There are two main tabs : the player character'sheet and the non-player character's sheet (access in the upper right corner). Don't hesitate to use NPC_card as a macro (like @{selected|NPC_card}), it will display a NPC card in the chat with all relative informations without opening the character sheet. The config can be accessed via the gear icon.",
|
||||
"useroptions": [
|
||||
{
|
||||
"attribute": "at1",
|
||||
"displayname": "Première caractéristique :",
|
||||
"displaytranslationkey": "First attribute :",
|
||||
"type": "text",
|
||||
"default": "Robustesse",
|
||||
"description": "Change les caractéristiques pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "attributeinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "at2",
|
||||
"displayname": "Seconde caractéristique :",
|
||||
"displaytranslationkey": "Second attribute :",
|
||||
"type": "text",
|
||||
"default": "Agilité",
|
||||
"description": "Change les caractéristiques pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "attributeinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "at3",
|
||||
"displayname": "Troisième caractéristique :",
|
||||
"displaytranslationkey": "Third attribute :",
|
||||
"type": "text",
|
||||
"default": "Esprit",
|
||||
"description": "Change les caractéristiques pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "attributeinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "at4",
|
||||
"displayname": "Quatrième caractéristique :",
|
||||
"displaytranslationkey": "Fourth attribute:",
|
||||
"type": "text",
|
||||
"default": "Intellect",
|
||||
"description": "Change les caractéristiques pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "attributeinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "attrait",
|
||||
"displayname": "Compétences 1 :",
|
||||
"displaytranslationkey": "Skills 1 :",
|
||||
"type": "text",
|
||||
"default": "Traits",
|
||||
"description": "Change les compétences pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "skillinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "atequipement",
|
||||
"displayname": "Compétences 2 :",
|
||||
"displaytranslationkey": "Skills 2 :",
|
||||
"type": "text",
|
||||
"default": "Equipement",
|
||||
"description": "Change les compétences pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "skillinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "attresor",
|
||||
"displayname": "Compétences 3 :",
|
||||
"displaytranslationkey": "Skills 3 :",
|
||||
"type": "text",
|
||||
"default": "Trésors",
|
||||
"description": "Change les compétences pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "skillinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "desc1",
|
||||
"displayname": "Description Caractéristique 1 :",
|
||||
"displaytranslationkey": "attribute description1 :",
|
||||
"type": "text",
|
||||
"default": "Trancher, Endurer, Briser, Sauter, Grimper, Plier, Nager, Souffler, Courir, Broyer, Pousser, Tirer, Soulever, Porter, Encaisser, Arracher, Lancer",
|
||||
"description": "Change les descriptions pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "descinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "desc2",
|
||||
"displayname": "Description Caractéristique 2 :",
|
||||
"displaytranslationkey": "attribute description2 :",
|
||||
"type": "text",
|
||||
"default": "Esquiver, Parer, Equilibrer, Basculer, Rouler, Viser, Danser, Attraper, Ramasser, Désarmer, Nouer, S'échapper, Dévier, Transpercer, Se retourner",
|
||||
"description": "Change les descriptions pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "descinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "desc3",
|
||||
"displayname": "Description Caractéristique 3 :",
|
||||
"displaytranslationkey": "attribute description3 :",
|
||||
"type": "text",
|
||||
"default": "Communier, Sentir, Motiver, Exhorter, Sympathiser, Persuader, Intimider, Pressentir, Ordonner, Commander, Provoquer, Embrouiller, Canaliser",
|
||||
"description": "Change les descriptions pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "descinfo"
|
||||
},
|
||||
{
|
||||
"attribute": "desc4",
|
||||
"displayname": "Description Caractéristique 4 :",
|
||||
"displaytranslationkey": "attribute description4 :",
|
||||
"type": "text",
|
||||
"default": "Convaincre, Se souvenir, Déduire, Raisonner, Déchiffrer, Inventer, Chercher, Débattre, Supposer, Etudier, Résoudre, Mystifier, Incanter, Méditer",
|
||||
"description": "Change les descriptions pour correspondre à votre type de jeu",
|
||||
"descriptiontranslationkey": "descinfo"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,13 +1,36 @@
|
||||
{
|
||||
"game": "Abtract Donjon",
|
||||
"name": "Nom :",
|
||||
"level": "Niveau :",
|
||||
"experience": "XP :",
|
||||
"restoration": "Restauration :",
|
||||
"ask-how-many-dice": "Combien de dés?",
|
||||
"traits": "Traits :",
|
||||
"hoards": "Trésors :",
|
||||
"equipment": "Equipement :",
|
||||
"bonus": "Bonus :",
|
||||
"attributes'names": "Noms des attributs",
|
||||
"attributes' descriptions": "Textes de description"
|
||||
"attributes' descriptions": "Textes de description",
|
||||
"secondary pools' name": "Nom des réserves secondaires",
|
||||
"npc attacks": "Attaques",
|
||||
"npc resistances": "Résistances",
|
||||
"npc vulnerabilities": "Vulnérabilités",
|
||||
"npc special": "Spécial",
|
||||
"opposition": "Opposition : ",
|
||||
"attacks": "Attaques : ",
|
||||
"resistances": "Résistances : ",
|
||||
"vulnerabilities": "Vulnérabilités : ",
|
||||
"special": "Spécial : ",
|
||||
"result": "Résultat : ",
|
||||
"uses": "utilise",
|
||||
"gets": "obtient",
|
||||
"attributeinfo": "Change les caractéristiques pour correspondre à votre type de jeu",
|
||||
"First attribute :": "Première caractéristique :",
|
||||
"Second attribute :": "Seconde caractéristique :",
|
||||
"Third attribute :": "Troisième caractéristique :",
|
||||
"Fourth attribute:": "Quatrième caractéristique :",
|
||||
"skillinfo": "Change les compétences pour correspondre à votre type de jeu",
|
||||
"Skills 1 :": "Compétences 1 :",
|
||||
"Skills 2 :": "Compétences 2 :",
|
||||
"Skills 3 :": "Compétences 3 :",
|
||||
"descinfo": "Change les descriptions pour correspondre à votre type de jeu",
|
||||
"attribute description1 :": "Description Caractéristique 1 :",
|
||||
"attribute description2 :": "Description Caractéristique 2 :",
|
||||
"attribute description3 :": "Description Caractéristique 3 :",
|
||||
"attribute description4 :": "Description Caractéristique 4 :"
|
||||
}
|
||||
Reference in New Issue
Block a user