LuaAPI: Sudden Death disable
authorWuzzy
Thu, 07 Apr 2016 19:48:44 +0100
changeset 862 d06141c36428
parent 861 ccbc115e68ad
child 863 825d0dcd739f
LuaAPI: Sudden Death disable
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Apr 07 19:40:46 2016 +0100
+++ b/LuaAPI.wiki	Thu Apr 07 19:48:44 2016 +0100
@@ -166,12 +166,14 @@
 || `MineDudPercent` || `0` || Chance of mine being a dud, in percent ||
 || `Explosives` || `2` || Number of barrels being placed on a medium-sized map ||
 || `SuddenDeathTurns` || `15` || Turns until Sudden Death begins ||
-|| `WaterRise` || `47` || Height of water rise each turn in Sudden Death, in pixels ||
+|| `WaterRise` || `47` || Height of water rise in pixels for each Sudden Death turn ||
 || `HealthDecrease` || `5` || Amount of health decreased on each turn in Sudden Death ||
 || `Goals` || `""` || Use this to add additional text to the goal text popup shown at the beginning and when using the quit or pause keys. The text is added to the default text which usually explains the game modifiers and does not replace it. Use `|` for line breaks. Also, all text before and including a `:` in a line will be highlighted. See also `ShowMission`. ||
 || `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen ||
 || `ScreenHeigth` || _N/A_ || Heigth of the Hedgewars window or screen ||
 
+The proper way to disable Sudden Death is by setting both `WaterRise` and `HealthDecrease` to `0`.
+
 If you want to add teams or hogs manually, you have to do it here. If you want to draw your own map using `AddPoint` and `FlushPoints`, you have to do this within this function as well.
 
 === <tt>onGameStart()</tt> ===