|
@ -3,96 +3,88 @@ |
|
|
-- * added liquid_range = 0 |
|
|
-- * added liquid_range = 0 |
|
|
-- * changed liquid_alternative_* params |
|
|
-- * changed liquid_alternative_* params |
|
|
-- * removed igniter from groups |
|
|
-- * removed igniter from groups |
|
|
|
|
|
|
|
|
|
|
|
-- =================================================================== |
|
|
|
|
|
|
|
|
|
|
|
local lcsa = { |
|
|
|
|
|
name = "volcanic_crusted_lava_source_animated.png" , |
|
|
|
|
|
backface_culling = false , |
|
|
|
|
|
|
|
|
|
|
|
animation = { |
|
|
|
|
|
type = "vertical_frames" , |
|
|
|
|
|
aspect_w = 16 , |
|
|
|
|
|
aspect_h = 16 , |
|
|
|
|
|
length = 3.3 , |
|
|
|
|
|
} , |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
local lava_crust_source_tiles = { lcsa } |
|
|
|
|
|
|
|
|
|
|
|
-- =================================================================== |
|
|
|
|
|
|
|
|
minetest.register_node("volcanic:crusted_lava_source", { |
|
|
minetest.register_node("volcanic:crusted_lava_source", { |
|
|
description = "Crusted Lava Source", |
|
|
|
|
|
drawtype = "liquid", |
|
|
description = "Crusted Lava Source" , |
|
|
tiles = { |
|
|
drawtype = "liquid" , |
|
|
{ |
|
|
tiles = lava_crust_source_tiles , |
|
|
name = "volcanic_crusted_lava_source_animated.png", |
|
|
special_tiles = lava_crust_source_tiles , |
|
|
animation = { |
|
|
paramtype = "light" , |
|
|
type = "vertical_frames", |
|
|
light_source = default.LIGHT_MAX - 1 , |
|
|
aspect_w = 16, |
|
|
|
|
|
aspect_h = 16, |
|
|
buildable_to = true , |
|
|
length = 3.0, |
|
|
diggable = false , |
|
|
}, |
|
|
pointable = false , |
|
|
}, |
|
|
walkable = true , |
|
|
}, |
|
|
is_ground_content = false , |
|
|
special_tiles = { |
|
|
|
|
|
-- New-style lava source material (mostly unused) |
|
|
damage_per_second = 2, -- formerly 4 * 2 |
|
|
{ |
|
|
drop = "" , |
|
|
name = "volcanic_crusted_lava_source_animated.png", |
|
|
drowning = 1 , |
|
|
animation = { |
|
|
liquid_range = 0, |
|
|
type = "vertical_frames", |
|
|
liquidtype = "source" , |
|
|
aspect_w = 16, |
|
|
|
|
|
aspect_h = 16, |
|
|
|
|
|
length = 3.0, |
|
|
|
|
|
}, |
|
|
|
|
|
backface_culling = false, |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
paramtype = "light", |
|
|
|
|
|
light_source = default.LIGHT_MAX - 1, |
|
|
|
|
|
walkable = true, |
|
|
|
|
|
pointable = false, |
|
|
|
|
|
diggable = false, |
|
|
|
|
|
buildable_to = true, |
|
|
|
|
|
is_ground_content = false, |
|
|
|
|
|
drop = "", |
|
|
|
|
|
drowning = 1, |
|
|
|
|
|
liquidtype = "source", |
|
|
|
|
|
liquid_alternative_flowing = "volcanic:crusted_lava_flowing", |
|
|
liquid_alternative_flowing = "volcanic:crusted_lava_flowing", |
|
|
liquid_alternative_source = "volcanic:crusted_lava_source", |
|
|
liquid_alternative_source = "volcanic:crusted_lava_source", |
|
|
liquid_range = 0, |
|
|
liquid_renewable = false , |
|
|
liquid_viscosity = 7, |
|
|
liquid_viscosity = 7 , |
|
|
liquid_renewable = false, |
|
|
|
|
|
damage_per_second = 2, -- formerly 4 * 2 |
|
|
post_effect_color = { a = 191, r = 255, g = 64, b = 0 } , |
|
|
post_effect_color = {a = 191, r = 255, g = 64, b = 0}, |
|
|
groups = { lava = 3, liquid = 2, hot = 3 } , |
|
|
groups = {lava = 3, liquid = 2, hot = 3}, |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
-- =================================================================== |
|
|
|
|
|
|
|
|
minetest.register_node("volcanic:crusted_lava_flowing", { |
|
|
minetest.register_node("volcanic:crusted_lava_flowing", { |
|
|
description = "Flowing Crusted Lava", |
|
|
description = "Crusted Lava Flow", |
|
|
drawtype = "flowingliquid", |
|
|
drawtype = "flowingliquid" , |
|
|
tiles = {"volcanic_crusted_lava.png"}, |
|
|
-- intentionally use source animation |
|
|
special_tiles = { |
|
|
tiles = lava_crust_source_tiles , |
|
|
{ |
|
|
special_tiles = { lcsa, lcsa } , |
|
|
name = "volcanic_crusted_lava_source_animated.png", -- intentionally use source animation |
|
|
|
|
|
backface_culling = false, |
|
|
paramtype = "light" , |
|
|
animation = { |
|
|
paramtype2 = "flowingliquid" , |
|
|
type = "vertical_frames", |
|
|
light_source = default.LIGHT_MAX - 1 , |
|
|
aspect_w = 16, |
|
|
|
|
|
aspect_h = 16, |
|
|
buildable_to = true , |
|
|
length = 3.3, |
|
|
diggable = true , |
|
|
}, |
|
|
pointable = true , |
|
|
}, |
|
|
walkable = true , |
|
|
{ |
|
|
is_ground_content = false , |
|
|
name = "volcanic_crusted_lava_source_animated.png", -- intentionally use source animation |
|
|
|
|
|
backface_culling = true, |
|
|
damage_per_second = 2 , -- formerly 4 * 2 |
|
|
animation = { |
|
|
drop = "default:cobble" , |
|
|
type = "vertical_frames", |
|
|
drowning = 1 , |
|
|
aspect_w = 16, |
|
|
|
|
|
aspect_h = 16, |
|
|
liquidtype = "none" , |
|
|
length = 3.3, |
|
|
liquid_alternative_flowing = "volcanic:crusted_lava_flowing" , |
|
|
}, |
|
|
liquid_alternative_source = "volcanic:crusted_lava_source" , |
|
|
}, |
|
|
liquid_range = 0 , |
|
|
}, |
|
|
liquid_renewable = false , |
|
|
paramtype = "light", |
|
|
liquid_viscosity = 7 , |
|
|
paramtype2 = "flowingliquid", |
|
|
|
|
|
light_source = default.LIGHT_MAX - 1, |
|
|
post_effect_color = { a = 191, r = 255, g = 64, b = 0 } , |
|
|
walkable = true, |
|
|
groups = { |
|
|
pointable = true, |
|
|
lava = 3, hot = 3, |
|
|
diggable = true, |
|
|
not_in_creative_inventory = 1, |
|
|
buildable_to = true, |
|
|
crumbly = 3, cracky = 3, |
|
|
is_ground_content = false, |
|
|
} , |
|
|
drop = 'default:cobble', |
|
|
|
|
|
drowning = 1, |
|
|
|
|
|
liquidtype = "none", |
|
|
|
|
|
liquid_alternative_flowing = "volcanic:crusted_lava_flowing", |
|
|
|
|
|
liquid_alternative_source = "volcanic:crusted_lava_source", |
|
|
|
|
|
liquid_range = 0, |
|
|
|
|
|
liquid_viscosity = 7, |
|
|
|
|
|
liquid_renewable = false, |
|
|
|
|
|
damage_per_second = 2, -- formerly 4 * 2 |
|
|
|
|
|
post_effect_color = {a = 191, r = 255, g = 64, b = 0}, |
|
|
|
|
|
groups = {lava = 3, hot = 3, |
|
|
|
|
|
not_in_creative_inventory = 1, crumbly = 3, cracky = 3}, |
|
|
|
|
|
}) |
|
|
}) |
|
|