# HG changeset patch # User Wuzzy # Date 1534250387 -3600 # Node ID a1bfc81f629573806813a86972d9277116f408e0 # Parent 0fabf4dad331c1f2a358c47ae3a840ad500d0d9e LuaAPI: Add tint explanation for PlaceSprite diff -r 0fabf4dad331 -r a1bfc81f6295 LuaAPI.wiki --- a/LuaAPI.wiki Tue Aug 14 08:35:40 2018 +0100 +++ b/LuaAPI.wiki Tue Aug 14 13:39:47 2018 +0100 @@ -1189,8 +1189,13 @@ * `sprCustom1` * `sprCustom2` -`tint` is for an RGBA colouring to apply, this works about the same as `Tint` in gears. `behind` indicates the sprite should not replace existing land. `flipHoriz` and `flipVert` are for mirroring the sprite vertically and horizontally before placing, respectively. -The 9th and later arguments specify land flags (see the constants section) to be used for the newly created terrain. If omited, `lfNormal` is assumed. +`tint` is for an RGBA colouring to apply, this works about the same as `Tint` in gears. If `nil`, the original color is used. + +`behind` indicates the sprite should not replace existing land. + +`flipHoriz` and `flipVert` are for mirroring the sprite vertically and horizontally before placing, respectively. + +The 9th and later arguments specify land flags (see the constants section) to be used for the newly created terrain. If omitted, `lfNormal` is assumed. Example: