Production adjustment fix

* The production adjustment function was completely off (and always has
been). It has been fixed.

* The problem with the adjustment function not being reported means that
no-one ever encountered it. As a consequence, happiness strike threshold
has been increased to 50%

/!\ Full database reset required (or at least much easier than other
options).
This commit is contained in:
Emmanuel BENOîT 2012-02-08 15:38:12 +01:00
parent c94958a058
commit afa1224391
4 changed files with 95 additions and 8 deletions
legacyworlds-server-beans-system/src/main/java/com/deepclone/lw/beans/sys

View file

@ -94,7 +94,7 @@ public class ConstantsRegistrarBean
cDesc = "Empire size limit (relative to the ideal size) beyond which things get tough.";
defs.add( new ConstantDefinition( hcNames[ 7 ] , cat , cDesc , 2.0 , 1.1 , true ) );
cDesc = "Happiness level below which strikes begin.";
defs.add( new ConstantDefinition( hcNames[ 8 ] , cat , cDesc , 0.25 , 0.0 , 1.0 ) );
defs.add( new ConstantDefinition( hcNames[ 8 ] , cat , cDesc , 0.5 , 0.0 , 1.0 ) );
cDesc = "Happiness change at each update, relative to the size of the population.";
defs.add( new ConstantDefinition( hcNames[ 9 ] , cat , cDesc , 0.001 , 0.00001 , 0.99999 ) );
cDesc = "Maximal population units for which happiness will change.";