Show sector navigability in show se s
This is the human-readable buddy of xdump sect-chr column nav, which dumps ichr[].d_nav.
This commit is contained in:
parent
4be4a37a96
commit
ae8c4620b0
2 changed files with 40 additions and 39 deletions
|
@ -265,42 +265,42 @@ sectors. See \*Qinfo Infrastructure\*U for details.
|
|||
To check out various stats, you do:
|
||||
.EX show sect stats
|
||||
.NF
|
||||
mob cost max max packing max
|
||||
sector type 0% 100% off def bonus pop
|
||||
\&. sea no way 0.00 0.00 normal 0
|
||||
^ mountain 2.4 1.2 1.00 4.00 normal 100
|
||||
s sanctuary no way 0.00 99.00 normal 1000
|
||||
\e wasteland no way 0.00 99.00 normal 0
|
||||
- wilderness 0.4 0.4 1.00 2.00 normal 1000
|
||||
c capital 0.4 0.2 1.00 2.00 normal 1000
|
||||
u uranium mine 0.4 0.2 1.00 2.00 normal 1000
|
||||
p park 0.4 0.2 1.00 1.50 normal 1000
|
||||
d defense plant 0.4 0.2 1.00 1.50 normal 1000
|
||||
i shell industry 0.4 0.2 1.00 1.50 normal 1000
|
||||
m mine 0.4 0.2 1.00 2.00 normal 1000
|
||||
g gold mine 0.4 0.2 1.00 2.00 normal 1000
|
||||
h harbor 0.4 0.2 1.00 1.50 warehouse 1000
|
||||
w warehouse 0.4 0.2 1.00 1.50 warehouse 1000
|
||||
* airfield 0.4 0.2 1.00 1.25 normal 1000
|
||||
a agribusiness 0.4 0.2 1.00 1.50 normal 1000
|
||||
o oil field 0.4 0.2 1.00 1.50 normal 1000
|
||||
j light manufacturing 0.4 0.2 1.00 1.50 normal 1000
|
||||
k heavy manufacturing 0.4 0.2 1.00 1.50 normal 1000
|
||||
f fortress 0.4 0.2 2.00 4.00 normal 1000
|
||||
t technical center 0.4 0.2 1.00 1.50 normal 1000
|
||||
r research lab 0.4 0.2 1.00 1.50 normal 1000
|
||||
n nuclear plant 0.4 0.2 1.00 2.00 normal 1000
|
||||
l library/school 0.4 0.2 1.00 1.50 normal 1000
|
||||
+ highway 0.4 0.0 1.00 1.00 normal 1000
|
||||
) radar installation 0.4 0.2 1.00 1.50 normal 1000
|
||||
! headquarters 0.4 0.2 1.00 1.50 normal 1000
|
||||
# bridge head 0.4 0.0 1.00 1.00 normal 1000
|
||||
= bridge span 0.4 0.0 1.00 1.00 normal 100
|
||||
b bank 0.4 0.2 1.00 2.25 bank 1000
|
||||
% refinery 0.4 0.2 1.00 1.50 normal 1000
|
||||
e enlistment center 0.4 0.2 1.00 2.00 normal 1000
|
||||
~ plains 0.4 0.2 1.00 1.50 normal 100
|
||||
@ bridge tower 0.4 0.0 1.00 1.50 normal 100
|
||||
mob cost max max naviga packing max
|
||||
sector type 0% 100% off def bility bonus pop
|
||||
\&. sea no way 0.00 0.00 sea normal 0
|
||||
^ mountain 2.4 1.2 1.00 4.00 land normal 100
|
||||
s sanctuary no way 0.00 99.00 land normal 1000
|
||||
\e wasteland no way 0.00 99.00 land normal 0
|
||||
- wilderness 0.4 0.4 1.00 2.00 land normal 1000
|
||||
c capital 0.4 0.2 1.00 2.00 canal normal 1000
|
||||
u uranium mine 0.4 0.2 1.00 2.00 land normal 1000
|
||||
p park 0.4 0.2 1.00 1.50 land normal 1000
|
||||
d defense plant 0.4 0.2 1.00 1.50 land normal 1000
|
||||
i shell industry 0.4 0.2 1.00 1.50 land normal 1000
|
||||
m mine 0.4 0.2 1.00 2.00 land normal 1000
|
||||
g gold mine 0.4 0.2 1.00 2.00 land normal 1000
|
||||
h harbor 0.4 0.2 1.00 1.50 harbor warehouse 1000
|
||||
w warehouse 0.4 0.2 1.00 1.50 land warehouse 1000
|
||||
* airfield 0.4 0.2 1.00 1.25 land normal 1000
|
||||
a agribusiness 0.4 0.2 1.00 1.50 land normal 1000
|
||||
o oil field 0.4 0.2 1.00 1.50 land normal 1000
|
||||
j light manufacturing 0.4 0.2 1.00 1.50 land normal 1000
|
||||
k heavy manufacturing 0.4 0.2 1.00 1.50 land normal 1000
|
||||
f fortress 0.4 0.2 2.00 4.00 land normal 1000
|
||||
t technical center 0.4 0.2 1.00 1.50 land normal 1000
|
||||
r research lab 0.4 0.2 1.00 1.50 land normal 1000
|
||||
n nuclear plant 0.4 0.2 1.00 2.00 land normal 1000
|
||||
l library/school 0.4 0.2 1.00 1.50 land normal 1000
|
||||
+ highway 0.4 0.0 1.00 1.00 land normal 1000
|
||||
) radar installation 0.4 0.2 1.00 1.50 land normal 1000
|
||||
! headquarters 0.4 0.2 1.00 1.50 land normal 1000
|
||||
# bridge head 0.4 0.0 1.00 1.00 land normal 1000
|
||||
= bridge span 0.4 0.0 1.00 1.00 bridge normal 100
|
||||
b bank 0.4 0.2 1.00 2.25 land bank 1000
|
||||
% refinery 0.4 0.2 1.00 1.50 land normal 1000
|
||||
e enlistment center 0.4 0.2 1.00 2.00 land normal 1000
|
||||
~ plains 0.4 0.2 1.00 1.50 land normal 100
|
||||
@ bridge tower 0.4 0.0 1.00 1.50 land normal 100
|
||||
.FI
|
||||
The two mob cost columns show the relative cost to move through such
|
||||
sectors at 0% and 100% efficiency. It changes linearly between 0% and
|
||||
|
|
|
@ -504,8 +504,8 @@ show_sect_stats(int foo)
|
|||
if (dchr[x].d_mnem == 0)
|
||||
continue;
|
||||
if (first) {
|
||||
pr(" mob cost max max packing max\n");
|
||||
pr(" sector type 0%% 100%% off def bonus pop\n");
|
||||
pr(" mob cost max max naviga packing max\n");
|
||||
pr(" sector type 0%% 100%% off def bility bonus pop\n");
|
||||
first = 0;
|
||||
}
|
||||
pr("%c %-21.21s", dchr[x].d_mnem, dchr[x].d_name);
|
||||
|
@ -513,8 +513,9 @@ show_sect_stats(int foo)
|
|||
pr(" no way ");
|
||||
else
|
||||
pr(" %3.1f %3.1f", dchr[x].d_mob0, dchr[x].d_mob1);
|
||||
pr(" %5.2f %5.2f %10.10s %5d\n",
|
||||
pr(" %5.2f %5.2f %7.7s %10.10s %5d\n",
|
||||
dchr[x].d_ostr, dchr[x].d_dstr,
|
||||
symbol_by_value(dchr[x].d_nav, sector_navigation),
|
||||
symbol_by_value(dchr[x].d_pkg, packing),
|
||||
max_population(natp->nat_level[NAT_RLEV], x, 100));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue