(all): Depend on info. Flatten info directory. This undoes the move to one subdirectory per chapter, which was done during Empire 2. The structure doesn't buy us much, as the info name space is flat, and it complicates makefiles. Overhaul info.pl: - It now wants to run in the root of the build tree. - Information on source files and subjects is now stored in makefiles, thus info.pl no longer picks up random junk from the file system. - Clean up Perl anachronisms, in particular use subroutine arguments and results rather than global variables where convenient. - Change format of diagnostics to the common format used by GNU tools, so that Emacs and the like can parse it. - Catch missing .SA. - When creating a new subject file, cowardly refuse to overwrite an existing file. - Subject files contain topics sorted by chapter, then by name. The order of chapters used to depend on how Perl sorts hash keys. Fix it.
86 lines
2.7 KiB
Perl
86 lines
2.7 KiB
Perl
.TH Command CENSUS
|
|
.NA census "Report contents of sectors"
|
|
.LV Basic
|
|
.SY "census <SECTS>"
|
|
The census command displays specific information on
|
|
some or all of the sectors you occupy.
|
|
.s1
|
|
In the syntax of the census command
|
|
<SECTS> is the area on which you wish information,
|
|
(see \*Qinfo Syntax\*U).
|
|
.s1
|
|
A typical usage might be:
|
|
.EX census 0:9,0:9 ?des=m
|
|
which would list data for mines in an area
|
|
to the south-east of the capital.
|
|
.s1
|
|
A census lists each of your sectors in the specified area headed by:
|
|
.NF
|
|
Tue Oct 10 22:24:49 1995
|
|
CENSUS del dst
|
|
sect eff prd mob uf uf * civ mil uw food work avail ter coast
|
|
.FI
|
|
These columns represent:
|
|
.s1
|
|
.in \w'coast\0\0'u
|
|
.L sect
|
|
the x and y coordinates of the sector
|
|
.L eff
|
|
the efficiency of the sector (affects all benefits
|
|
of a designated sector except mobility units)
|
|
.L prd
|
|
Will this sector be updated? If not, you will see an 'n'.
|
|
This can be controlled with the \*Qstart\*U and \*Qstop\*U commands.
|
|
.L mob
|
|
the number of mobility units, (see \*Qmove\*U)
|
|
.L uf
|
|
Two delivery columns corresponding to:
|
|
uncompensated workers and food.
|
|
.L uf
|
|
Two \*Qdistribute\*U columns corresponding to:
|
|
uncompensated workers and food.
|
|
.L *
|
|
occupied enemy sector.
|
|
.L civ
|
|
the number of civilians
|
|
.L mil
|
|
the number of military troops
|
|
.L uw
|
|
the number of uncompensated workers
|
|
.L food
|
|
the amount of food
|
|
.L work
|
|
the percentage of civilians working in the sector
|
|
(based on the local sector happiness).
|
|
.L avail
|
|
the quantity of workforce available for construction
|
|
or maintenance of planes, ships, or nukes.
|
|
.L ter
|
|
This is a territory for the sector that you can specify using the
|
|
\*Qterritory\*U command.
|
|
.L coast
|
|
Is this a coastal sector? Note that the "coastal flag" gets set for
|
|
the sector only when you use the census command, so if you want to
|
|
query your sectors depending on whether they're coastal, then you may
|
|
need to do a census twice--the first time to set the coastal flags,
|
|
and the second time to query them.
|
|
.in
|
|
.s1
|
|
For example:
|
|
.EX cens #0
|
|
.NF
|
|
Tue Jun 20 00:33:43 1989
|
|
CENSUS del dst
|
|
sect eff prd mob uf uf * civ mil uw food work avail ter
|
|
2,-2 f 100% 8 .. .. 0 499 0 0 0% 64
|
|
-1,-1 f 100% 32 .. .. 629 0 0 970 43% 31 3
|
|
1,-1 n 100% n 31 .. 627 0 0 970 51% 30
|
|
3,-1 ) 100% 32 .. .. 0 0 0 0 0% 0
|
|
-2,0 h 100% 32 .. .. 629 0 0 970 100% 93 50
|
|
0,0 * 100% 114 .. .. 906 845 0 729 100% 173 50
|
|
2,0 c 100% 127 .. .. 154 100 124 71 100% 49
|
|
1,1 - 0% 32 .. .. 1 0 0 0 0% 0
|
|
8 sectors
|
|
.FI
|
|
.s1
|
|
.SA "improve, sinfrastructure, commodity, resource, level, territory, cutoff, map, start, stop, Sectors, Populace, Commodities"
|