This commit is contained in:
tenplus1 2023-08-08 15:25:14 +01:00
parent 3b11341df8
commit a6032b096b
2 changed files with 14 additions and 17 deletions

View File

@ -1,3 +0,0 @@
default
bucket?
stairs?

View File

@ -18,8 +18,8 @@ minetest.register_node("pink_lava:pink_lava_source", {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
aspect_h = 16, aspect_h = 16,
length = 3.0, length = 3.0
}, }
}, },
{ {
name = source_texture, name = source_texture,
@ -28,9 +28,9 @@ minetest.register_node("pink_lava:pink_lava_source", {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
aspect_h = 16, aspect_h = 16,
length = 3.0, length = 3.0
}, }
}, }
}, },
paramtype = "light", paramtype = "light",
light_source = default.LIGHT_MAX - 1, light_source = default.LIGHT_MAX - 1,
@ -49,7 +49,7 @@ minetest.register_node("pink_lava:pink_lava_source", {
liquid_renewable = false, liquid_renewable = false,
damage_per_second = 4 * 2, damage_per_second = 4 * 2,
post_effect_color = {a = 191, r = 255, g = 0, b = 171}, post_effect_color = {a = 191, r = 255, g = 0, b = 171},
groups = {lava = 3, liquid = 2, igniter = 1}, groups = {lava = 3, liquid = 2, igniter = 1}
}) })
-- register pink lava flowing node -- register pink lava flowing node
@ -66,8 +66,8 @@ minetest.register_node("pink_lava:pink_lava_flowing", {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
aspect_h = 16, aspect_h = 16,
length = 3.3, length = 3.3
}, }
}, },
{ {
name = flowing_texture, name = flowing_texture,
@ -76,9 +76,9 @@ minetest.register_node("pink_lava:pink_lava_flowing", {
type = "vertical_frames", type = "vertical_frames",
aspect_w = 16, aspect_w = 16,
aspect_h = 16, aspect_h = 16,
length = 3.3, length = 3.3
}, }
}, }
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "flowingliquid", paramtype2 = "flowingliquid",
@ -98,7 +98,7 @@ minetest.register_node("pink_lava:pink_lava_flowing", {
liquid_renewable = false, liquid_renewable = false,
damage_per_second = 4 * 2, damage_per_second = 4 * 2,
post_effect_color = {a = 191, r = 255, g = 0, b = 171}, post_effect_color = {a = 191, r = 255, g = 0, b = 171},
groups = {lava = 3, liquid = 2, igniter = 1, not_in_creative_inventory = 1}, groups = {lava = 3, liquid = 2, igniter = 1, not_in_creative_inventory = 1}
}) })
-- check bucket mod is active -- check bucket mod is active
@ -200,7 +200,7 @@ if minetest.settings:get_bool("enable_lavacooling") ~= false then
minetest.sound_play("default_cool_lava", minetest.sound_play("default_cool_lava",
{pos = pos, max_hear_distance = 14, gain = 0.25}, true) {pos = pos, max_hear_distance = 14, gain = 0.25}, true)
end, end
}) })
end end
@ -214,7 +214,7 @@ minetest.register_ore({
clust_num_ores = 3, clust_num_ores = 3,
clust_size = 2, clust_size = 2,
y_max = -2048, y_max = -2048,
y_min = -4096, y_min = -4096
}) })