Prevent coral duping with mesecons sticky piston
This commit is contained in:
parent
976c66f02a
commit
c261910d59
28
nodes.lua
28
nodes.lua
|
@ -7883,7 +7883,7 @@ Everness:register_node('everness:coral_corals', {
|
||||||
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
||||||
}),
|
}),
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -7922,7 +7922,7 @@ Everness:register_node('everness:coral_jellyfish', {
|
||||||
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
||||||
}),
|
}),
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -7961,7 +7961,7 @@ Everness:register_node('everness:coral_frosted', {
|
||||||
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
||||||
}),
|
}),
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8000,7 +8000,7 @@ Everness:register_node('everness:coral_starfish', {
|
||||||
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
dug = { name = 'everness_grass_footstep', gain = 0.25 },
|
||||||
}),
|
}),
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
minetest.set_node(pos, { name = 'everness:coral_skeleton' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8081,7 +8081,7 @@ Everness:register_node('everness:sand_with_spine_kelp', {
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
|
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:cursed_stone' })
|
minetest.set_node(pos, { name = 'everness:cursed_stone' })
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
@ -8131,7 +8131,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_1', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8181,7 +8181,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_2', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8231,7 +8231,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_3', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:coral_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8281,7 +8281,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_anemone', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8331,7 +8331,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_darkilluma'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8381,7 +8381,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_demon', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:cursed_lands_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8431,7 +8431,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_1', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8481,7 +8481,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_2', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
@ -8531,7 +8531,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_3', {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
minetest.set_node(pos, { name = 'everness:crystal_forest_deep_ocean_sand' })
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Ŝarĝante…
Reference in New Issue