diff -r 7a5b840a3dd4 -r 17a55d9cc7b9 LuaAPI.wiki --- a/LuaAPI.wiki Tue Jul 24 17:31:33 2018 +0100 +++ b/LuaAPI.wiki Tue Jul 31 00:04:52 2018 +0100 @@ -509,6 +509,9 @@ === !GetHogName(gearUid) === Returns the name of the specified hedgehog gear. +=== !IsHogHidden(gearUid) (0.9.25) === +Returns true if hedgehog gear is hidden (via `HideHog` or the !TimeBox, false if it isn't, nil if that hedgehog never existed. + === !GetEffect(gearUid, effect) === Returns the state of given effect for the given hedgehog gear. @@ -1266,9 +1269,15 @@ ==== `SetVampiric(bool)` (0.9.24) ==== Toggles vampirism mode for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Vampirism), `false` to disable. +==== `GetVampiric()` (0.9.25) ==== +Returns true if vampirism mode is currently active. + ==== `SetLaserSight(bool)` (0.9.24) ==== Toggles laser sight for this turn. Set `bool` to `true` to enable (same effect as if the hedgehog has used Laser Sight), `false` to disable. +==== `GetLaserSight()` (0.9.25) ==== +Returns true if laser sight (as utility) is currently active. The sniper rifle's built-in laser sight does not count. + ==== `EnableSwitchHog()` (0.9.25) ==== Enable hog switching mode for the current hedgehog. This function should be called while the hedgehog is standing on solid ground (`GetFlightTime` returns 0).