From: Mischa Poslawsky Date: Wed, 25 Feb 2009 18:05:49 +0000 (+0100) Subject: parse-wormedit: show amount of bouncing balls X-Git-Url: http://git.shiar.nl/wormy.git/commitdiff_plain/33a0066c3c94642f03b16763254803f8d140604c parse-wormedit: show amount of bouncing balls --- diff --git a/parse-wormedit b/parse-wormedit index 607231c..8c441a4 100755 --- a/parse-wormedit +++ b/parse-wormedit @@ -377,6 +377,9 @@ else { $level->{sprite} && @{$level->{sprite}} && sprintf('sprite %d', scalar @{$level->{sprite}}, ), + $level->{balls} && @{$level->{balls}} && sprintf('%d bounc%s', + scalar @{$level->{balls}}, @{$level->{balls}} == 1 ? 'y' : 'ies', + ), ), ); }