1
0
Fork 0

Fix texture modifiers relying on undocumented behavior

This commit is contained in:
Lars Mueller 2023-05-27 17:27:01 +02:00
parent 019717cab0
commit b866d5d98e
3 changed files with 6 additions and 6 deletions

View File

@ -89,7 +89,7 @@ local function get_beacon_beam(glass_nodename)
end end
minetest.register_node("mcl_beacons:beacon_beam", { minetest.register_node("mcl_beacons:beacon_beam", {
tiles = {"^[colorize:#b8bab9"}, tiles = {"blank.png^[noalpha^[colorize:#b8bab9"},
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
type = "fixed", type = "fixed",

View File

@ -370,7 +370,7 @@ minetest.register_node("mcl_core:dirt_with_grass", {
_doc_items_hidden = false, _doc_items_hidden = false,
paramtype2 = "color", paramtype2 = "color",
tiles = {"mcl_core_grass_block_top.png", { name="default_dirt.png", color="white" }, { name="default_dirt.png^mcl_dirt_grass_shadow.png", color="white" }}, tiles = {"mcl_core_grass_block_top.png", { name="default_dirt.png", color="white" }, { name="default_dirt.png^mcl_dirt_grass_shadow.png", color="white" }},
overlay_tiles = {"mcl_core_grass_block_top.png", "", {name="mcl_core_grass_block_side_overlay.png", tileable_vertical=false}}, overlay_tiles = {"mcl_core_grass_block_top.png", "blank.png", {name="mcl_core_grass_block_side_overlay.png", tileable_vertical=false}},
palette = "mcl_core_palette_grass.png", palette = "mcl_core_palette_grass.png",
palette_index = 0, palette_index = 0,
color = "#7CBD6B", color = "#7CBD6B",

View File

@ -314,18 +314,18 @@ function mcl_farming:add_gourd(full_unconnected_stem, connected_stem_basename, s
"blank.png", -- right "blank.png", -- right
"blank.png", -- left "blank.png", -- left
connected_stem_texture, -- back connected_stem_texture, -- back
connected_stem_texture .. "^[transformFX90" --front connected_stem_texture .. "^[transformFX" --front
}, },
{ "blank.png", --top { "blank.png", --top
"blank.png", -- bottom "blank.png", -- bottom
"blank.png", -- right "blank.png", -- right
"blank.png", -- left "blank.png", -- left
connected_stem_texture .. "^[transformFX90", --back connected_stem_texture .. "^[transformFX", --back
connected_stem_texture, -- front connected_stem_texture, -- front
}, },
{ "blank.png", --top { "blank.png", --top
"blank.png", -- bottom "blank.png", -- bottom
connected_stem_texture .. "^[transformFX90", -- right connected_stem_texture .. "^[transformFX", -- right
connected_stem_texture, -- left connected_stem_texture, -- left
"blank.png", --back "blank.png", --back
"blank.png", -- front "blank.png", -- front
@ -333,7 +333,7 @@ function mcl_farming:add_gourd(full_unconnected_stem, connected_stem_basename, s
{ "blank.png", --top { "blank.png", --top
"blank.png", -- bottom "blank.png", -- bottom
connected_stem_texture, -- right connected_stem_texture, -- right
connected_stem_texture .. "^[transformFX90", -- left connected_stem_texture .. "^[transformFX", -- left
"blank.png", --back "blank.png", --back
"blank.png", -- front "blank.png", -- front
} }