(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.
30 lines
1.3 KiB
Perl
30 lines
1.3 KiB
Perl
.TH Concept Happiness
|
|
.NA Happiness "How happiness is calculated at the update"
|
|
.LV Expert
|
|
.s1
|
|
Happiness is required for countries which have any sort of technology
|
|
or education at all, with greater levels being required as
|
|
the expectation (and tech/edu levels) of the populace increases.
|
|
A country with an unhappy population can expect a decrease in the
|
|
\*Qwork\*U of some sectors.
|
|
.s1
|
|
Also, the morale of your land units is determined by the happiness
|
|
of your people. The morale of a unit can be set by the player, but
|
|
the minimum level allowable depends on happiness. See "info morale"
|
|
for details.
|
|
.s1
|
|
The \*Qnation\*U command will display, among other things, your current
|
|
happiness level.
|
|
.s1
|
|
The procedure determining happiness level is exactly the same for
|
|
happiness as it is for education (see "info Education") except for the
|
|
fact that "happiness log base" is always 6.0 and "easy happiness" is
|
|
always 5.0. New happiness is averaged with old happiness in the same
|
|
way that education is averaged except that happiness averaging has its
|
|
own line in the "version" output:
|
|
Happiness is averaged over 48 time units.
|
|
.s1
|
|
It has also been rumored that increasing happiness will help to keep
|
|
the rebels in check somewhat, but the exact results are sketchy at best.
|
|
.s1
|
|
.SA "Education, Innards, nation, Products, Research, Technology, attack, Nations, Producing, Updates"
|