Liquids: Flow into and destroy 'floodable' nodes
[oweals/minetest.git] / builtin / game / register.lua
index 00bb2327879f5094e541e6b3387aa947ae66c39b..ba5f69d67defaab0f7ad940002e3d99255267b77 100644 (file)
@@ -272,6 +272,7 @@ core.register_item(":unknown", {
        description = "Unknown Item",
        inventory_image = "unknown_item.png",
        on_place = core.item_place,
+       on_secondary_use = core.item_secondary_use,
        on_drop = core.item_drop,
        groups = {not_in_creative_inventory=1},
        diggable = true,
@@ -288,6 +289,7 @@ core.register_node(":air", {
        pointable = false,
        diggable = false,
        buildable_to = true,
+       floodable = true,
        air_equivalent = true,
        drop = "",
        groups = {not_in_creative_inventory=1},