# HG changeset patch # User Wuzzy # Date 1555686470 -3600 # Node ID 365c30b4c669831b0069e1de3007824e5e1326a6 # Parent e562fccced8eb5eef5edf4749c474e8d284a100b LuaGears: Add temporary mistake to test documentation script diff -r e562fccced8e -r 365c30b4c669 LuaGears.wiki --- a/LuaGears.wiki Fri Apr 19 16:06:34 2019 +0100 +++ b/LuaGears.wiki Fri Apr 19 16:07:50 2019 +0100 @@ -11,7 +11,7 @@ == Creation == -=== `AddGear(x, y, gearType, state, dx, dy, timer)` === +=== `AddXGear(x, y, gearType, state, dx, dy, timer)` === This creates a new gear at position x,y (measured from top left) of kind `gearType` (see [GearTypes Gear Types]). The initial velocities are `dx` and `dy`. All arguments are numbers. The function returns the `uid` of the gear created. Gears can have multple states at once: `state` is a bitmask, the flag variables can be found in [States]. `timer` is the initial timer value of the gear. If a particular gear value does not matter, use `0`.