# HG changeset patch # User Wuzzy # Date 1507649651 -3600 # Node ID 98156a84cdd9152fdd8852178adf21f626dac5f6 # Parent 2b133f66693ad7b346584f5364dde99b84e2bf4e LuaAPI: fix typos diff -r 2b133f66693a -r 98156a84cdd9 LuaAPI.wiki --- a/LuaAPI.wiki Tue Oct 10 16:18:31 2017 +0100 +++ b/LuaAPI.wiki Tue Oct 10 16:34:11 2017 +0100 @@ -78,9 +78,9 @@ || *Identifier* || *Description* || || `LAND_WIDTH` || The width of the landscape in pixels || || `LAND_HEIGHT` || The height of the landscape in pixels || -|| `LeftX` || X coordinate of the leftmost point of the landsacpe || -|| `RightX` || X coordinate of the rightmost point of the landsacpe || -|| `TopY` || Y coordinate of the topmost point of the landsacpe || +|| `LeftX` || X coordinate of the leftmost point of the landscape || +|| `RightX` || X coordinate of the rightmost point of the landscape || +|| `TopY` || Y coordinate of the topmost point of the landscape || || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` || || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` || || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. || @@ -1364,8 +1364,8 @@ There are many available commands, but only a few of them are useful for scripting. These are commands used in official scripts in 0.9.22: -* `"skip"`: Current hedgehog skips its turn -* `"draw "`: Draws a hand-drawn map. `MapGen` must be `mgDrawn` for this to work. `` is a string which must follow the format specified in [DrawnMapFormat] + * `"skip"`: Current hedgehog skips its turn + * `"draw "`: Draws a hand-drawn map. `MapGen` must be `mgDrawn` for this to work. `` is a string which must follow the format specified in [DrawnMapFormat] Moreover, the control action names as listed in [ConfigurationFiles] (under “Binds”) can be used. Note we will eventually try to remove all `ParseCommand`s in the official scripts.