LuaAPI.wiki
changeset 861 ccbc115e68ad
parent 860 a7ddaecf54f3
child 862 d06141c36428
equal deleted inserted replaced
860:a7ddaecf54f3 861:ccbc115e68ad
   165 || `MinesTime` || `3000` || Time for a mine to explode from activated (in milliseconds), `-1000` for random ||
   165 || `MinesTime` || `3000` || Time for a mine to explode from activated (in milliseconds), `-1000` for random ||
   166 || `MineDudPercent` || `0` || Chance of mine being a dud, in percent ||
   166 || `MineDudPercent` || `0` || Chance of mine being a dud, in percent ||
   167 || `Explosives` || `2` || Number of barrels being placed on a medium-sized map ||
   167 || `Explosives` || `2` || Number of barrels being placed on a medium-sized map ||
   168 || `SuddenDeathTurns` || `15` || Turns until Sudden Death begins ||
   168 || `SuddenDeathTurns` || `15` || Turns until Sudden Death begins ||
   169 || `WaterRise` || `47` || Height of water rise each turn in Sudden Death, in pixels ||
   169 || `WaterRise` || `47` || Height of water rise each turn in Sudden Death, in pixels ||
   170 || `HealthDecrease || `5` || Amount of health decreased on each turn in Sudden Death ||
   170 || `HealthDecrease` || `5` || Amount of health decreased on each turn in Sudden Death ||
   171 || `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`. ||
   171 || `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`. ||
   172 || `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen ||
   172 || `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen ||
   173 || `ScreenHeigth` || _N/A_ || Heigth of the Hedgewars window or screen ||
   173 || `ScreenHeigth` || _N/A_ || Heigth of the Hedgewars window or screen ||
   174 
   174 
   175 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.
   175 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.