add additional sinking nodes
This commit is contained in:
parent
26aeda4952
commit
19748cd3bd
34
nodes.lua
34
nodes.lua
@ -475,3 +475,37 @@ for i = 1, 16 do
|
|||||||
local name = name[i]
|
local name = name[i]
|
||||||
minetest.override_item("wool:"..name, {sounds = illuna.node_sound_wool()})
|
minetest.override_item("wool:"..name, {sounds = illuna.node_sound_wool()})
|
||||||
end
|
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(),
|
||||||
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user