New feature: mines require workers for maximum income, these can be trained like militia.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2328 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2016-07-04 22:22:16 +00:00
parent 6e1f633ca7
commit f53df5fed0
2 changed files with 25 additions and 0 deletions
+17
View File
@@ -443,6 +443,23 @@ MINE_INCOME_PERCENTAGE = 100
MERC_LEVEL_UP_SALARY_INCREASE_PERCENTAGE = 25
;------------------------------------------------------------------------------------------------------------------------------
; If MINE_REQUIRES_WORKERS is TRUE, mine income also depends on the number or workers employed in a town.
; The maximum number of workers for each sector can be set in SectorNames.xml.
; For mine income, the total sum of all workers in a town are used, once a town employs it's maximum of workers, this modifier
; is at a 100%.
;------------------------------------------------------------------------------------------------------------------------------
MINE_REQUIRES_WORKERS = FALSE
; When we liberate a a sector for the first time, this is the rate of workers present. Values from 0.0 to 1.0.
WORKERRATE_PRESENT_INITIALLY = 0.25
; the cost of training a single worker
WORKER_TRAINING_COST = 30
; the amount of worker training points needed to train a worker, the amount a trainer generates can be seen on their portrait
WORKER_TRAINING_POINTS = 100
;------------------------------------------------------------------------------------------------------------------------------
; Enable/Disable the ability to sell unneeded equipment to the locals.
;
@@ -48,6 +48,9 @@
<snakechance>
Value between 0 and 100. If > 0, snakes can attack people in water. The higher the value, the more frequent this happens.
<maxworkers>
Maximum number of workers that can be employed in this sector.
-->
<SECTOR_NAMES>
<SECTOR>
@@ -262,6 +265,7 @@
<usCivilianPopulation>150</usCivilianPopulation>
<rainchance>70</rainchance>
<sandstormchance>0</sandstormchance>
<maxworkers>50</maxworkers>
</SECTOR>
<SECTOR>
<SectorGrid>B3</SectorGrid>
@@ -757,6 +761,7 @@
<usCivilianPopulation>200</usCivilianPopulation>
<rainchance>50</rainchance>
<sandstormchance>0</sandstormchance>
<maxworkers>100</maxworkers>
</SECTOR>
<SECTOR>
<SectorGrid>D14</SectorGrid>
@@ -1383,6 +1388,7 @@
<usCivilianPopulation>200</usCivilianPopulation>
<rainchance>50</rainchance>
<sandstormchance>0</sandstormchance>
<maxworkers>200</maxworkers>
</SECTOR>
<SECTOR>
<SectorGrid>H4</SectorGrid>
@@ -1443,6 +1449,7 @@
<usCivilianPopulation>200</usCivilianPopulation>
<rainchance>35</rainchance>
<sandstormchance>2</sandstormchance>
<maxworkers>160</maxworkers>
</SECTOR>
<SECTOR>
<SectorGrid>H9</SectorGrid>
@@ -1711,6 +1718,7 @@
<usCivilianPopulation>200</usCivilianPopulation>
<rainchance>45</rainchance>
<sandstormchance>0</sandstormchance>
<maxworkers>150</maxworkers>
</SECTOR>
<SECTOR>
<SectorGrid>I15</SectorGrid>