Glasslike_framed nodes: Add 'glasslikeliquidlevel' paramtype2
authorparamat <mat.gregory@virginmedia.com>
Wed, 29 Mar 2017 03:59:19 +0000 (04:59 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 30 Mar 2017 03:24:23 +0000 (04:24 +0100)
mods/default/nodes.lua

index c70f614bcbc3662a558b37c1e44cbaf8179c0b3f..db679830971860c91d4ae0ea3dc6e9578d72b786 100644 (file)
@@ -2078,6 +2078,7 @@ minetest.register_node("default:glass", {
        drawtype = "glasslike_framed_optional",
        tiles = {"default_glass.png", "default_glass_detail.png"},
        paramtype = "light",
+       paramtype2 = "glasslikeliquidlevel",
        sunlight_propagates = true,
        is_ground_content = false,
        groups = {cracky = 3, oddly_breakable_by_hand = 3},
@@ -2089,6 +2090,7 @@ minetest.register_node("default:obsidian_glass", {
        drawtype = "glasslike_framed_optional",
        tiles = {"default_obsidian_glass.png", "default_obsidian_glass_detail.png"},
        paramtype = "light",
+       paramtype2 = "glasslikeliquidlevel",
        is_ground_content = false,
        sunlight_propagates = true,
        sounds = default.node_sound_glass_defaults(),