New feature: environment hazards pose danger to soldiers in certain sectors - first use are snakes that attack anybody in water sources in swamps.

Requires GameDir >= r2327.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8266 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-07-03 21:26:45 +00:00
parent 762fb79c09
commit ce6e63831d
28 changed files with 294 additions and 27 deletions
+5
View File
@@ -592,6 +592,10 @@ typedef struct
FLOAT dVisDistDecrease[WEATHER_FORECAST_MAX];
FLOAT dHearingReduction[WEATHER_FORECAST_MAX];
// Flugente: this controls what dangers we face in different sectors
// Snakes can attack mercs in water
BOOLEAN gfAllowSnakes;
// WDS - Progress settings
UINT32 ubGameProgressPortionKills;
UINT32 ubGameProgressPortionControl;
@@ -1902,6 +1906,7 @@ typedef struct
UINT8 usSVDiseaseResistance;
INT8 sSVFoodConsumption; // alters food consumption rate
INT8 sSVDrinkConsumption;
UINT8 usSVSnakeDefense; // increases chance to evade a snake attack
} SKILL_TRAIT_VALUES;
// HEADROCK HAM 4: Constants used as coefficients by the various parts of the new CTH system.