mirror of
https://gitlab.icynet.eu/evert/melterns.git
synced 2024-11-30 19:03:46 +01:00
12 lines
344 B
Lua
12 lines
344 B
Lua
|
|
function tinkering.color_filter(texture, color)
|
|
return texture.."^[multiply:"..color
|
|
end
|
|
|
|
function tinkering.combine_textures(tex1, tex2, color1, color2, offset, dp)
|
|
local main_tex = tex1 .."\\^[multiply\\:".. color1
|
|
local rod_tex = tex2 .."\\^[multiply\\:".. color2
|
|
|
|
return "[combine:16x16:"..offset.."="..main_tex..":0,0="..rod_tex
|
|
end
|