sc: indicate type by m/o text, no icon images
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 2 Apr 2012 23:44:01 +0000 (01:44 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 10 Apr 2012 01:03:24 +0000 (03:03 +0200)
sc.plp

diff --git a/sc.plp b/sc.plp
index ede1e5a17a73e345f696ad498908d653a1c8635b..c6f75c261021b986396f091f099f6829728fb49e 100644 (file)
--- a/sc.plp
+++ b/sc.plp
@@ -273,10 +273,10 @@ sub showrange {
                        '<td class="val unit">' . join('',
                                $_->{unit} ? $_->{unit} == .5 ? '½' : $_->{unit} : '&nbsp;',
                                defined $_->{organic} && sprintf(
                        '<td class="val unit">' . join('',
                                $_->{unit} ? $_->{unit} == .5 ? '½' : $_->{unit} : '&nbsp;',
                                defined $_->{organic} && sprintf(
-                                       '<img class="unit-%s" src="s%s.png" alt="%s">',
+                                       '<span class="unit-%s" title="%s">%s</span>',
                                        $_->{organic} ? 'o' : 'u',
                                        $_->{organic} ? 'o' : 'u',
-                                       $_->{race} . ($_->{organic} ? 'o' : ''),
-                                       $_->{organic} ? 'o' : 'm'
+                                       $_->{organic} ? 'organic' : 'mechanic',
+                                       $_->{organic} ? 'o' : 'm',
                                ),
                        ),
                        '<td class="val unit-hp">' . $_->{hp},
                                ),
                        ),
                        '<td class="val unit-hp">' . $_->{hp},