From db481e72321977f982d47f48be402565acc3443c Mon Sep 17 00:00:00 2001 From: TriBlade9 Date: Mon, 19 Jan 2015 14:15:20 +0800 Subject: Added ratio argument to colorize, removed the weird alpha-based ratio. --- doc/lua_api.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 6359ef6de..586c520fc 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -337,9 +337,11 @@ Apply a mask to the base image. The mask is applied using binary AND. -#### `[colorize:` +#### `[colorize::` Colorize the textures with the given color. `` is specified as a `ColorString`. +`` is an int ranging from 0 to 255, and specifies how much of the +color to apply. If ommitted, the alpha will be used. Sounds ------ @@ -3259,4 +3261,3 @@ Definition tables playername = "singleplayer" -- ^ Playername is optional, if specified spawns particle only on the player's client } - -- cgit v1.2.3