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]
; 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
; -contact with other people, animals and the dead
; -open wounds
@@ -2905,10 +2905,12 @@ FOOD_EATING_SOUNDS = TRUE
; set this to TRUE to play with diseases.
DISEASE = FALSE
; if DISEASE and DISEASE_STRATEGIC are set to TRUE, the first disease (arulcan plague) will also affect civilians, soldiers and militia.
; It can break out in swamp & tropical sectors and spread as infected troops move around.
; 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.
; It does work on both sides though, the army can suffer just as well... especially if you give it a push ;-)
; if DISEASE and DISEASE_STRATEGIC are set to TRUE, corpses pose a health risk.
; 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.
; This can negatively affect the breath and health points of any NPC (enemy, militia or civilian) in that sector.
; 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
; 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-->
<fortify_assignment>0</fortify_assignment> <!-- +- % building speed, -50 to 200 -->
<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 -->
@@ -3640,22 +3641,17 @@
<BACKGROUND>
<uiIndex>183</uiIndex>
<szName>Veteran Mercenary/Undertaker</szName>
<szShortName>Vet Merc/Undertaker</szShortName>
<szDescription>When you've seen it all, nothing can frighten you anymore.</szDescription>
<leadership>5</leadership>
<szShortName>Vet/Undertaker</szShortName>
<szDescription>Pops has seen it all. What's left to frighten him?</szDescription>
<ap_assault>5</ap_assault>
<ap_fortify>-25</ap_fortify>
<ap_artillery>-2</ap_artillery>
<resistance_physical>3</resistance_physical>
<resistance_fear>20</resistance_fear>
<resistance_suppression>10</resistance_suppression>
<interrogation>5</interrogation>
<carrystrength>3</carrystrength>
<speed_run>-5</speed_run>
<spotter>5</spotter>
<capitulation>15</capitulation>
<approach_friendly>7</approach_friendly>
<insurance>100</insurance>
<burial_assignment>600</burial_assignment>
<smoker>1</smoker>
<no_male>1</no_male>
<no_female>1</no_female>
@@ -5435,6 +5431,7 @@
<resistance_suppression>20</resistance_suppression>
<approach_friendly>7</approach_friendly>
<carrystrength>3</carrystrength>
<burial_assignment>500</burial_assignment>
</BACKGROUND>
<BACKGROUND>
<uiIndex>286</uiIndex>
@@ -175,6 +175,8 @@
<CrowbarModifier>0</CrowbarModifier>
<DisarmModifier>0</DisarmModifier>
<RepairModifier>0</RepairModifier>
<usHackingModifier>0</usHackingModifier>
<usBurialModifier>0</usBurialModifier>
<DamageChance>0</DamageChance>
<DirtIncreaseFactor>0.0</DirtIncreaseFactor>
<clothestype>0</clothestype>
@@ -31547,6 +31549,7 @@
<BR_NewInventory>3</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory>
<Hardware>1</Hardware>
<usBurialModifier>50</usBurialModifier>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
@@ -46374,6 +46377,7 @@
<Sinks>1</Sinks>
<ShowStatus>1</ShowStatus>
<Hardware>1</Hardware>
<usBurialModifier>50</usBurialModifier>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />