git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
493605e
)
sc: indicate type by m/o text, no icon images
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 2 Apr 2012 23:44:01 +0000
(
01:44
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 10 Apr 2012 01:03:24 +0000
(
03:03
+0200)
sc.plp
patch
|
blob
|
history
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} : ' ',
defined $_->{organic} && sprintf(
'<td class="val unit">' . join('',
$_->{unit} ? $_->{unit} == .5 ? '½' : $_->{unit} : ' ',
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},