diff --git a/Tiny D6 Games/Tiny-D6-Games.css b/Tiny D6 Games/Tiny-D6-Games.css index 2245ff5adb..134c9a711c 100644 --- a/Tiny D6 Games/Tiny-D6-Games.css +++ b/Tiny D6 Games/Tiny-D6-Games.css @@ -13,6 +13,12 @@ border: 1px Dotted #f2f2f2; } +.sheet-weapons-proficiency { + display: flex; + flex-direction: row; + justify-content: space-between; +} + .sheet-contains-two-columns { grid-template-columns: 50% auto; } @@ -90,7 +96,7 @@ input.sheet-input-shorter { } input.sheet-input-length-alpha { - width: calc(100% - 100px); + width: calc(100% - 110px); } input.sheet-input-length-beta { @@ -302,7 +308,7 @@ input.sheet-inventory-box { } input.sheet-inventory-box + span::before { - content: "Empty"; + content: attr(title); color: #cccccc; border: solid 1px #f2f2f2; border-radius: 10px; @@ -318,12 +324,83 @@ input.sheet-inventory-box + span::before { } input.sheet-inventory-box:checked + span::before { - content: attr(title); color: #ffffff; background: rgba(70, 130, 180, 0.4); /* SteelBlue 40% Opacity*/ border: solid 1px #ffffff; } +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-I::before { + content: 'I'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-II::before { + content: 'II'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-III::before { + content: 'III'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-IV::before { + content: 'IV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-V::before { + content: 'V'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VI::before { + content: 'VI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VII::before { + content: 'VII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-VIII::before { + content: 'VIII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-IX::before { + content: 'IX'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-X::before { + content: 'X'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XI::before { + content: 'XI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XII::before { + content: 'XII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XIII::before { + content: 'XIII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XIV::before { + content: 'XIV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XV::before { + content: 'XV'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVI::before { + content: 'XVI'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVII::before { + content: 'XVII'; +} + +input.sheet-inventory-box:checked + span.sheet-invetory-box-content-XVIII::before { + content: 'XVIII'; +} + input.sheet-modifier-box { width: 14px; height: 14px; diff --git a/Tiny D6 Games/Tiny-D6-Games.html b/Tiny D6 Games/Tiny-D6-Games.html index 36fd5fbc2e..5e8e3b5b8f 100644 --- a/Tiny D6 Games/Tiny-D6-Games.html +++ b/Tiny D6 Games/Tiny-D6-Games.html @@ -2,367 +2,514 @@
-
-
- -
-
- Tiny Dungeon Character Sheet -
+
+ +
+ +
+
+ Tiny Dungeon Character Sheet +
-
- Tiny Frontiers Revised -
+
+ Tiny Frontiers Revised +
- Character + Character
-
- Name: - -
-
- Heritage: - -
+
+ Name: + +
+
+ Heritage: + +
-
- -
-
- People: - -
-
- Homeland: - -
+
+ + +
+
+ People: + +
+
+ Homeland: + +
-
- Home Planet: - -
+
+ Home Planet: + +
-
- -
-
- Age: - -
-
- Eyes: - -
-
- Hair: - -
+
+ + +
+
+ Age: + +
+
+ Eyes: + +
+
+ Hair: + +
-
- Age: - -
-
- Gender: - -
-
- Appearance: - -
+
+ Age: + +
+
+ Gender: + +
+
+ Appearance: + +
Family Trade: - +
Belief: - +
- Traits + Traits
-
- +
+
- - -
+ + +
- Inventory Bags + Inventory Bags
-
- - - +
+ + +
- - - + + +
- - - + + +
- - - + + +
- - - + + +
- - - + + +
-
-
- Roll Buttons +
+ +
+ Roll Buttons
- - - - + + + +
- Roll Modifiers + Roll Modifiers
-
- Focus - -
-
- Initiative Modifier -
-
- Marksmanship - -
-
- Disadvantage - - Normal - - Advantage - -
+
+ Focus + +
+
+ Initiative Modifier +
+
+ Marksmanship + +
+
+ Disadvantage + + Normal + + Advantage + +
- Heritage + Heritage
-
- +
+
- - -
-
+ + +
+
- Experience + Experience
-
- Total: - -
-
- Spent: - -
-
- Remaining: - -
+
+ Total: + +
+
+ Spent: + +
+
+ Remaining: + +
-
- Health - - of - -
+
+ Health + + of + +
-
- - - - - - - - - - - - - - - - -
+
+ + + + + + + + + + + + + + + + +
- Weapon Proficiencies + Weapon Proficiencies
-
- -
-
- Light: - - Heavy: - - Ranged: - - Unarmed: - - Improvised: - -
+
+ + +
+
+
+ Light: + +
+
+ Heavy: + +
+ +
+ Ranged: + +
+
+ Unarmed: + +
+
+ Improvised: + +
+
-
- Light Melee: - - Heavy Melee: - - Light Range: - - Heavy Range: - -
+
+
+ Light Melee: + +
+
+ Heavy Melee: + +
+
+ Light Range: + +
+
+ Heavy Range: + +
+
Mastered Weapons:
- +
- Equipped Items + Equipped Items
- Weilding + Weilding
-
-
+
+
- +
- - - - - -
+ + + + + +
- Depletion: - + Depletion: +
-
-
-
+
+
+
- +
- - - - -
+ + + + +
- Depletion: - + Depletion: +
-
-
- Wearing +
+
+ Wearing
- +
- Armor: - + Armor: +
- Depletion: - + Depletion: +
- Inventory + Inventory
- +
Slots: - - - + + +
- Depletion: - + Depletion: +
-
- - +
+ +
+ +
+ Disadvantage Test + Advantage Test + Standard Test +
+
@@ -375,14 +522,10 @@ {{roll-name}}
{{#rollTotal() focus 1}} -
- Focus -
+
Focus
{{/rollTotal() focus 1}} {{#rollTotal() marksmanship 1}} -
- Marksmanship -
+
Marksmanship
{{/rollTotal() marksmanship 1}} {{#standard-roll-one}}
@@ -506,6 +649,18 @@ }); }); + /*config Roll Queries translations */ + on("sheet:opened", function(eventInfo){ + + setAttrs({ + disadvantage_test: getTranslationByKey("disadvantage-test"), + advantage_test: getTranslationByKey("advantage-test"), + standard_test: getTranslationByKey("standard-test"), + initiative: getTranslationByKey("initiative") + }); + + }); + // CALCULATE STRESS - HEALTH - VALUE FROM CHECKBOXES OR ATTRIBUTE const variableAttributes = ["stress", "health"]; variableAttributes.forEach(function (variableAttribute) { @@ -537,4 +692,4 @@ }); }); }); - + \ No newline at end of file diff --git a/Tiny D6 Games/translation.json b/Tiny D6 Games/translation.json index e79f051ad4..caca3f2057 100644 --- a/Tiny D6 Games/translation.json +++ b/Tiny D6 Games/translation.json @@ -1 +1,66 @@ -{"character":"Character","name":"Name","heritage":"Heritage","people":"People","homeland":"Homeland","home-planet":"Home Planet","age":"Age","eyes":"Eyes","hair":"Hair","gender":"Gender","appearance":"Appearance","family-trade":"Family Trade","belief":"Belief","traits":"Traits","trait-name":"Trait Name","trait-description...":"Trait Description...","inventory-bags":"Inventory Bags","roll-buttons":"Roll Buttons","roll-modifiers":"Roll Modifiers","focus":"Focus","initiative-modifier":"Initiative Modifier","marksmanship":"Marksmanship","disadvantage":"Disadvantage","normal":"Normal","advantage":"Advantage","heritage-trait-name":"Heritage Trait Name","heritage-trait-description...":"Heritage Trait Description...","experience":"Experience","total":"Total","spent":"Spent","remaining":"Remaining","health":"Health","weapon-proficiences":"Weapon Proficiencies","light":"Light","heavy":"Heavy","ranged":"Ranged","unarmed":"Unarmed","improvised":"Improvised","light-melee":"Light Melee","heavy-melee":"Heavy Melee","light-range":"Light Range","heavy-range":"Heavy Range","mastered-weapons":"Mastered Weapons","list-of-weapons...":"List of Weapons...","equipped-items":"Equipped Items","item-name":"Item Name","inventory":"Inventory","depletion":"Depletion","weilding":"Weilding","wearing":"Wearing","armor-name":"Armor Name","armor":"Armor","slots":"Slots"} +{ + "character": "Character", + "name": "Name", + "heritage": "Heritage", + "people": "People", + "homeland": "Homeland", + "home-planet": "Home Planet", + "age": "Age", + "eyes": "Eyes", + "hair": "Hair", + "gender": "Gender", + "appearance": "Appearance", + "family-trade": "Family Trade", + "belief": "Belief", + "traits": "Traits", + "trait-name": "Trait Name", + "trait-description...": "Trait Description...", + "inventory-bags": "Inventory Bags", + "roll-buttons": "Roll Buttons", + "roll-modifiers": "Roll Modifiers", + "focus": "Focus", + "initiative-modifier": "Initiative Modifier", + "marksmanship": "Marksmanship", + "disadvantage": "Disadvantage", + "normal": "Normal", + "advantage": "Advantage", + "heritage-trait-name": "Heritage Trait Name", + "heritage-trait-description...": "Heritage Trait Description...", + "experience": "Experience", + "total": "Total", + "spent": "Spent", + "remaining": "Remaining", + "health": "Health", + "weapon-proficiences": "Weapon Proficiencies", + "light": "Light", + "heavy": "Heavy", + "ranged": "Ranged", + "unarmed": "Unarmed", + "improvised": "Improvised", + "light-melee": "Light Melee", + "heavy-melee": "Heavy Melee", + "light-range": "Light Range", + "heavy-range": "Heavy Range", + "mastered-weapons": "Mastered Weapons", + "list-of-weapons...": "List of Weapons...", + "equipped-items": "Equipped Items", + "item-name": "Item Name", + "inventory": "Inventory", + "depletion": "Depletion", + "weilding": "Weilding", + "wearing": "Wearing", + "armor-name": "Armor Name", + "armor": "Armor", + "slots": "Slots", + "test": "Test", + "initiative": "Initiative", + "disadvantage-test": "Disadvantage Test", + "advantage-test": "Advantage Test", + "standard-test": "Standard Test", + "empty": "Empty", + "L": "L", + "H": "H", + "R": "R", + "U": "U", + "I": "I" +} \ No newline at end of file