Disable Sudden Death for all A Classic Fairytale missions
authorWuzzy <Wuzzy2@mail.ru>
Tue, 21 May 2019 12:58:28 +0200
changeset 15040 51fbc0034c6f
parent 15039 cf5d6ee109c9
child 15041 fa597f6e301d
Disable Sudden Death for all A Classic Fairytale missions
ChangeLog.txt
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/enemy.lua
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua
share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua
--- a/ChangeLog.txt	Tue May 21 12:37:35 2019 +0200
+++ b/ChangeLog.txt	Tue May 21 12:58:28 2019 +0200
@@ -52,6 +52,7 @@
  * Backstab: Prevent attacking the cannibals before making the choice
  * First blood: Fix Lua error when hitting Attack after failing the rope challenge
  * General: Clear hazards around cyborg when it appears in cut scenes
+ * General: Disable Sudden Death for all missions
  * Various minor tweaks and bugfixes
 
 A Space Adventure:
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua	Tue May 21 12:37:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/dragon.lua	Tue May 21 12:58:28 2019 +0200
@@ -681,7 +681,8 @@
   Explosives = 0
   MapGen = mgDrawn
   Theme = "City"
-  SuddenDeathTurns = 25
+  WaterRise = 0
+  HealthDecrease = 0
 
   for i = 1, #map do
      ParseCommand('draw ' .. map[i])
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/enemy.lua	Tue May 21 12:37:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/enemy.lua	Tue May 21 12:58:28 2019 +0200
@@ -610,7 +610,8 @@
 	Explosives = 0
   Map = "Islands"
 	Theme = "EarthRise"
-  SuddenDeathTurns = 20
+  WaterRise = 0
+  HealthDecrease = 0
 
   GetVariables()
   AnimInit()
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua	Tue May 21 12:37:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/family.lua	Tue May 21 12:58:28 2019 +0200
@@ -587,7 +587,8 @@
 	Explosives = 0
   MapGen = mgDrawn
 	Theme = "Hell"
-  SuddenDeathTurns = 35
+  WaterRise = 0
+  HealthDecrease = 0
 
 	for i = 1, #map do
 		ParseCommand('draw ' .. map[i])
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua	Tue May 21 12:37:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/first_blood.lua	Tue May 21 12:58:28 2019 +0200
@@ -747,6 +747,8 @@
 	Explosives = 0
 	Map = "A_Classic_Fairytale_first_blood"
 	Theme = "Nature"
+	WaterRise = 0
+	HealthDecrease = 0
 
 
   AddMissionTeam(-2)
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua	Tue May 21 12:37:35 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/queen.lua	Tue May 21 12:58:28 2019 +0200
@@ -774,7 +774,8 @@
 	Explosives = 0
   MapGen = mgDrawn
 	Theme = "Hell"
-  SuddenDeathTurns = 20
+  HealthDecrease = 0
+  WaterRise = 0
 
 	for i = 1, #map do
 		ParseCommand('draw ' .. map[i])