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.