diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 263ede00b..26569abaa 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -2667,6 +2667,24 @@ HEARING_REDUCTION_THUNDERSTORM = 0.8 HEARING_REDUCTION_SANDSTORM = 0.6 HEARING_REDUCTION_SNOW = 0.1 +;****************************************************************************************************************************** +;****************************************************************************************************************************** + +[Environment Hazard Settings] + +;****************************************************************************************************************************** +; In this section you can enable various hazards to soldiers. These depend on the sector they are in. +;****************************************************************************************************************************** + +;------------------------------------------------------------------------------------------------------------------------------ +; Snake settings +; +; In some sectors, water sources harbour venomous snakes. These will occasionally attack anyone in that water. +; The chance of snakes being active can be set via in SectorNames.xml. This chance is evaluated anew each turn. +; Soldiers have a small chance of evading an attack, this is raised if they have the survival trait or a knife. +;------------------------------------------------------------------------------------------------------------------------------ + +ALLOW_SNAKES = TRUE ;****************************************************************************************************************************** ;****************************************************************************************************************************** diff --git a/gamedir/Data-1.13/Skills_Settings.INI b/gamedir/Data-1.13/Skills_Settings.INI index 34e6ba5c2..012c99bd2 100644 --- a/gamedir/Data-1.13/Skills_Settings.INI +++ b/gamedir/Data-1.13/Skills_Settings.INI @@ -867,4 +867,7 @@ DISEASE_RESISTANCE = 10 ; modifies how fast food is consumed, e.g. -50 means food consumption is lowered by 50% ; values from -100% to 100% FOOD_CONSUMPTION = -20 -DRINK_CONSUMPTION = -10 \ No newline at end of file +DRINK_CONSUMPTION = -10 + +; bonus to evade snake attacks in water +SNAKE_EVADE_BONUS = 10 \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Map/SectorNames.xml b/gamedir/Data-1.13/TableData/Map/SectorNames.xml index d9b11cafb..86800f745 100644 --- a/gamedir/Data-1.13/TableData/Map/SectorNames.xml +++ b/gamedir/Data-1.13/TableData/Map/SectorNames.xml @@ -45,6 +45,9 @@ chance that, if it snows, it will also happen in this sector + + + Value between 0 and 100. If > 0, snakes can attack people in water. The higher the value, the more frequent this happens. --> @@ -58,6 +61,8 @@ 2 80 0 + 0 + 0 A2 @@ -407,6 +412,7 @@ 500 70 0 + 50 B16 @@ -586,6 +592,7 @@ 500 70 0 + 50 C16 @@ -597,6 +604,7 @@ 100 70 0 + 50 D1 @@ -736,6 +744,7 @@ 500 60 0 + 50 D13 @@ -896,6 +905,7 @@ 500 70 0 + 50 E11 @@ -940,6 +950,7 @@ 500 70 0 + 50 E15 @@ -1333,6 +1344,7 @@ 500 60 0 + 50 H1 @@ -1513,6 +1525,7 @@ 500 70 0 + 50 H16 @@ -1764,6 +1777,7 @@ 500 75 0 + 50 J5 @@ -1775,6 +1789,7 @@ 500 75 0 + 50 J6 @@ -1949,6 +1964,7 @@ 500 80 0 + 50 K4 @@ -1961,6 +1977,7 @@ 2 80 0 + 50 K5 @@ -1972,6 +1989,7 @@ 500 80 0 + 50 K6 @@ -2126,6 +2144,7 @@ 500 80 0 + 50 L4 @@ -2137,6 +2156,7 @@ 500 80 0 + 50 L5 @@ -2250,6 +2270,7 @@ 500 80 0 + 50 L15 @@ -2307,6 +2328,7 @@ 2 90 0 + 50 M4 @@ -2432,6 +2454,7 @@ 500 70 0 + 50 M15 diff --git a/gamedir/Data/Sounds/WATERSNAKE_ATTACK_01.WAV b/gamedir/Data/Sounds/WATERSNAKE_ATTACK_01.WAV new file mode 100644 index 000000000..7cb9f871b Binary files /dev/null and b/gamedir/Data/Sounds/WATERSNAKE_ATTACK_01.WAV differ diff --git a/gamedir/Data/Sounds/WATERSNAKE_ATTACK_02.WAV b/gamedir/Data/Sounds/WATERSNAKE_ATTACK_02.WAV new file mode 100644 index 000000000..2d0b66bc1 Binary files /dev/null and b/gamedir/Data/Sounds/WATERSNAKE_ATTACK_02.WAV differ diff --git a/gamedir/Data/Sounds/WATERSNAKE_MOVE_01.WAV b/gamedir/Data/Sounds/WATERSNAKE_MOVE_01.WAV new file mode 100644 index 000000000..91bfcd408 Binary files /dev/null and b/gamedir/Data/Sounds/WATERSNAKE_MOVE_01.WAV differ diff --git a/gamedir/Data/Sounds/WATERSNAKE_MOVE_02.WAV b/gamedir/Data/Sounds/WATERSNAKE_MOVE_02.WAV new file mode 100644 index 000000000..fdf5dc93a Binary files /dev/null and b/gamedir/Data/Sounds/WATERSNAKE_MOVE_02.WAV differ diff --git a/gamedir/Data/Tilecache/WATERSNAKE_MOVE.sti b/gamedir/Data/Tilecache/WATERSNAKE_MOVE.sti new file mode 100644 index 000000000..f656d970e Binary files /dev/null and b/gamedir/Data/Tilecache/WATERSNAKE_MOVE.sti differ