@@ -427,6 +427,7 @@ minetest.register_node("default:water_flowing", {
427427 },
428428 alpha = WATER_ALPHA ,
429429 paramtype = " light" ,
430+ paramtype2 = " flowingliquid" ,
430431 walkable = false ,
431432 pointable = false ,
432433 diggable = false ,
@@ -436,8 +437,9 @@ minetest.register_node("default:water_flowing", {
436437 liquid_alternative_flowing = " default:water_flowing" ,
437438 liquid_alternative_source = " default:water_source" ,
438439 liquid_viscosity = WATER_VISC ,
440+ freezemelt = " default:snow" ,
439441 post_effect_color = {a = 64 , r = 100 , g = 100 , b = 200 },
440- groups = {water = 3 , liquid = 3 , puts_out_fire = 1 , not_in_creative_inventory = 1 },
442+ groups = {water = 3 , liquid = 3 , puts_out_fire = 1 , not_in_creative_inventory = 1 , freezes = 1 , melt_around = 1 },
441443})
442444
443445minetest .register_node (" default:water_source" , {
@@ -466,8 +468,9 @@ minetest.register_node("default:water_source", {
466468 liquid_alternative_flowing = " default:water_flowing" ,
467469 liquid_alternative_source = " default:water_source" ,
468470 liquid_viscosity = WATER_VISC ,
471+ freezemelt = " default:ice" ,
469472 post_effect_color = {a = 64 , r = 100 , g = 100 , b = 200 },
470- groups = {water = 3 , liquid = 3 , puts_out_fire = 1 },
473+ groups = {water = 3 , liquid = 3 , puts_out_fire = 1 , freezes = 1 },
471474})
472475
473476minetest .register_node (" default:lava_flowing" , {
@@ -488,6 +491,7 @@ minetest.register_node("default:lava_flowing", {
488491 },
489492 },
490493 paramtype = " light" ,
494+ paramtype2 = " flowingliquid" ,
491495 light_source = LIGHT_MAX - 1 ,
492496 walkable = false ,
493497 pointable = false ,
@@ -558,7 +562,7 @@ minetest.register_node("default:torch", {
558562 wall_bottom = {- 0.1 , - 0.5 , - 0.1 , 0.1 , - 0.5 + 0.6 , 0.1 },
559563 wall_side = {- 0.5 , - 0.3 , - 0.1 , - 0.5 + 0.3 , 0.3 , 0.1 },
560564 },
561- groups = {choppy = 2 ,dig_immediate = 3 ,flammable = 1 ,attached_node = 1 },
565+ groups = {choppy = 2 ,dig_immediate = 3 ,flammable = 1 ,attached_node = 1 , hot = 2 },
562566 legacy_wallmounted = true ,
563567 sounds = default .node_sound_defaults (),
564568})
@@ -833,7 +837,7 @@ minetest.register_node("default:furnace_active", {
833837 paramtype2 = " facedir" ,
834838 light_source = 8 ,
835839 drop = " default:furnace" ,
836- groups = {cracky = 2 , not_in_creative_inventory = 1 },
840+ groups = {cracky = 2 , not_in_creative_inventory = 1 , hot = 1 },
837841 legacy_facedir_simple = true ,
838842 sounds = default .node_sound_stone_defaults (),
839843 on_construct = function (pos )
@@ -1272,7 +1276,8 @@ minetest.register_node("default:ice", {
12721276 tiles = {" default_ice.png" },
12731277 is_ground_content = true ,
12741278 paramtype = " light" ,
1275- groups = {cracky = 3 },
1279+ freezemelt = " default:water_source" ,
1280+ groups = {cracky = 3 , melts = 1 },
12761281 sounds = default .node_sound_glass_defaults (),
12771282})
12781283
@@ -1284,14 +1289,16 @@ minetest.register_node("default:snow", {
12841289 is_ground_content = true ,
12851290 paramtype = " light" ,
12861291 buildable_to = true ,
1292+ leveled = 1 ,
12871293 drawtype = " nodebox" ,
1294+ freezemelt = " default:water_flowing" ,
12881295 node_box = {
1289- type = " fixed " ,
1296+ type = " leveled " ,
12901297 fixed = {
12911298 {- 0.5 , - 0.5 , - 0.5 , 0.5 , - 0.5 + 2 / 16 , 0.5 },
12921299 },
12931300 },
1294- groups = {crumbly = 3 ,falling_node = 1 },
1301+ groups = {crumbly = 3 ,falling_node = 1 , melts = 1 , float = 1 },
12951302 sounds = default .node_sound_dirt_defaults ({
12961303 footstep = {name = " default_snow_footstep" , gain = 0.25 },
12971304 dug = {name = " default_snow_footstep" , gain = 0.75 },
@@ -1309,7 +1316,8 @@ minetest.register_node("default:snowblock", {
13091316 description = " Snow Block" ,
13101317 tiles = {" default_snow.png" },
13111318 is_ground_content = true ,
1312- groups = {crumbly = 3 },
1319+ freezemelt = " default:water_source" ,
1320+ groups = {crumbly = 3 , melts = 1 },
13131321 sounds = default .node_sound_dirt_defaults ({
13141322 footstep = {name = " default_snow_footstep" , gain = 0.25 },
13151323 dug = {name = " default_snow_footstep" , gain = 0.75 },
0 commit comments