$_->{desc} ? ": $_->{desc}" : '',
$_->{range} || $_->{cost} ? sprintf(' (%s)', join ', ',
$_->{range} ? "range $_->{range}" : (),
- $_->{cost} ? sprintf('cost %.0f%%',
- 100 * $_->{cost} / $row->{energy}
+ $_->{cost} ? sprintf('cost %.0f%%%s',
+ 100 * $_->{cost} / $row->{energy},
+ defined $_->{maint} && sprintf('+%.1f%%/s',
+ 100 * $_->{maint} / $row->{energy},
+ ),
) : (),
) : '',
),
local $_ = $row;
$_->{hp} += $_->{shield} if $_->{shield};
my $suitchar = '';
- if ($_->{suit}) {
+ if ($_->{attr}->{structure}) {
+ $suitchar = 'b';
+ }
+ elsif ($_->{suit}) {
$suitchar = [qw/? s m l/]->[$_->{suit}];
}
elsif ($_->{cargo} > 0) {
showval($_, 'sight')
),
'<td class="val unit-speed">' . showval($_, 'speed'),
- $_->{attr}->{massive} && '<span class="unit-massive">☇</span>',
+ $_->{attr}->{massive}
+ && '<span class="unit-massive" title="massive">⚓</span>',
'<td class="unit-magic">' . showmagic($_),
"\n"
);