Fix indestructible snow and ice not being slippery (#377)

This commit is contained in:
ANAND 2019-03-19 22:34:25 +05:30 committed by GitHub
parent d6dab9182a
commit ed85e3258b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,7 @@ do
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5},
},
},
groups = {immortal = 1},
groups = {immortal = 1, slippery = 2},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_snow_footstep", gain = 0.15},
dug = {name = "default_snow_footstep", gain = 0.2},
@ -355,7 +355,7 @@ do
minetest.register_node("ctf_map:snowblock", {
description = "Indestructible Snow Block",
tiles = {"default_snow.png"},
groups = {immortal = 1},
groups = {immortal = 1, slippery = 2},
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_snow_footstep", gain = 0.15},
dug = {name = "default_snow_footstep", gain = 0.2},
@ -368,7 +368,7 @@ do
tiles = {"default_ice.png"},
is_ground_content = false,
paramtype = "light",
groups = {immortal = 1},
groups = {immortal = 1, slippery = 4},
sounds = default.node_sound_glass_defaults(),
})