From: Mischa POSLAWSKY Date: Sat, 13 Jun 2015 04:42:56 +0000 (+0200) Subject: sc: describe hots vulnerabilities attributes X-Git-Tag: v1.8~159 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/bb11561d64e299ad7f4a25e689063b99264a16fb sc: describe hots vulnerabilities attributes --- diff --git a/sc.css b/sc.css index b8e3981..f7249cb 100644 --- a/sc.css +++ b/sc.css @@ -47,6 +47,7 @@ table h2 { .unit.unit-s {color: #770} .unit.unit-m {color: #C70} .unit.unit-l {color: #D22} +.unit.unit-h {color: #804} .hurt.unit-s::before { content: '~'; color: #773; diff --git a/sc.plp b/sc.plp index 0534c04..fc3156c 100644 --- a/sc.plp +++ b/sc.plp @@ -206,10 +206,10 @@ sub showval { defined $_->{unit} && $_->{unit} == .5 ? '½' : $_->{unit} ), '' . join('', grep { $_ } - (defined $_->{organic} || $_->{attr}->{organic}) - && 'o', (defined $_->{organic} ? !$_->{organic} : $_->{attr}->{mech}) && 'm', + ($_->{organic} || $_->{attr}->{organic}) + && 'o', $_->{attr}->{psionic} && 'ψ', ), @@ -304,11 +304,22 @@ if ($scver{major} > 1) { or a single Huge unit<: } else { :>affected by Small, - Medium, - or Large unit damage<: + Medium, or + Large unit damage<: } :>
number of command points taken per unit -
organic/mechanic unit +
<: +if ($scver{major} > 1) { + :>received damage depends on + organic, + mechanic, + ψ(ps)ionic, + Light, and + Armored + attributes<: +} else { + :>organic/mechanic unit<: +} :>
HP
total number of hitpoints (including shields)
shield