Remove wallmounted from sea grass
This commit is contained in:
parent
ac59649fcf
commit
d4ff78af65
@ -1706,7 +1706,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
default.register_decoration(
|
||||
{
|
||||
@ -1721,7 +1720,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
default.register_decoration(
|
||||
{
|
||||
@ -1736,7 +1734,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
default.register_decoration(
|
||||
{
|
||||
@ -1751,7 +1748,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
|
||||
-- Extra sea grass in swamp meadow biomes
|
||||
@ -1769,7 +1765,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
default.register_decoration(
|
||||
{
|
||||
@ -1785,7 +1780,6 @@ default.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
param2 = 1,
|
||||
})
|
||||
|
||||
end
|
||||
|
@ -1093,14 +1093,6 @@ return function(itemstack, placer, pointed_thing)
|
||||
def_under = minetest.registered_nodes[node_under.name]
|
||||
if def_under and def_under.place_param2 then
|
||||
node_under.param2 = def_under.place_param2
|
||||
elseif paramtype2 == "wallmounted" then
|
||||
if pos_under.y > pos_above.y then
|
||||
node_under.param2 = 0
|
||||
elseif pos_under.y < pos_above.y then
|
||||
node_under.param2 = 1
|
||||
else
|
||||
return itemstack
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -1125,7 +1117,6 @@ local register_seagrass = function(plant_id, selection_box, drop, append, baseno
|
||||
collision_box = {
|
||||
type = "regular",
|
||||
},
|
||||
paramtype2 = "wallmounted",
|
||||
visual_scale = 1.15,
|
||||
tiles = basenode_tiles,
|
||||
special_tiles = {"rp_default_"..plant_id.."_clump.png"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user