forked from mtcontrib/christmas_craft
Add christmas_craft support to fir leaves bright and apple
This commit is contained in:
parent
4835ba258e
commit
da17b6365c
12
snow.lua
12
snow.lua
@ -114,8 +114,20 @@ if minetest.get_modpath("moretrees") then
|
|||||||
"moretrees_"..leaves.."_leaves.png^christmas_snow_leaves.png"
|
"moretrees_"..leaves.."_leaves.png^christmas_snow_leaves.png"
|
||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- fir with bright needles
|
||||||
|
minetest.override_item("moretrees:fir_leaves_bright", {
|
||||||
|
tiles = {
|
||||||
|
"moretrees_fir_leaves_bright.png^christmas_snow_leaves.png"
|
||||||
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Replace apple by the snow version
|
||||||
|
minetest.override_item("default:apple", {
|
||||||
|
tiles = {"snow_apple.png"},
|
||||||
|
inventory_image = "snow_apple.png"
|
||||||
|
})
|
||||||
|
|
||||||
-- replace grass
|
-- replace grass
|
||||||
for i=1,5 do
|
for i=1,5 do
|
||||||
minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}})
|
minetest.override_item("default:grass_" .. i, {tiles = {"christmas_grass_"..i..".png"}})
|
||||||
|
Loading…
Reference in New Issue
Block a user