Disable world edge in Space Invasion
authorWuzzy <almikes@aol.com>
Thu, 24 Nov 2016 05:49:57 +0100
changeset 12068 797d1236a56b
parent 12067 3d03e9294633
child 12069 54f53cf14ae4
Disable world edge in Space Invasion
share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Thu Nov 24 05:41:50 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Thu Nov 24 05:49:57 2016 +0100
@@ -33,14 +33,13 @@
 
 You CANNOT use any other of the on/off options in the game scheme. Those settings are simply discarded by the script.
 
-You also can change the following settings in the game scheme
+You also can change the following settings in the game scheme:
 - time per round (very important)
 - script parameters, see below
-- terrain edge other than none (they kinda work, but they aren’t well supported by the script either)
 
 The other settings are technically possible, but their effect is limited:
 - damage percentage
-- mines (they don’t harm the active hedgehog, however)
+- mines/air mines (they don’t harm the active hedgehog, however)
 - number of barrels
 
 All other variables are discarded, the script forces its own settings.
@@ -247,6 +246,8 @@
 --------------------------
 -- imitate winning animation at end instead of just ending the game
 
+-- add support for other world edges (they are currently disabled)
+
 -- maybe add a check for a tie, IMPOSSIBRU THERE ARE NO TIES
 -- more achievements?
 -- more just-for-fun awards (for stats screen)
@@ -1206,6 +1207,7 @@
 	SuddenDeathTurns = 50
 	WaterRise = 0
 	HealthDecrease = 0
+	WorldEdge = weNone
 
 	for i = 0, 4 do
 		vTag[0] = AddVisualGear(0, 0, vgtHealthTag, 0, false)