New feature: we have to bury corpses, or their rot causes diseases in sectors

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2436 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2018-08-12 12:38:07 +00:00
parent f6f3444893
commit 23d00378a4
3 changed files with 17 additions and 14 deletions
+7 -5
View File
@@ -2893,7 +2893,7 @@ FOOD_EATING_SOUNDS = TRUE
[Disease Settings] [Disease Settings]
; If DISEASE is TRUE, your mercs can get diseases. Diseases are specified in Disease.xml. You can get them from ; If DISEASE is TRUE, your mercs can get diseases. Diseases are specified in Disease.xml. For example, you can get them from
; -insects in swamp & tropical sectors ; -insects in swamp & tropical sectors
; -contact with other people, animals and the dead ; -contact with other people, animals and the dead
; -open wounds ; -open wounds
@@ -2905,10 +2905,12 @@ FOOD_EATING_SOUNDS = TRUE
; set this to TRUE to play with diseases. ; set this to TRUE to play with diseases.
DISEASE = FALSE DISEASE = FALSE
; if DISEASE and DISEASE_STRATEGIC are set to TRUE, the first disease (arulcan plague) will also affect civilians, soldiers and militia. ; if DISEASE and DISEASE_STRATEGIC are set to TRUE, corpses pose a health risk.
; It can break out in swamp & tropical sectors and spread as infected troops move around. ; Once a corpse vanishes, it creates disease points in that sector. The more disease points, the higher the chance mercs catch any corpse-related illness.
; In bad cases, it can affect entire cities. Infected population will suffer just as your mercs do. If you don't act, this could be a severe threat to your campaign. ; This can negatively affect the breath and health points of any NPC (enemy, militia or civilian) in that sector.
; It does work on both sides though, the army can suffer just as well... especially if you give it a push ;-) ; If INDIVIDUAL_MILITIA and INDIVIDUAL_MILITIA_MANAGE_HEALTH are true, this negatively affects a militia's hourly regeneration.
; You can remove corpses via the Disease->Burial assignment to stop this from happening.
; You can remove disease points via the Disease->Treatment assignement, this works similar to the doctor assignment.
DISEASE_STRATEGIC = TRUE DISEASE_STRATEGIC = TRUE
; The World Health Organization has a website that contains a few helpful tips on diseases. ; The World Health Organization has a website that contains a few helpful tips on diseases.
+6 -9
View File
@@ -94,7 +94,8 @@
<croucheddefense>0</croucheddefense> <!-- +- enemy cth if we are crouched against thick cover in their direction, -30 to 30--> <croucheddefense>0</croucheddefense> <!-- +- enemy cth if we are crouched against thick cover in their direction, -30 to 30-->
<fortify_assignment>0</fortify_assignment> <!-- +- % building speed, -50 to 200 --> <fortify_assignment>0</fortify_assignment> <!-- +- % building speed, -50 to 200 -->
<snake_defense>0</snake_defense> <!-- +- % chance to evade snake attacks, -100 to 100 --> <snake_defense>0</snake_defense> <!-- +- % chance to evade snake attacks, -100 to 100 -->
<hackerskill>0</hackerskill> <!-- hacker skill, 0 to 100. Value > 0 means we can hack computers --> <hackerskill>0</hackerskill> <!-- hacker skill, 0 to 100. Value > 0 means we can hack computers -->
<burial_assignment>0</burial_assignment> <!-- effectiveness at burying corpses, -50 to 1000. Value > 0 means we bury corpses faster -->
<dislikebackground>0</dislikebackground> <!-- dislike everybody with a background that has the negative of this value --> <dislikebackground>0</dislikebackground> <!-- dislike everybody with a background that has the negative of this value -->
@@ -3640,22 +3641,17 @@
<BACKGROUND> <BACKGROUND>
<uiIndex>183</uiIndex> <uiIndex>183</uiIndex>
<szName>Veteran Mercenary/Undertaker</szName> <szName>Veteran Mercenary/Undertaker</szName>
<szShortName>Vet Merc/Undertaker</szShortName> <szShortName>Vet/Undertaker</szShortName>
<szDescription>When you've seen it all, nothing can frighten you anymore.</szDescription> <szDescription>Pops has seen it all. What's left to frighten him?</szDescription>
<leadership>5</leadership>
<ap_assault>5</ap_assault> <ap_assault>5</ap_assault>
<ap_fortify>-25</ap_fortify> <ap_fortify>-25</ap_fortify>
<ap_artillery>-2</ap_artillery> <ap_artillery>-2</ap_artillery>
<resistance_physical>3</resistance_physical>
<resistance_fear>20</resistance_fear> <resistance_fear>20</resistance_fear>
<resistance_suppression>10</resistance_suppression> <resistance_suppression>10</resistance_suppression>
<interrogation>5</interrogation>
<carrystrength>3</carrystrength>
<speed_run>-5</speed_run> <speed_run>-5</speed_run>
<spotter>5</spotter>
<capitulation>15</capitulation> <capitulation>15</capitulation>
<approach_friendly>7</approach_friendly>
<insurance>100</insurance> <insurance>100</insurance>
<burial_assignment>600</burial_assignment>
<smoker>1</smoker> <smoker>1</smoker>
<no_male>1</no_male> <no_male>1</no_male>
<no_female>1</no_female> <no_female>1</no_female>
@@ -5435,6 +5431,7 @@
<resistance_suppression>20</resistance_suppression> <resistance_suppression>20</resistance_suppression>
<approach_friendly>7</approach_friendly> <approach_friendly>7</approach_friendly>
<carrystrength>3</carrystrength> <carrystrength>3</carrystrength>
<burial_assignment>500</burial_assignment>
</BACKGROUND> </BACKGROUND>
<BACKGROUND> <BACKGROUND>
<uiIndex>286</uiIndex> <uiIndex>286</uiIndex>
@@ -175,6 +175,8 @@
<CrowbarModifier>0</CrowbarModifier> <CrowbarModifier>0</CrowbarModifier>
<DisarmModifier>0</DisarmModifier> <DisarmModifier>0</DisarmModifier>
<RepairModifier>0</RepairModifier> <RepairModifier>0</RepairModifier>
<usHackingModifier>0</usHackingModifier>
<usBurialModifier>0</usBurialModifier>
<DamageChance>0</DamageChance> <DamageChance>0</DamageChance>
<DirtIncreaseFactor>0.0</DirtIncreaseFactor> <DirtIncreaseFactor>0.0</DirtIncreaseFactor>
<clothestype>0</clothestype> <clothestype>0</clothestype>
@@ -31547,6 +31549,7 @@
<BR_NewInventory>3</BR_NewInventory> <BR_NewInventory>3</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory> <BR_UsedInventory>1</BR_UsedInventory>
<Hardware>1</Hardware> <Hardware>1</Hardware>
<usBurialModifier>50</usBurialModifier>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor> <usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS /> <STAND_MODIFIERS />
<CROUCH_MODIFIERS /> <CROUCH_MODIFIERS />
@@ -46374,6 +46377,7 @@
<Sinks>1</Sinks> <Sinks>1</Sinks>
<ShowStatus>1</ShowStatus> <ShowStatus>1</ShowStatus>
<Hardware>1</Hardware> <Hardware>1</Hardware>
<usBurialModifier>50</usBurialModifier>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor> <usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS /> <STAND_MODIFIERS />
<CROUCH_MODIFIERS /> <CROUCH_MODIFIERS />