1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-11 18:40:25 +01:00

limit liquid flowing propagation

This commit is contained in:
crabman77 2015-10-28 18:44:19 +01:00
parent c8a55987e6
commit 039f77a1d7
2 changed files with 8 additions and 0 deletions

View File

@ -1376,6 +1376,7 @@ minetest.register_node("default:water_source", {
liquid_alternative_flowing = "default:water_flowing", liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source", liquid_alternative_source = "default:water_source",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
post_effect_color = {a = 120, r = 20, g = 60, b = 80}, post_effect_color = {a = 120, r = 20, g = 60, b = 80},
groups = {water = 3, liquid = 3, puts_out_fire = 1}, groups = {water = 3, liquid = 3, puts_out_fire = 1},
}) })
@ -1421,6 +1422,7 @@ minetest.register_node("default:water_flowing", {
liquid_alternative_flowing = "default:water_flowing", liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source", liquid_alternative_source = "default:water_source",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
post_effect_color = {a = 120, r = 20, g = 60, b = 80}, post_effect_color = {a = 120, r = 20, g = 60, b = 80},
groups = {water = 3, liquid = 3, puts_out_fire = 1, groups = {water = 3, liquid = 3, puts_out_fire = 1,
not_in_creative_inventory=1}, not_in_creative_inventory=1},
@ -1561,6 +1563,7 @@ minetest.register_node("default:lava_source", {
liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source", liquid_alternative_source = "default:lava_source",
liquid_viscosity = 7, liquid_viscosity = 7,
liquid_range = 2,
liquid_renewable = false, liquid_renewable = false,
damage_per_second = 4 * 2, damage_per_second = 4 * 2,
post_effect_color = {a = 220, r = 250, g = 70, b = 20}, post_effect_color = {a = 220, r = 250, g = 70, b = 20},
@ -1608,6 +1611,7 @@ minetest.register_node("default:lava_flowing", {
liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source", liquid_alternative_source = "default:lava_source",
liquid_viscosity = 7, liquid_viscosity = 7,
liquid_range = 2,
liquid_renewable = false, liquid_renewable = false,
damage_per_second = 4 * 2, damage_per_second = 4 * 2,
post_effect_color = {a = 220, r = 250, g = 70, b = 20}, post_effect_color = {a = 220, r = 250, g = 70, b = 20},
@ -1642,6 +1646,7 @@ minetest.register_node("default:acid_source", {
liquid_alternative_flowing = "default:acid_flowing", liquid_alternative_flowing = "default:acid_flowing",
liquid_alternative_source = "default:acid_source", liquid_alternative_source = "default:acid_source",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
damage_per_second = 3, damage_per_second = 3,
post_effect_color = {a = 120, r = 50, g = 90, b = 30}, post_effect_color = {a = 120, r = 50, g = 90, b = 30},
groups = {water = 3, acid = 3, liquid = 3, puts_out_fire = 1}, groups = {water = 3, acid = 3, liquid = 3, puts_out_fire = 1},
@ -1677,6 +1682,7 @@ minetest.register_node("default:acid_flowing", {
liquid_alternative_flowing = "default:acid_flowing", liquid_alternative_flowing = "default:acid_flowing",
liquid_alternative_source = "default:acid_source", liquid_alternative_source = "default:acid_source",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
damage_per_second = 3, damage_per_second = 3,
post_effect_color = {a = 120, r = 50, g = 90, b = 30}, post_effect_color = {a = 120, r = 50, g = 90, b = 30},
groups = {water = 3, acid = 3, liquid = 3, puts_out_fire = 1, not_in_creative_inventory = 1}, groups = {water = 3, acid = 3, liquid = 3, puts_out_fire = 1, not_in_creative_inventory = 1},

View File

@ -30,6 +30,7 @@ minetest.register_node("noairblocks:water_flowingx", {
liquid_alternative_flowing = "noairblocks:water_flowingx", liquid_alternative_flowing = "noairblocks:water_flowingx",
liquid_alternative_source = "noairblocks:water_sourcex", liquid_alternative_source = "noairblocks:water_sourcex",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
freezemelt = "default:snow", freezemelt = "default:snow",
post_effect_color = {a=64, r=100, g=100, b=200}, post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1}, groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1},
@ -62,6 +63,7 @@ minetest.register_node("noairblocks:water_sourcex", {
liquid_alternative_flowing = "noairblocks:water_flowingx", liquid_alternative_flowing = "noairblocks:water_flowingx",
liquid_alternative_source = "noairblocks:water_sourcex", liquid_alternative_source = "noairblocks:water_sourcex",
liquid_viscosity = 1, liquid_viscosity = 1,
liquid_range = 2,
freezemelt = "default:ice", freezemelt = "default:ice",
post_effect_color = {a=64, r=100, g=100, b=200}, post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1, freezes=1}, groups = {water=3, liquid=3, puts_out_fire=1, freezes=1},