X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/85cf1cbebe994484740a5471565f5859c49106c2..1d8f89a77c6bb11649e0a7179e65fe339c419451:/sc.plp diff --git a/sc.plp b/sc.plp index 5607a9a..7174228 100644 --- a/sc.plp +++ b/sc.plp @@ -18,6 +18,7 @@ Html({ reference software attributes properties '], stylesheet => [qw'light'], + raw => '', data => [$datafile], }); @@ -29,112 +30,6 @@ Unit properties as seen or measured in Brood War version≥1.08.

- - <: sub coltoggle { my ($name, $id) = @_; @@ -337,17 +232,15 @@ sub showval { print( '', - sprintf('%s', - $cat ne $_->{cat} ? ('h', $cat = $_->{cat}) : ('d', ' ') - ), - '' . $_->{name}, + '', $cat ne $_->{cat} && ($cat = $_->{cat}), + '', $_->{name}, showunitcols($_), ); for my $subrow (@{ $_->{special} }) { $subrow->{alt} or next; print( - '' . $subrow->{alt}, + '', $subrow->{alt}, showunitcols($subrow), ); }