From a064e5e258b642dfbd19e366d0ed06b2311cdaa3 Mon Sep 17 00:00:00 2001 From: Stexinator Date: Mon, 13 Feb 2023 22:00:46 +0100 Subject: [PATCH] [SalvageUnion] add push and reactor overload --- SalvageUnion/SalvageUnion.css | 31 ++++++ SalvageUnion/SalvageUnion.html | 178 ++++++++++++++++++++++++++++++++- 2 files changed, 205 insertions(+), 4 deletions(-) diff --git a/SalvageUnion/SalvageUnion.css b/SalvageUnion/SalvageUnion.css index 9e364f64d7..7fe7d74fdb 100644 --- a/SalvageUnion/SalvageUnion.css +++ b/SalvageUnion/SalvageUnion.css @@ -74,6 +74,17 @@ input[type="checkbox"] { display: flex; } +.textbutton { + background: none; + border: none; + font-weight: bold; + font-size: 1.2em; + float: none; + text-align: left; + flex-basis: 100%; + align-self: baseline; +} + .checkboxSpacer { margin-right: 7%; } @@ -127,6 +138,7 @@ label.settings-checkbox { .sheet-rolltemplate-roll table, +.sheet-rolltemplate-overload table, .sheet-rolltemplate-weapon table{ background-color:antiquewhite; border:1px solid #c1875d; @@ -137,6 +149,7 @@ label.settings-checkbox { } .sheet-rolltemplate-roll table th, +.sheet-rolltemplate-overload table th, .sheet-rolltemplate-weapon table th{ background-color:antiquewhite; text-align:center; @@ -145,11 +158,13 @@ label.settings-checkbox { } .sheet-rolltemplate-roll table td, +.sheet-rolltemplate-overload table td, .sheet-rolltemplate-weapon table td{ padding: 2px; } .sheet-rolltemplate-roll table .inlinerollresult, +.sheet-rolltemplate-overload table .inlinerollresult, .sheet-rolltemplate-weapon table .inlinerollresult{ border:none !important; background-color:inherit; @@ -162,4 +177,20 @@ label.settings-checkbox { vertical-align:top; margin:-1px -3px 0px -3px; padding:1px; +} + +.sheet-rolltemplate-button-row { + display: flex; + margin-top: -3px; + justify-content: center; + align-content: center; +} + +.sheet-rolltemplate-button a[href^="~"]{ + text-align: center; + border-radius: 30px; + color: #eebb99; + background-color: black; + padding-left: 10px; + padding-right: 10px; } \ No newline at end of file diff --git a/SalvageUnion/SalvageUnion.html b/SalvageUnion/SalvageUnion.html index d71f60d341..f95ead70c6 100644 --- a/SalvageUnion/SalvageUnion.html +++ b/SalvageUnion/SalvageUnion.html @@ -175,7 +175,7 @@

Mech - +

@@ -214,8 +214,8 @@
- - + +
@@ -234,7 +234,7 @@ - @@ -433,6 +433,13 @@
+ + + @@ -482,6 +560,7 @@ {{/rollBetween() roll 1 1}} + {{#damage}}
@@ -492,7 +571,33 @@ Weapondamage: {{damage}} + {{/damage}} + {{#heat}} + + +
+ + + + + Heat Check: {{heat}} vs {{heatroll}} + + + {{/heat}} + {{#mech}} +
+
+ [Push](~{{callsign}}|reactPushWeapon) +
+ + {{#^rollGreater() heatroll heat}} +
+ [Reactor Overload](~{{callsign}}|reactOverload) +
+ {{/^rollGreater() heatroll heat}} +
+ {{/mech}}
@@ -531,5 +636,70 @@ {{/rollBetween() roll 1 1}} + {{#heat}} + + +
+ + + + + Heat Check: {{heat}} vs {{heatroll}} + + + {{/heat}} + + {{#mech}} +
+ +
+ [Push](~{{name}}|reactPush) +
+ + {{#^rollGreater() heatroll heat}} +
+ [Reactor Overload](~{{name}}|reactOverload) +
+ {{/^rollGreater() heatroll heat}} +
+ {{/mech}} +
+ + + + + + + + + + + +
+ {{name}} rolls +
+
+
+ {{#rollBetween() roll 20 20}} + Reactor Overdrive ({{roll}})
+ Your Mech’s reactor goes into overdrive. Your Mech can take any additional action this turn or Push their next roll within 10 minutes for free. + {{/rollBetween() roll 20 20}} + + {{#rollBetween() roll 11 19}} + Reactor Overheat ({{roll}}) - Your Mech’s reactor has overheated. Your Mech shuts down and gains the Vulnerable Trait. Your Mech will re-activate at the end of your next turn. In addition, your Mech takes {{heat}} of SP damage. + {{/rollBetween() roll 11 19}} + + {{#rollBetween() roll 6 10}} + Module Overload ({{roll}}) - One of your Mech’s Modules chosen at random or by the Mediator is destroyed. + {{/rollBetween() roll 6 10}} + + {{#rollBetween() roll 2 5}} + System Overload ({{roll}}) - One of your Mech’s Systems chosen at random or by the Mediator is destroyed. + {{/rollBetween() roll 2 5}} + + {{#rollBetween() roll 1 1}} + Reactor Overload ({{roll}}) - Your Mech’s reactor goes into full meltdown and explodes. Your Mech, as well as any mounted Systems, Modules, and all Cargo, is destroyed in the explosion. Everything in Close Range of your Mech takes {{maxheat}} SP damage. They may take any Turn Action or Reaction in response to try to avoid this. Your Pilot dies unless they have a means to escape. The area your Mech was in becomes irradiated. + {{/rollBetween() roll 1 1}} +
\ No newline at end of file