use regular syntax for water_poison for compatibility
parent
a9ed16717c
commit
bc28471d26
108
nodes.lua
108
nodes.lua
|
@ -222,28 +222,94 @@ newnode.groups = {snappy = 3, flammable = 2}
|
||||||
minetest.register_node("loud_walking:leaves_black", newnode)
|
minetest.register_node("loud_walking:leaves_black", newnode)
|
||||||
|
|
||||||
|
|
||||||
newnode = loud_walking.clone_node("default:water_source")
|
minetest.register_node("loud_walking:water_poison_source", {
|
||||||
newnode.description = "Poisonous Water"
|
description = "Poisonous Water",
|
||||||
newnode.groups.poison = 3
|
drawtype = "liquid",
|
||||||
--newnode.light_source = 6
|
tiles = {
|
||||||
newnode.liquid_alternative_flowing = "loud_walking:water_poison_flowing"
|
{
|
||||||
newnode.liquid_alternative_source = "loud_walking:water_poison_source"
|
name = "loud_walking_water_poison_source_animated.png",
|
||||||
newnode.post_effect_color = {a = 103, r = 108, g = 128, b = 64}
|
backface_culling = false,
|
||||||
newnode.special_tiles[1].name = "loud_walking_water_poison_source_animated.png"
|
animation = {
|
||||||
newnode.tiles[1].name = "loud_walking_water_poison_source_animated.png"
|
type = "vertical_frames",
|
||||||
minetest.register_node("loud_walking:water_poison_source", newnode)
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
newnode = loud_walking.clone_node("default:water_flowing")
|
length = 2.0,
|
||||||
newnode.description = "Poisonous Water"
|
},
|
||||||
newnode.groups.poison = 3
|
},
|
||||||
--newnode.light_source = 6
|
{
|
||||||
newnode.liquid_alternative_flowing = "loud_walking:water_poison_flowing"
|
name = "loud_walking_water_poison_source_animated.png",
|
||||||
newnode.liquid_alternative_source = "loud_walking:water_poison_source"
|
backface_culling = true,
|
||||||
newnode.post_effect_color = {a = 103, r = 108, g = 128, b = 64}
|
animation = {
|
||||||
newnode.special_tiles[1].name = "loud_walking_water_poison_flowing_animated.png"
|
type = "vertical_frames",
|
||||||
newnode.tiles[1] = "loud_walking_water_poison.png"
|
aspect_w = 16,
|
||||||
minetest.register_node("loud_walking:water_poison_flowing", newnode)
|
aspect_h = 16,
|
||||||
|
length = 2.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
alpha = 160,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_alternative_flowing = "loud_walking:water_poison_flowing",
|
||||||
|
liquid_alternative_source = "loud_walking:water_poison_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 108, g = 128, b = 64},
|
||||||
|
groups = {water = 3, liquid = 3, cools_lava = 1, poison = 4},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("loud_walking:water_poison_flowing", {
|
||||||
|
description = "Poisonous Water",
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
tiles = {"loud_walking_water_poison.png"},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "loud_walking_water_poison_flowing_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 0.8,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "loud_walking_water_poison_flowing_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 0.8,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
alpha = 160,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "flowingliquid",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "flowing",
|
||||||
|
liquid_alternative_flowing = "loud_walking:water_poison_flowing",
|
||||||
|
liquid_alternative_source = "loud_walking:water_poison_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 108, g = 128, b = 64},
|
||||||
|
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
||||||
|
cools_lava = 1, poison = 3},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("loud_walking:basalt", {
|
minetest.register_node("loud_walking:basalt", {
|
||||||
description = "Basalt",
|
description = "Basalt",
|
||||||
|
|
Loading…
Reference in New Issue