!!$_->{base} && '<span class="unit-composed">+</span>',
$_->{build} || '0',
),
- sprintf('<td class="unit unit-%s" title="%3$s">%s',
+ sprintf('<td class="unit unit-%s" title="%4$s%3$s">%s',
$_-> {cargo} < 0 ? ('supply', T => 'transport') :
$_->{upgraded}->{cargo} < 0 ? ('supply magic-opt', T => 'optional transport') :
$_->{attr}->{flying} ? ('air', F => 'flying') :
$_->{attr}->{structure} ? ('x', B => 'building') :
- ([qw( x s m l l h h h h )]->[ $_->{cargo} ], $_->{cargo} || '-', ''),
+ (
+ [qw( x s m l l h h h h )]->[ $_->{cargo} ],
+ $_->{cargo} || '-',
+ $_->{cargo} ? 'transportable' : 'untransportable',
+ ),
+ defined $_->{size} && sprintf('⌀%.1f ', $_->{size}),
),
sprintf('<td class="val unit%s">%s',
defined $_->{pop} && $_->{pop} < 0 && ' unit-supply',