diff --git a/Abstract Dungeon (FR base)/Abstract.JPG b/Abstract Dungeon (FR base)/Abstract.JPG index 0eeda05f2f..9c2f1bf556 100644 Binary files a/Abstract Dungeon (FR base)/Abstract.JPG and b/Abstract Dungeon (FR base)/Abstract.JPG differ diff --git a/Abstract Dungeon (FR base)/Abstract_CSS.css b/Abstract Dungeon (FR base)/Abstract_CSS.css index c0ef4e69cb..f34d66ff7a 100644 --- a/Abstract Dungeon (FR base)/Abstract_CSS.css +++ b/Abstract Dungeon (FR base)/Abstract_CSS.css @@ -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; } \ No newline at end of file diff --git a/Abstract Dungeon (FR base)/Abstract_HTML.html b/Abstract Dungeon (FR base)/Abstract_HTML.html index eaf915815a..a7ca6c3c6b 100644 --- a/Abstract Dungeon (FR base)/Abstract_HTML.html +++ b/Abstract Dungeon (FR base)/Abstract_HTML.html @@ -2,117 +2,166 @@
-

Abstract Dungeon

-
- Nom : - - Niveau : - - XP : - - Restauration : - - Combien de dés? -
-
-
-
-

+

Abstract Donjon

+ +
+
+ Nom : + + Niveau : + + XP : + +
+
+
-
-
- - - -
-
-
- -
-
-

-
-
-
- - - -
-
-
- -
-
-

Traits :

-
-
- - - - +

+
+
+
+ + + +
-
-
-

Equipement :

-
-
- - - - +
+ +
+
+

+
+
+
+ + + +
+
+
+ +
+
+

+
+
+ + + + + +
+
+
+
+

+
+
+ + + + + +
+
+
+
+ +
+
+

+
+
+
+ + + + +
+
+
+ +
+
+

+
+
+
+ + + + +
+
+
+ +
+
+

+
+
+ + + + + +
+
+
+
+

Bonus

+
+
+ + + + +
+
- -
+
+
+
+ +
-

-
-
-
- - - -
-
-
- + Nom : + + D
-
-

-
-
-
- - - -
-
-
- -
-
-

Trésors :

-
-
- - - - -
-
-
-
-

Bonus :

-
-
- - - +
+
+
+ Attaques :
-
+
+ +
+
+ Résistances : +
+
+ +
+
+
+
+ Spécial : +
+
+ +
+
+ Vulnérabilités : +
+
+ +
+
@@ -133,17 +182,31 @@
+
+

Nom des réserves secondaires

+ + + +
+ +
+

{{name}}

+
Opposition : {{dice}}D
+
Attaques : {{attack}}
+
Résistances : {{resistance}}
+
Vulnérabilités : {{vulnerability}}
+
Spécial : {{special}}
+
Résultat : [Lancer les dés](~{{name}}|dice)
+
+
- \ No newline at end of file + +
{{name}} obtient {{dice}} ({{dice_type}})
+
\ No newline at end of file diff --git a/Abstract Dungeon (FR base)/sheet.json b/Abstract Dungeon (FR base)/sheet.json index a027ce1788..40a65188ec 100644 --- a/Abstract Dungeon (FR base)/sheet.json +++ b/Abstract Dungeon (FR base)/sheet.json @@ -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" + } + ] } \ No newline at end of file diff --git a/Abstract Dungeon (FR base)/translation.json b/Abstract Dungeon (FR base)/translation.json index 941a34dd18..9714224064 100644 --- a/Abstract Dungeon (FR base)/translation.json +++ b/Abstract Dungeon (FR base)/translation.json @@ -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 :" } \ No newline at end of file