add liquid_range limitation

master
crabman77 2015-10-30 19:33:23 +01:00
parent 3a494b4642
commit 8accd9ba5b
2 changed files with 4 additions and 0 deletions

View File

@ -1634,6 +1634,7 @@ minetest.register_node("default:acid_source", {
liquid_alternative_flowing = "default:acid_flowing",
liquid_alternative_source = "default:acid_source",
liquid_viscosity = 1,
liquid_range = 3,
damage_per_second = 3,
post_effect_color = {a = 120, r = 50, g = 90, b = 30},
groups = {water = 3, acid = 3, liquid = 3, puts_out_fire = 1},
@ -1669,6 +1670,7 @@ minetest.register_node("default:acid_flowing", {
liquid_alternative_flowing = "default:acid_flowing",
liquid_alternative_source = "default:acid_source",
liquid_viscosity = 1,
liquid_range = 3,
damage_per_second = 3,
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},

View File

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