From: Mischa POSLAWSKY Date: Mon, 15 Jun 2015 22:55:58 +0000 (+0200) Subject: sc: common icon for cliff walking X-Git-Tag: v1.8~149 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/8b42a2ae56db77061abf010b054212ab615e1875 sc: common icon for cliff walking --- diff --git a/sc-units-hots.inc.pl b/sc-units-hots.inc.pl index b6e7048..42707e7 100644 --- a/sc-units-hots.inc.pl +++ b/sc-units-hots.inc.pl @@ -544,6 +544,7 @@ use strict; armored => 1, mech => 1, massive => 1, + jump => 'Cliff Walk', }, attack => { ground => { @@ -557,14 +558,6 @@ use strict; }, speed => 2.25, sight => 10, - special => [ - { - name => 'Cliff Walk', - abbr => 'cw', - desc => 'can walk up and down cliffs', - duration => -1, - }, - ], upgrade => [ { name => 'Extended Thermal Lance', @@ -1192,6 +1185,7 @@ use strict; attr => { light => 1, organic => 1, + jump => 'Jet Pack', }, attack => { ground => { @@ -1205,15 +1199,11 @@ use strict; speed => 3.75, sight => 9, special => [ - { - name => 'Jet Pack', - abbr => 'jp', - desc => 'jump up and down cliffs', - }, { name => 'Combat Drugs', abbr => 'cd', desc => 'heal 2 HP per second after 10 seconds out of combat', + duration => -1, }, ], }, diff --git a/sc.css b/sc.css index 0b83d6b..95f53a3 100644 --- a/sc.css +++ b/sc.css @@ -57,6 +57,7 @@ table h2 { color: #C66; } td .unit-massive, +td .unit-jump, .hurt .unit-splash { position: absolute; } @@ -77,6 +78,10 @@ td .unit-massive, font-size: 70%; vertical-align: super; } +.unit-jump { + margin-left: -.2em; + color: #8A4; +} .unit-magic { padding-left: 0.5em; } diff --git a/sc.plp b/sc.plp index 7f927ca..9a3d822 100644 --- a/sc.plp +++ b/sc.plp @@ -246,6 +246,8 @@ sub showval { showval($_, 'sight') ), '' . showval($_, 'speed'), + $_->{attr}->{jump} + && qq'↕', '' . showmagic($_), "\n" );