diff --git a/nodes.lua b/nodes.lua index 76f3717..39c48c2 100644 --- a/nodes.lua +++ b/nodes.lua @@ -484,3 +484,37 @@ for i = 1, 16 do local name = name[i] minetest.override_item("wool:"..name, {sounds = illuna.node_sound_wool()}) end + +minetest.register_node("illuna:hardwood_sink", { + description = "Illuna Hardwood Sinking", + tiles = {"building_blocks_hardwood.png"}, + liquid_viscosity = 15, + liquidtype = "source", + liquid_alternative_flowing = "illuna:hardwood_sink", + liquid_alternative_source = "illuna:hardwood_sink", + liquid_renewable = false, + liquid_range = 0, + drowning = 1, + walkable = false, + climbable = false, + post_effect_color = {r = 35, g = 21, b = 15, a = 245}, + groups = {crumbly = 3, sand = 1, liquid = 3, disable_jump = 1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("illuna:junglewood_sink", { + description = "Illuna Junglewood Sinking", + tiles = {"default_junglewood.png"}, + liquid_viscosity = 15, + liquidtype = "source", + liquid_alternative_flowing = "illuna:junglewood_sink", + liquid_alternative_source = "illuna:junglewood_sink", + liquid_renewable = false, + liquid_range = 0, + drowning = 1, + walkable = false, + climbable = false, + post_effect_color = {r = 35, g = 21, b = 15, a = 245}, + groups = {crumbly = 3, sand = 1, liquid = 3, disable_jump = 1}, + sounds = default.node_sound_wood_defaults(), +})