From b0590b2eda9c838fdf869ca13da9ca3af366375f Mon Sep 17 00:00:00 2001 From: Jones <Jones> Date: Thu, 13 Dec 2018 23:34:15 +0100 Subject: [PATCH] Minimum level of millionaires added --- src/uncategorized/arcmgmt.tw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uncategorized/arcmgmt.tw b/src/uncategorized/arcmgmt.tw index ba14a23d01d..79f5d2c9d11 100644 --- a/src/uncategorized/arcmgmt.tw +++ b/src/uncategorized/arcmgmt.tw @@ -910,6 +910,9 @@ _SCD = Math.trunc(($upperClass * ($slaveDemandU + _slaveDemandU)) + ($topClass * <<else>> <<set _TCD = Math.trunc(($GDP / 15 + _topClass) * $rentEffectT * _topClassP + $TCBase)>> <</if>> +<<if _TCD < 15>> + <<set _TCD = 15>> +<</if>> /*Top Class Citizens immigrating*/ <<if $topClass < _TCD>> <<set _TCImmigration = Math.trunc((_TCD - $topClass) * (0.3 * _terrain)) + 1, -- GitLab