# HG changeset patch # User almikes@aol.com # Date 1418484849 0 # Node ID 7b95addbe9fc7216798021d58cfebc67e8cde90b # Parent 8c326a00ead36434cf02791b3feb08794804c020 Move “color” into new data types section. diff -r 8c326a00ead3 -r 7b95addbe9fc LuaAPI.wiki --- a/LuaAPI.wiki Sat Dec 13 15:32:42 2014 +0000 +++ b/LuaAPI.wiki Sat Dec 13 15:34:09 2014 +0000 @@ -39,7 +39,8 @@ === Functions called by the game: Event Handlers === After successfully loading the Lua script the game will call the following functions on different occasions. To be used, they have to use the exact same name as defined below. -== Color == +== Data types == +=== Color === Some functions take a `color` parameter. Colors are stored in RGB and are always specified as a three-byte number, where each byte defines a component. The value 0 means no intensity and 255 is largest intensity of the component.