mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 23:40:17 +01:00
Add Snow Bricks.
Useful for making igloos.
This commit is contained in:
parent
c436c43cd0
commit
f6a97f3963
20
init.lua
20
init.lua
@ -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.
|
--Ice.
|
||||||
minetest.register_node("snow:ice", {
|
minetest.register_node("snow:ice", {
|
||||||
description = "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
|
--Melting
|
||||||
--Any node part of the group melting will melt when near warm nodes such as lava, fire, torches, etc.
|
--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:
|
--The amount of water that replaces the node is defined by the number on the group:
|
||||||
|
BIN
textures/snow_snow_brick.png
Normal file
BIN
textures/snow_snow_brick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 507 B |
Loading…
Reference in New Issue
Block a user