Prevent coral duping with mesecons sticky piston

This commit is contained in:
Juraj Vajda 2023-12-18 09:49:40 -05:00
parent 976c66f02a
commit c261910d59

View File

@ -7883,7 +7883,7 @@ Everness:register_node('everness:coral_corals', {
dug = { name = 'everness_grass_footstep', gain = 0.25 },
}),
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' })
end,
})
@ -7922,7 +7922,7 @@ Everness:register_node('everness:coral_jellyfish', {
dug = { name = 'everness_grass_footstep', gain = 0.25 },
}),
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' })
end,
})
@ -7961,7 +7961,7 @@ Everness:register_node('everness:coral_frosted', {
dug = { name = 'everness_grass_footstep', gain = 0.25 },
}),
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' })
end,
})
@ -8000,7 +8000,7 @@ Everness:register_node('everness:coral_starfish', {
dug = { name = 'everness_grass_footstep', gain = 0.25 },
}),
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' })
end,
})
@ -8081,7 +8081,7 @@ Everness:register_node('everness:sand_with_spine_kelp', {
return itemstack
end,
after_destruct = function(pos, oldnode)
after_dig_node = function(pos, oldnode, oldmetadata, digger)
minetest.set_node(pos, { name = 'everness:cursed_stone' })
end
})
@ -8131,7 +8131,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_1', {
}
)
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' })
end,
})
@ -8181,7 +8181,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_2', {
}
)
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' })
end,
})
@ -8231,7 +8231,7 @@ Everness:register_node('everness:coral_forest_deep_ocean_coral_plant_3', {
}
)
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' })
end,
})
@ -8281,7 +8281,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_anemone', {
}
)
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' })
end,
})
@ -8331,7 +8331,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_darkilluma'
}
)
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' })
end,
})
@ -8381,7 +8381,7 @@ Everness:register_node('everness:cursed_lands_deep_ocean_coral_plant_demon', {
}
)
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' })
end,
})
@ -8431,7 +8431,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_1', {
}
)
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' })
end,
})
@ -8481,7 +8481,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_2', {
}
)
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' })
end,
})
@ -8531,7 +8531,7 @@ Everness:register_node('everness:crystal_forest_deep_ocean_coral_plant_3', {
}
)
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' })
end,
})