diff --git a/Pork Mort/porkmort.css b/Pork Mort/porkmort_v2.css similarity index 100% rename from Pork Mort/porkmort.css rename to Pork Mort/porkmort_v2.css diff --git a/Pork Mort/porkmort.html b/Pork Mort/porkmort_v2.html similarity index 79% rename from Pork Mort/porkmort.html rename to Pork Mort/porkmort_v2.html index 3b8f2be4ccdc..d44a957c0f4f 100644 --- a/Pork Mort/porkmort.html +++ b/Pork Mort/porkmort_v2.html @@ -18,11 +18,11 @@
- STR + STR
-
@@ -33,11 +33,11 @@
- TOU + TOU
-
@@ -48,11 +48,11 @@
- AGI + AGI
-
@@ -63,11 +63,11 @@
- MIN + MIN
-
@@ -79,27 +79,27 @@
- DIFICULTY + DIFFICULTY
- ROLLING... + ROLLING...
+ 40px 0px 0px; float: right!important;" name="roll_instinto" value="@{tirada_secreta} &{template:porkmortdados} {{title= @{labelrollthedice}}} {{subtitle= @{character_name} }} {{tiradados= @{lanzardados} }} {{rollResult= [[@{lanzardados}]]}}" class="sheet-VJBTN" >
@@ -136,7 +136,7 @@
-
Name:
+
Name:
@@ -196,7 +196,7 @@
- The legend path + The legend path
@@ -204,7 +204,7 @@
- Perform your secret rolls, just for the DJ. + Perform your secret rolls, just for the GM.
@@ -252,11 +252,11 @@
- - - - - + + + + +
@@ -267,16 +267,16 @@
-
Personality
+
Personality
-
Appearance
+
Appearance
-
Bad habit
+
Bad habit
-
Recent memory
+
Recent memory
@@ -290,7 +290,7 @@
-
Background
+
Background
@@ -299,7 +299,7 @@ -
Notes
+
Notes
@@ -310,26 +310,26 @@
- +
-
Iniciative
+
Iniciative
-
-
@@ -337,62 +337,61 @@
-
Creatures
+
Creatures
-
-
+ - - -
Defense
+
Defense
-
-
Rest
+
Rest
-
- +
-
Weapons
+
Weapons
- @@ -432,11 +431,11 @@
-
Shield:
+
Shield:
-
No
+
No
-
Yes
+
Yes
@@ -454,7 +453,7 @@
-
Class
+
Class
@@ -471,15 +470,15 @@
@@ -501,7 +500,7 @@
-
Objects
+
Objects
@@ -526,7 +525,7 @@
-
Siurells
+
Siurells
@@ -538,7 +537,7 @@
-
Allies / Animals
+
Allies / Animals
@@ -568,7 +567,7 @@
-
Magia blanca:
+
White scroll
@@ -595,7 +594,7 @@
-
Magia negra:
+
Black Scroll
@@ -620,7 +619,7 @@
- +
@@ -639,7 +638,42 @@
- + + + + + + + + + + + + + + + + + + +
+ STRENGTH TEST + TOUGTH TEST + AGILITY TEST + MINT TEST + ROLL THE DICE + INICIATIVE + OF THE GROUP + BEHAVIOR + OF THE CREATURE + MORAL + FROM THE ENEMY + DODGE + ARMOR PROTECTION + BRIEF REST + NIGHT REST +
+ @@ -654,35 +688,35 @@
{{#dificultad}}
- Dificultad: {{dificultad}} + Difficulty: {{dificultad}}
{{/dificultad}} {{#rollResult}}
- Resultado: {{rollResult}} + Result: {{rollResult}}
{{/rollResult}} {{#rollLess() rollResult dificultad}}
- FALLO! + YOU HAVE FAILED
{{/rollLess() rollResult dificultad}} {{#rollGreater() rollResult dificultad}}
- ÉXITO! + SUCCESS!
{{#damage}} -
{{damage}}
+
Damage:{{damage}}
{{/damage}} {{/rollGreater() rollResult dificultad}} {{#rollTotal() rollResult dificultad}}
- ÉXITO! POR LOS PELOS! + LUCKY SUCCESS!
{{#damage}}
{{damage}}
@@ -708,27 +742,27 @@
{{#dificultad}}
- Dificultad: {{dificultad}} + Difficulty: {{dificultad}}
{{/dificultad}} {{#rollResult}}
- Resultado: {{rollResult}} + Result: {{rollResult}}
{{/rollResult}}
{{#rollLess() rollResult dificultad}} - FALLO! + YOU HAVE FAILED {{/rollLess() rollResult dificultad}} {{#rollGreater() rollResult dificultad}} - ÉXITO! + SUCCESS! {{/rollGreater() rollResult dificultad}} {{#rollTotal() rollResult dificultad}} - ÉXITO! POR LOS PELOS! + LUCKY SUCCESS! {{/rollTotal() rollResult dificultad}}
@@ -747,30 +781,30 @@
- {{#tiradados}}
Lanza {{tiradados}}
{{/tiradados}} - {{#rollResult}}
Resultado: {{rollResult}}
{{/rollResult}} + {{#tiradados}}
Roll{{tiradados}}
{{/tiradados}} + {{#rollResult}}
Result: {{rollResult}}
{{/rollResult}} {{#rollBetween() rollResult 1 3}} - {{#moral}}
El enemigo huye{{moral}}
{{/moral}} + {{#moral}}
The enemy flee{{moral}}
{{/moral}} {{/rollBetween() rollResult 1 3}} {{#rollBetween() rollResult 4 6}} - {{#moral}}
El enemigo se rinde{{moral}}
{{/moral}} + {{#moral}}
The enemy surrenders{{moral}}
{{/moral}} {{/rollBetween() rollResult 4 6}} {{#rollBetween() rollResult 2 3}} - {{#comportamiento}}
¡MUERTE!{{comportamiento}}
{{/comportamiento}} + {{#comportamiento}}
DEATH!{{comportamiento}}
{{/comportamiento}} {{/rollBetween() rollResult 2 3}} {{#rollBetween() rollResult 4 6}} - {{#comportamiento}}
ENFADADO{{comportamiento}}
{{/comportamiento}} + {{#comportamiento}}
ANGRY{{comportamiento}}
{{/comportamiento}} {{/rollBetween() rollResult 4 6}} {{#rollBetween() rollResult 7 8}} - {{#comportamiento}}
INDIFERENTE{{comportamiento}}
{{/comportamiento}} + {{#comportamiento}}
INDIFFERENT!{{comportamiento}}
{{/comportamiento}} {{/rollBetween() rollResult 7 8}} {{#rollBetween() rollResult 9 10}} - {{#comportamiento}}
AMIGABLE{{comportamiento}}
{{/comportamiento}} + {{#comportamiento}}
FRIENDLY{{comportamiento}}
{{/comportamiento}} {{/rollBetween() rollResult 9 10}} {{#rollBetween() rollResult 11 12}} - {{#comportamiento}}
ALIADO{{comportamiento}}
{{/comportamiento}} + {{#comportamiento}}
ALLIED{{comportamiento}}
{{/comportamiento}} {{/rollBetween() rollResult 11 12}} @@ -886,5 +920,27 @@ }); }); - + +on('sheet:opened', function () { + setAttrs({ + ['labelstrtest']: getTranslationByKey('labelstrtest'), + ['labeltoutest']: getTranslationByKey('labeltoutest'), + ['labelagitest']: getTranslationByKey('labelagitest'), + ['labelmintest']: getTranslationByKey('labelmintest'), + ['labelrollthedice']: getTranslationByKey('labelrollthedice'), + ['labeliniciative']: getTranslationByKey('labeliniciative'), + ['labelgroup']: getTranslationByKey('labelgroup'), + ['labelbehavior']: getTranslationByKey('labelbehavior'), + ['labelcreature']: getTranslationByKey('labelcreature'), + ['labelmoral']: getTranslationByKey('labelmoral'), + ['labelfromtheenemy']: getTranslationByKey('labelfromtheenemy'), + ['labeldodge']: getTranslationByKey('labeldodge'), + ['labelarmorprotection']: getTranslationByKey('labelarmorprotection'), + ['labelbriefrest']: getTranslationByKey('labelbriefrest'), + ['labelnightofrest']: getTranslationByKey('labelnightofrest') + + }); +}); + + \ No newline at end of file diff --git a/Pork Mort/sheet.json b/Pork Mort/sheet.json index 8be996ddcaf9..046faa8a3f82 100644 --- a/Pork Mort/sheet.json +++ b/Pork Mort/sheet.json @@ -1,6 +1,6 @@ { - "html": "porkmort.html", - "css": "porkmort.css", + "html": "porkmort_v2.html", + "css": "porkmort_v2.css", "authors": "VJ Rolmasters", "roll20userid": "7647363", "preview": "porkmort.png", diff --git a/Pork Mort/translations/translation.json b/Pork Mort/translations/translation.json new file mode 100644 index 000000000000..f13c36e8b758 --- /dev/null +++ b/Pork Mort/translations/translation.json @@ -0,0 +1,99 @@ +{ + "str-u": "STR", + "tou-u": "TOU", + "agi-u": "AGI", + "min-u": "MIN", + "dificulty-u": "DIFFICULTY", + "6-very-easy-u": "6: VERY EASY", + "8-routine-u": "8: ROUTINE", + "10-pay-attention-u": "10: PAY ATTENTION", + "12-medium-difficulty-u": "12: MEDIUM DIFFICULTY", + "14-difficult-u": "14: DIFFICULT", + "16-very-difficult-u": "16: VERY DIFFICULT", + "18-almost-impossible-u": "18: ALMOST IMPOSSIBLE", + "rolling-u": "ROLLING...", + "personal-demon-u": "Personal Demon", + "name-u": "Name", + "the-legend-path-u": "The legend path", + "perform-your-secret-rolls-just-for-the-gm-u": "Perform your secret rolls, just for the GM.", + "about-you-u": "ABOUT YOU", + "combat-u": "COMBAT", + "class-u": "CLASS", + "items-u": "ITEMS", + "scrolls-u": "SCROLLS", + "personality-u": "Personality", + "appearance-u": "Appearance", + "bad-habit-u": "Bad habit", + "recent-memory-u": "Recent Memory", + "background-u": "Background", + "notes-u": "Notes", + "iniciative-u": "Iniciative", + "individual-u": "INDIVIDUAL (AGI + 1D6)", + "grup-u": "GRUP", + "enemies-u": "Enemies", + "players-u": "Players", + "creatures-u": "Creatures", + "behavior-u": "BEHAVIOR", + "moral-u": "MORAL", + "defense-u": "Defense", + "dodge-u": "DODGE", + "rest-u": "Rest", + "brief-u": "BRIEF", + "nights-sleep-u": "NIGHT'S SLEEP", + "weapons-u": "Weapons", + "str-hand-to-hand-u": "STR: Hand to hand", + "min-distance-weapon-u": "MIN: Distance weapon", + "armor-and-shield-u": "Armor and Shield", + "shield-u": "Shield", + "no-u": "No", + "yes-u": "Yes", + "class-b-u": "Class", + "ba-le-yaroh-u": "Ba'lé Yaroh", + "onso-u": "Onso", + "pompous-knight-u": "Pompous Knight", + "cunning-hunchback-u": "Cunnig Hunchback", + "misterious-witch-u": "Misterious Witch", + "sage-u": "Sage", + "peasant-u": "Peasant", + "porko-u": "Porko", + "other-u": "Other", + "objects-u": "Objects", + "siurells-u": "Siurells", + "allies-u": "Allies", + "animals-u": "Animals", + "white-scroll-u": "White Scroll", + "black-scroll-u": "Black Scroll", + "character-generator-u": "CHARACTER GENERATOR", + "you-have-failed-u": "YOU HAVE FAILED!", + "success-u": "SUCCESS!", + "lucky-success-u": "LUCKY SUCCESS!", + "damage-u": "Damage:", + "roll-u": "Roll", + "result-u": "Result", + "difficulty-b-u": "Difficulty", + "flee-u": "The enemy flee", + "surrender-u": "The enemy surrenders", + "death-u": "DEATH!", + "angry-u": "ANGRY", + "indifferent-u": "INDIFFERENT", + "friendly-u": "FRIENDLY", + "allied-u": "ALLIED", + "labelstrtest": "STRENGTH TEST", + "labeltoutest": "TOUGHNESS TEST", + "labelagitest": "AGILITY TEST", + "labelmintest": "MINT TEST", + "labelrollthedice": "ROLL THE DICE", + "labeliniciative": "INICIATIVE", + "labelgroup": "OF THE GROUP", + "labelbehavior": "BEHAVIOR TEST", + "labelcreature": "OF THE CREATURE", + "labelmoral": "MORAL TEST", + "labelfromtheenemy": "FROM THE ENEMY", + "labeldodge": "DODGE", + "labelarmorprotection": "ARMOR PROTECTION", + "labelbriefrest": "BRIEF REST", + "labelnightofrest": "NIGHT REST" + + + +}