mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-02 23:00:22 +02:00
Use texture colorization where possible
Uses "color = <foo>" in the tile image def instead of compositing with ^[colorize or ^[brighten. Saves RAM.
This commit is contained in:
@ -8,22 +8,22 @@ lrfurn.fdir_to_fwd = {
|
||||
{ -1, 0 },
|
||||
}
|
||||
|
||||
lrfurn.colors = { -- mod changed to use colorize feature of minetest engine (cg72)
|
||||
{ "black", "#000000:230" },
|
||||
{ "brown", "#251005:225" },
|
||||
{ "blue", "#0000d0:225" },
|
||||
{ "cyan", "#009fa7:250" },
|
||||
{ "dark_grey", "#101010:175" },
|
||||
{ "dark_green", "#007000:230" },
|
||||
{ "green", "#00d000:250" },
|
||||
{ "grey", "#101010:100" },
|
||||
{ "magenta", "#e0048b:250" },
|
||||
{ "orange", "#ee9000:240" },
|
||||
{ "pink", "#ff90b0:250" },
|
||||
{ "red", "#800000:240" },
|
||||
{ "violet", "#9000d0:250" },
|
||||
{ "white", "#000000:000" },
|
||||
{ "yellow", "#dde000:240" }
|
||||
lrfurn.colors = {
|
||||
{ "black", 0xff000000 },
|
||||
{ "brown", 0xff251005 },
|
||||
{ "blue", 0xff0000d0 },
|
||||
{ "cyan", 0xff009fa7 },
|
||||
{ "dark_grey", 0xff101010 },
|
||||
{ "dark_green", 0xff007000 },
|
||||
{ "green", 0xff00d000 },
|
||||
{ "grey", 0xff303030 },
|
||||
{ "magenta", 0xffe0048b },
|
||||
{ "orange", 0xffee9000 },
|
||||
{ "pink", 0xffff90b0 },
|
||||
{ "red", 0xff800000 },
|
||||
{ "violet", 0xff9000d0 },
|
||||
{ "white", 0xff000000 },
|
||||
{ "yellow", 0xffdde000 }
|
||||
}
|
||||
|
||||
function lrfurn.check_forward(pos, fdir, long, placer)
|
||||
|
Reference in New Issue
Block a user