Make gravel path use gravel texture with alpha mask

now texture pack makers don't need to make their own version of gravel path texture, now it's just mask that applies on default_gravel.png
This commit is contained in:
Mikita Wiśniewski 2022-03-21 15:46:37 +07:00
parent d429d73ae0
commit aa4a004087
2 changed files with 4 additions and 2 deletions

View File

@ -33,8 +33,10 @@ minetest.register_node("mcl_decor:gravel_path", {
tiles = {
"default_gravel.png",
},
wield_image = "mcl_decor_gravel_path.png",
inventory_image = "mcl_decor_gravel_path.png",
wield_image = "mcl_decor_gravel_path.png^default_gravel.png^" ..
"mcl_decor_gravel_path.png^[makealpha:255,126,126",
inventory_image = "mcl_decor_gravel_path.png^default_gravel.png^" ..
"mcl_decor_gravel_path.png^[makealpha:255,126,126",
groups = {handy=1, shovely=1, attached_node=1, dig_by_piston=1, deco_block=1, material_sand=1},
drawtype = "nodebox",
paramtype = "light",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 208 B