# HG changeset patch # User Wuzzy # Date 1519471446 0 # Node ID 770aa6d54ae2eaf555922b14c51910f1ccd2b391 # Parent c307fe8fb9757296d24844902e4797eb227613ee LuaAPI: clarify HogLevel stuff diff -r c307fe8fb975 -r 770aa6d54ae2 LuaAPI.wiki --- a/LuaAPI.wiki Sat Feb 24 11:17:16 2018 +0000 +++ b/LuaAPI.wiki Sat Feb 24 11:24:06 2018 +0000 @@ -597,7 +597,7 @@ Returns the health of the gear. Depending on the gear type, the gear's “health” can also refer to other things, see [GearTypes] for a full list. === !GetHogLevel(gearUid) === -Returns the bot level ranging from `0` to `5`. `1` is the strongest bot level and `5` is the weakest one. `0` is for human player. +Returns the bot level ranging from `0` to `5`. `1` is the strongest bot level and `5` is the weakest one (this is the reverse of what players see). `0` is for human player. === !GetGearPos(gearUid) === Get the `Pos` value of the specified gear. `Pos` is just another arbitrary value to hold the state of the gear, such as `Tag` and `Health`, the meaning depends on the gear type. See [GearTypes] for the conrete meaning of a gear's `Pos` value. @@ -944,7 +944,7 @@ Sets the timer of the specified gear. Also see `GetTimer`. === !SetHogLevel(gearUid, level) === -Sets the bot level from 0 to 5. `0` means human player. +Sets the bot level from 0 to 5. `1` is the strongest bot level and `5` is the weakest one (this is the reverse of what players see). `0` means human player. === `SetGearAIHints(gearUid, aiHint)` === Set some behaviour hints for computer-controlled hedgehogs for any given gear with `gearUid`.