1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-28 07:30:17 +01:00

Add Snow Bricks.

Useful for making igloos.
This commit is contained in:
Splizard 2012-12-12 20:41:39 +13:00
parent c436c43cd0
commit f6a97f3963
2 changed files with 20 additions and 0 deletions

View File

@ -254,6 +254,18 @@ minetest.register_node("snow:snow_block", {
}),
})
--Snow brick.
minetest.register_node("snow:snow_brick", {
description = "Snow Brick",
tiles = {"snow_snow_brick.png"},
is_ground_content = true,
groups = {crumbly=3,melts=2},
drop = 'snow:snow_brick',
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4},
}),
})
--Ice.
minetest.register_node("snow:ice", {
description = "Ice",
@ -291,6 +303,14 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = 'snow:snow_brick',
recipe = {
{'snow:snow_block', 'snow:snow_block'},
{'snow:snow_block', 'snow:snow_block'},
},
})
--Melting
--Any node part of the group melting will melt when near warm nodes such as lava, fire, torches, etc.
--The amount of water that replaces the node is defined by the number on the group:

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B