X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ca987f558f793b296a159060a2fbe3f8f164eb67..b274dda92ace617497bf5866832b46629ba79209:/sc.plp diff --git a/sc.plp b/sc.plp index 7ae2805..26c8a97 100644 --- a/sc.plp +++ b/sc.plp @@ -1,7 +1,12 @@ <(common.inc.plp)><: +my $datafile = 'sc-units.inc.pl'; +if ($ENV{PATH_INFO} and $ENV{PATH_INFO} eq '/2') { + $datafile = 'sc2-units.inc.pl'; +} + Html({ - title => 'starcraft unit cheat sheets', + title => 'starcraft unit cheat sheet', version => 'v1.0', description => [ 'Reference of StarCraft unit properties,' @@ -13,10 +18,11 @@ Html({ reference software attributes properties '], stylesheet => [qw'light'], + data => [$datafile], }); :> -
Unit properties as seen or measured in Brood War
@@ -25,15 +31,16 @@ Unit properties as seen or measured in Brood War
<:
@@ -126,8 +159,8 @@ sub coltoggle {
-
<:= coltoggle('name', '') :>
-
-
+
+
<:= coltoggle(qw'build cost') :>
<:= coltoggle(qw'size size') :>
HP
@@ -140,7 +173,6 @@ sub coltoggle {
speed
specials