Default: Add snow, snowblock, ice to puts_out_fire group
authorparamat <mat.gregory@virginmedia.com>
Tue, 25 Aug 2015 00:20:14 +0000 (01:20 +0100)
committerparamat <mat.gregory@virginmedia.com>
Tue, 25 Aug 2015 02:03:06 +0000 (03:03 +0100)
mods/default/nodes.lua

index 608f6c29407912549b567ac1e27fb64924d6d6a7..c91880237cb03b84f9426b438b115e7cf4adfe3c 100644 (file)
@@ -374,7 +374,7 @@ minetest.register_node("default:snow", {
                        {-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
                },
        },
-       groups = {crumbly = 3, falling_node = 1},
+       groups = {crumbly = 3, falling_node = 1, puts_out_fire = 1},
        sounds = default.node_sound_dirt_defaults({
                footstep = {name = "default_snow_footstep", gain = 0.25},
                dug = {name = "default_snow_footstep", gain = 0.75},
@@ -392,10 +392,10 @@ minetest.register_node("default:snow", {
 minetest.register_node("default:snowblock", {
        description = "Snow Block",
        tiles = {"default_snow.png"},
-       groups = {crumbly=3},
+       groups = {crumbly = 3, puts_out_fire = 1},
        sounds = default.node_sound_dirt_defaults({
-               footstep = {name="default_snow_footstep", gain=0.25},
-               dug = {name="default_snow_footstep", gain=0.75},
+               footstep = {name = "default_snow_footstep", gain = 0.25},
+               dug = {name = "default_snow_footstep", gain = 0.75},
        }),
 })
 
@@ -406,7 +406,7 @@ minetest.register_node("default:ice", {
        tiles = {"default_ice.png"},
        is_ground_content = false,
        paramtype = "light",
-       groups = {cracky=3},
+       groups = {cracky = 3, puts_out_fire = 1},
        sounds = default.node_sound_glass_defaults(),
 })