LuaGlobals: Add InitHealth draft
authorWuzzy
Fri, 21 Jun 2019 23:19:31 +0100
changeset 1936 f03a8c73065a
parent 1935 e007757c3e65
child 1937 55255a1feba7
LuaGlobals: Add InitHealth
LuaGlobals.wiki
--- a/LuaGlobals.wiki	Fri Jun 21 23:17:15 2019 +0100
+++ b/LuaGlobals.wiki	Fri Jun 21 23:19:31 2019 +0100
@@ -80,6 +80,7 @@
 || `TemplateFilter` || `0` || Used for random map generators. This is the number of the template filter to be used. A template filter is a grouping of multiple land templates. This corresponds directly to the map size / map style selection in the frontend (e.g. Small/Medium/Large/Cavern/Wacky). ||
 || `MapFeatureSize` || `50` (`12` in 1.0.0) || Used by random maps to determine its “curvyness” or complexity. This value can be set by the user with the slider under the random map preview in the game setup screen. The user-set value ranges from 1 (leftmost position) to 25 (rightmost position). A good starting value is `12`. ||
 || `GameFlags` || `0` || All `GameFlags` combined as a bitmask. Setting `GameFlags` directly is discouraged, use the [LuaGameplay#GameFlags_functions GameFlags functions] instead ||
+|| `InitHealth` || `100` || (1.0.0) Initial hedgehog health from the game scheme (read-only) ||
 || `Ready` || `5000` || Ready timer at the start of the turn (in milliseconds) ||
 || `Delay` || `100` || Time the current hedgehog needs to be inactive before gear stuff gets updated in infinite attack mode, like applying hog damage and deaths. This is quite an obscure variable, only change it if you know what you're doing ||
 || `TurnTime` || `45000` || Turn time in milliseconds ||