From a28b6719ecc329a7798dd4392a680283e2dc7efd Mon Sep 17 00:00:00 2001 From: Ian Merryweather Date: Mon, 22 Jul 2019 23:06:56 +0100 Subject: [PATCH] [Mekton Zeta] Additional roll templates (#5322) * Adds new Roll Templates for Mecha Weapons * Allows for creating a macro for rolling mecha weapon attacks in an easy to identify format * Minor issue resolution * Some skill rolls displayed incorrect text * Some attributes were mislabelled and the calculation was broken as a result * Syntax warnings concerning empty rulesets that are superseded by other rules --- Mekton Z/Mekton Zeta.css | 252 ++++++++++++++++++++---- Mekton Z/Mekton Zeta.html | 403 ++++++++++++++++++++++++-------------- 2 files changed, 470 insertions(+), 185 deletions(-) diff --git a/Mekton Z/Mekton Zeta.css b/Mekton Z/Mekton Zeta.css index 942b8dea3e..dea4735d84 100644 --- a/Mekton Z/Mekton Zeta.css +++ b/Mekton Z/Mekton Zeta.css @@ -570,8 +570,6 @@ input.sheet-arrow[type="checkbox"] + span::before font-family: "Pictos Three"; content: "c"; - width: 14px; - height: 14px; font-size: 1.5em; color:white; text-shadow: 0px 0px 3px blue, 0px 0px 3px blue, 0px 0px 3px blue; @@ -620,8 +618,6 @@ input.sheet-shield[type="checkbox"] + span::before font-family: "Pictos Custom"; content: "e"; - width: 14px; - height: 14px; font-size: 1.5em; color:white; text-shadow: 0px 0px 3px blue, 0px 0px 3px blue, 0px 0px 3px blue; @@ -673,8 +669,6 @@ input.sheet-shield_red[type="checkbox"] + span::before font-family: "Pictos Custom"; content: "e"; - width: 14px; - height: 14px; font-size: 1.5em; color:white; text-shadow: 0px 0px 3px black, 0px 0px 3px black, 0px 0px 3px black; @@ -724,8 +718,6 @@ input.sheet-bolt[type="checkbox"] + span::before font-family: "Pictos"; content: "Y"; - width: 14px; - height: 14px; font-size: 1.5em; color:white; text-shadow: 0px 0px 3px blue, 0px 0px 3px blue, 0px 0px 3px blue; @@ -835,9 +827,6 @@ input.sheet-bolt[type="checkbox"]:checked + span::before { color:black; } -.charsheet .sheet-hider input[type=checkbox]:checked ~ .sheet-btn { -} - .charsheet button[type="roll"] label, .charsheet button[type="roll"] input { height:24px; @@ -856,9 +845,6 @@ input.sheet-bolt[type="checkbox"]:checked + span::before { border-radius:50%; } -.charsheet button[type="roll"] input { -} - .charsheet button[type="roll"]:hover label, .charsheet button[type="roll"]:hover input { color: white; @@ -913,7 +899,33 @@ input.sheet-radio1[type="radio"]:checked + span::before { content: "3"; } input.sheet-radio1[type="radio"]:focus {outline:0;} -/*---- general ----*/ + +/*---- roll templates ----*/ +/*---- skill general ----*/ +.sheet-rolltemplate-skill-general .inlinerollresult { + display: inline-block; + min-width: 1.2em; + text-align: center; + border: 1px solid black; + background:transparent; +} + +.sheet-rolltemplate-skill-general .inlinerollresult.fullcrit { border: 1px solid black; } +.sheet-rolltemplate-skill-general .inlinerollresult.fullfail { border: 1px solid black; } +.sheet-rolltemplate-skill-general .inlinerollresult.importantroll { border: 1px solid black; } + +.sheet-rolltemplate-skill-general .sheet-no_border .inlinerollresult { + display: inline-block; + min-width: 1.5em; + border: 2px solid transparent; + background:transparent; + font-weight:400; +} +.sheet-rolltemplate-skill-general .sheet-tcat { + color: black; + font-weight:bold; +} + .sheet-rolltemplate-skill-general table { width: 100%; background: white; @@ -925,6 +937,11 @@ input.sheet-radio1[type="radio"]:focus {outline:0;} color: black; } +.sheet-rolltemplate-skill-general td { + padding: 0px; + text-align:center; +} + .sheet-rolltemplate-skill-general th { color: white; padding: 4px; @@ -939,16 +956,9 @@ input.sheet-radio1[type="radio"]:focus {outline:0;} box-shadow: inset 5px 0px 20px 0px black, inset -5px 0px 20px 0px black; } -.sheet-rolltemplate-skill-general .sheet-tcat { - font-weight: bold; -} - -.sheet-rolltemplate-skill-general td { - padding: 0px; - text-align:center; -} - -.sheet-rolltemplate-skill-general .inlinerollresult { +/*---- quick mecha weapon ----*/ +/*---- Happy to take input on how to avoid the duplication of these CSS rules! ----*/ +.sheet-rolltemplate-quick-mecha-weapon .inlinerollresult { display: inline-block; min-width: 1.2em; text-align: center; @@ -956,18 +966,194 @@ input.sheet-radio1[type="radio"]:focus {outline:0;} background:transparent; } -.sheet-rolltemplate-skill-general .inlinerollresult.fullfail { - border: 1px solid black; -} +.sheet-rolltemplate-quick-mecha-weapon .inlinerollresult.fullcrit { border: 1px solid black; } +.sheet-rolltemplate-quick-mecha-weapon .inlinerollresult.fullfail { border: 1px solid black; } +.sheet-rolltemplate-quick-mecha-weapon .inlinerollresult.importantroll { border: 1px solid black; } -.sheet-rolltemplate-skill-general .inlinerollresult.importantroll { - border: 1px solid black; -} - -.sheet-rolltemplate-skill-general .sheet-no_border .inlinerollresult { +.sheet-rolltemplate-quick-mecha-weapon .sheet-no_border .inlinerollresult { display: inline-block; min-width: 1.5em; border: 2px solid transparent; background:transparent; font-weight:400; } +.sheet-rolltemplate-quick-mecha-weapon .sheet-tcat { + color: black; + font-weight:bold; + text-align: right; + width: 50%; +} + +.sheet-rolltemplate-quick-mecha-weapon table { + width: 100%; + background: white; + border: 3px ridge gray; + color: black; + font-size: 0.9em; + font-family: "Contrail One", sans-serif; + box-shadow: -5px -5px 5px black; + color: black; +} + +.sheet-rolltemplate-quick-mecha-weapon td { + padding: 0px; + text-align:center; +} + +.sheet-rolltemplate-quick-mecha-weapon th { + color: white; + padding: 4px; + line-height: 1.4em; + font-size: 1.2em; + width: 100%; + height: 100%; + border-spacing: 0; + text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black; + + background: #B02F32; /* Old browsers */ + box-shadow: inset 5px 0px 20px 0px black, inset -5px 0px 20px 0px black; +} + +.sheet-rolltemplate-quick-mecha-weapon .sheet-description { + color:gray; + line-height:0.9em; + font-family:"Arial"; + font-size:0.8em; + font-weight:normal; + padding: 4px; + text-align:left; +} + +/*---- projectile mecha weapon ----*/ +.sheet-rolltemplate-projectile-mecha-weapon .inlinerollresult { + display: inline-block; + min-width: 1.2em; + text-align: center; + border: 1px solid black; + background:transparent; +} + +.sheet-rolltemplate-projectile-mecha-weapon .inlinerollresult.fullcrit { border: 1px solid black; } +.sheet-rolltemplate-projectile-mecha-weapon .inlinerollresult.fullfail { border: 1px solid black; } +.sheet-rolltemplate-projectile-mecha-weapon .inlinerollresult.importantroll { border: 1px solid black; } + +.sheet-rolltemplate-projectile-mecha-weapon .sheet-no_border .inlinerollresult { + display: inline-block; + min-width: 1.5em; + border: 2px solid transparent; + background:transparent; + font-weight:400; +} +.sheet-rolltemplate-projectile-mecha-weapon .sheet-tcat { + color: black; + font-weight:bold; + text-align: right; + width: 50%; +} + +.sheet-rolltemplate-projectile-mecha-weapon table { + width: 100%; + background: white; + border: 3px ridge gray; + color: black; + font-size: 0.9em; + font-family: "Contrail One", sans-serif; + box-shadow: -5px -5px 5px black; + color: black; +} + +.sheet-rolltemplate-projectile-mecha-weapon td { + padding: 0px; + text-align:center; +} + +.sheet-rolltemplate-projectile-mecha-weapon th { + color: white; + padding: 4px; + line-height: 1.4em; + font-size: 1.2em; + width: 100%; + height: 100%; + border-spacing: 0; + text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black; + + background: #B02F32; /* Old browsers */ + box-shadow: inset 5px 0px 20px 0px black, inset -5px 0px 20px 0px black; +} + +.sheet-rolltemplate-projectile-mecha-weapon .sheet-description { + color:gray; + line-height:0.9em; + font-family:"Arial"; + font-size:0.8em; + font-weight:normal; + padding: 4px; + text-align:left; +} + +/*---- melee mecha weapon ----*/ +.sheet-rolltemplate-melee-mecha-weapon .inlinerollresult { + display: inline-block; + min-width: 1.2em; + text-align: center; + border: 1px solid black; + background:transparent; +} + +.sheet-rolltemplate-melee-mecha-weapon .inlinerollresult.fullcrit { border: 1px solid black; } +.sheet-rolltemplate-melee-mecha-weapon .inlinerollresult.fullfail { border: 1px solid black; } +.sheet-rolltemplate-melee-mecha-weapon .inlinerollresult.importantroll { border: 1px solid black; } + +.sheet-rolltemplate-melee-mecha-weapon .sheet-no_border .inlinerollresult { + display: inline-block; + min-width: 1.5em; + border: 2px solid transparent; + background:transparent; + font-weight:400; +} +.sheet-rolltemplate-melee-mecha-weapon .sheet-tcat { + color: black; + font-weight:bold; + text-align: right; + width: 50%; +} + +.sheet-rolltemplate-melee-mecha-weapon table { + width: 100%; + background: white; + border: 3px ridge gray; + color: black; + font-size: 0.9em; + font-family: "Contrail One", sans-serif; + box-shadow: -5px -5px 5px black; + color: black; +} + +.sheet-rolltemplate-melee-mecha-weapon td { + padding: 0px; + text-align:center; +} + +.sheet-rolltemplate-melee-mecha-weapon th { + color: white; + padding: 4px; + line-height: 1.4em; + font-size: 1.2em; + width: 100%; + height: 100%; + border-spacing: 0; + text-shadow: 0px 0px 5px black, 0px 0px 5px black, 0px 0px 5px black; + + background: #B02F32; /* Old browsers */ + box-shadow: inset 5px 0px 20px 0px black, inset -5px 0px 20px 0px black; +} + +.sheet-rolltemplate-melee-mecha-weapon .sheet-description { + color:gray; + line-height:0.9em; + font-family:"Arial"; + font-size:0.8em; + font-weight:normal; + padding: 4px; + text-align:left; +} diff --git a/Mekton Z/Mekton Zeta.html b/Mekton Z/Mekton Zeta.html index 0b5ce626dc..b5f58d5f81 100644 --- a/Mekton Z/Mekton Zeta.html +++ b/Mekton Z/Mekton Zeta.html @@ -380,9 +380,9 @@ Total - - Endurance - @@ -396,7 +396,7 @@ - + @@ -684,9 +684,9 @@ Total - - Awreness/Notice - @@ -698,9 +698,9 @@ - - - + + + @@ -836,7 +836,7 @@ - + Programming - + Shadowing/Avoid Pursuit - + Strategy - + Survival - + Tactics - + Teaching + - + Jury Rig - - Photgraphy & Film - @@ -1610,9 +1610,9 @@ - - - + + + @@ -3718,7 +3718,6 @@ - @@ -3809,94 +3808,94 @@ CP - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -3919,77 +3918,75 @@ - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + - - @@ -4168,7 +4165,7 @@
- + @@ -4179,7 +4176,7 @@ - + @@ -4195,4 +4192,106 @@
Range{{range}}meters{{range}} meters
Attack:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{desc}} + +
{{weapon}}
{{character}} fires the {{weapon}}
Attack:{{attack}}
Hit Location:{{hit-location}}
Range:{{range}} meters
Damage:{{damage}} Kills
Burst Value:{{bv}}
Ammo Type:{{ammo}}
Firing Mode:{{target}}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + {{desc}} + +
{{weapon}}
{{character}} attacks with the {{weapon}}
Attack:{{attack}}
Hit Location:{{hit-location}}
Damage:{{damage}} Kills
Armour-Piercing:{{ap}} SP
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{weapon}}
{{character}} attacks with the {{weapon}}
Attacks:{{attack-1}}{{attack-2}}
Hit Locations:{{hit-location-1}}{{hit-location-2}}
Damage:{{damage}} Kills
Armour-Piercing:{{ap}} SP
{{desc}}
+