@@ -427,6 +427,7 @@ minetest.register_node("default:water_flowing", {
427
427
},
428
428
alpha = WATER_ALPHA ,
429
429
paramtype = " light" ,
430
+ paramtype2 = " flowingliquid" ,
430
431
walkable = false ,
431
432
pointable = false ,
432
433
diggable = false ,
@@ -436,8 +437,9 @@ minetest.register_node("default:water_flowing", {
436
437
liquid_alternative_flowing = " default:water_flowing" ,
437
438
liquid_alternative_source = " default:water_source" ,
438
439
liquid_viscosity = WATER_VISC ,
440
+ freezemelt = " default:snow" ,
439
441
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 },
441
443
})
442
444
443
445
minetest .register_node (" default:water_source" , {
@@ -466,8 +468,9 @@ minetest.register_node("default:water_source", {
466
468
liquid_alternative_flowing = " default:water_flowing" ,
467
469
liquid_alternative_source = " default:water_source" ,
468
470
liquid_viscosity = WATER_VISC ,
471
+ freezemelt = " default:ice" ,
469
472
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 },
471
474
})
472
475
473
476
minetest .register_node (" default:lava_flowing" , {
@@ -488,6 +491,7 @@ minetest.register_node("default:lava_flowing", {
488
491
},
489
492
},
490
493
paramtype = " light" ,
494
+ paramtype2 = " flowingliquid" ,
491
495
light_source = LIGHT_MAX - 1 ,
492
496
walkable = false ,
493
497
pointable = false ,
@@ -558,7 +562,7 @@ minetest.register_node("default:torch", {
558
562
wall_bottom = {- 0.1 , - 0.5 , - 0.1 , 0.1 , - 0.5 + 0.6 , 0.1 },
559
563
wall_side = {- 0.5 , - 0.3 , - 0.1 , - 0.5 + 0.3 , 0.3 , 0.1 },
560
564
},
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 },
562
566
legacy_wallmounted = true ,
563
567
sounds = default .node_sound_defaults (),
564
568
})
@@ -833,7 +837,7 @@ minetest.register_node("default:furnace_active", {
833
837
paramtype2 = " facedir" ,
834
838
light_source = 8 ,
835
839
drop = " default:furnace" ,
836
- groups = {cracky = 2 , not_in_creative_inventory = 1 },
840
+ groups = {cracky = 2 , not_in_creative_inventory = 1 , hot = 1 },
837
841
legacy_facedir_simple = true ,
838
842
sounds = default .node_sound_stone_defaults (),
839
843
on_construct = function (pos )
@@ -1272,7 +1276,8 @@ minetest.register_node("default:ice", {
1272
1276
tiles = {" default_ice.png" },
1273
1277
is_ground_content = true ,
1274
1278
paramtype = " light" ,
1275
- groups = {cracky = 3 },
1279
+ freezemelt = " default:water_source" ,
1280
+ groups = {cracky = 3 , melts = 1 },
1276
1281
sounds = default .node_sound_glass_defaults (),
1277
1282
})
1278
1283
@@ -1284,14 +1289,16 @@ minetest.register_node("default:snow", {
1284
1289
is_ground_content = true ,
1285
1290
paramtype = " light" ,
1286
1291
buildable_to = true ,
1292
+ leveled = 1 ,
1287
1293
drawtype = " nodebox" ,
1294
+ freezemelt = " default:water_flowing" ,
1288
1295
node_box = {
1289
- type = " fixed " ,
1296
+ type = " leveled " ,
1290
1297
fixed = {
1291
1298
{- 0.5 , - 0.5 , - 0.5 , 0.5 , - 0.5 + 2 / 16 , 0.5 },
1292
1299
},
1293
1300
},
1294
- groups = {crumbly = 3 ,falling_node = 1 },
1301
+ groups = {crumbly = 3 ,falling_node = 1 , melts = 1 , float = 1 },
1295
1302
sounds = default .node_sound_dirt_defaults ({
1296
1303
footstep = {name = " default_snow_footstep" , gain = 0.25 },
1297
1304
dug = {name = " default_snow_footstep" , gain = 0.75 },
@@ -1309,7 +1316,8 @@ minetest.register_node("default:snowblock", {
1309
1316
description = " Snow Block" ,
1310
1317
tiles = {" default_snow.png" },
1311
1318
is_ground_content = true ,
1312
- groups = {crumbly = 3 },
1319
+ freezemelt = " default:water_source" ,
1320
+ groups = {crumbly = 3 , melts = 1 },
1313
1321
sounds = default .node_sound_dirt_defaults ({
1314
1322
footstep = {name = " default_snow_footstep" , gain = 0.25 },
1315
1323
dug = {name = " default_snow_footstep" , gain = 0.75 },
0 commit comments