1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-29 16:00:16 +01:00

fix plantlike rotation

This commit is contained in:
HybridDog 2015-11-21 21:26:45 +01:00
parent a217f17566
commit 35c21dd879

View File

@ -186,6 +186,7 @@ minetest.register_node("snow:shrub", table.copy(nodedef))
nodedef.tiles = {"snow_shrub.png^snow_shrub_covering.png"} nodedef.tiles = {"snow_shrub.png^snow_shrub_covering.png"}
nodedef.inventory_image = "snow_shrub.png^snow_shrub_covering.png" nodedef.inventory_image = "snow_shrub.png^snow_shrub_covering.png"
nodedef.wield_image = "snow_shrub.png^snow_shrub_covering.png" nodedef.wield_image = "snow_shrub.png^snow_shrub_covering.png"
nodedef.paramtype2 = "degrotate"
nodedef.drop = "snow:shrub" nodedef.drop = "snow:shrub"
nodedef.furnace_burntime = 3 nodedef.furnace_burntime = 3
minetest.register_node("snow:shrub_covered", nodedef) minetest.register_node("snow:shrub_covered", nodedef)
@ -203,6 +204,7 @@ if rawget(_G, "flowers") then
tiles = { "snow_" .. name .. ".png" }, tiles = { "snow_" .. name .. ".png" },
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
paramtype2 = "degrotate",
walkable = false, walkable = false,
drop = "", drop = "",
groups = {snappy=3, attached_node = 1}, groups = {snappy=3, attached_node = 1},
@ -237,6 +239,7 @@ nodedef = {
drawtype = "plantlike", drawtype = "plantlike",
tiles = {"snow_apple.png"}, tiles = {"snow_apple.png"},
paramtype = "light", paramtype = "light",
paramtype2 = "degrotate",
walkable = false, walkable = false,
sunlight_propagates = apple.sunlight_propagates, sunlight_propagates = apple.sunlight_propagates,
selection_box = apple.selection_box, selection_box = apple.selection_box,