Describe snow_cobble as Icy Snow, create crafting recipes for it

Snow blocks now drop itself not snow cobble, you need to craft it now
with ice blocks and default:snow. This makes it more plentiful then snow
blocks but a bit harder to create.
This commit is contained in:
Splizard 2014-06-09 13:37:10 +12:00
parent b2663d0ae3
commit be26762fb7
4 changed files with 29 additions and 9 deletions

View File

@ -64,11 +64,6 @@ Sleds allow for faster travel on snow.
CRAFTING:
-----------
Snow Block:
Snowball Snowball
Snowball Snowball
Snow Brick:
Snow Block Snow Block
@ -79,6 +74,10 @@ Sled:
Stick
Wood Wood Wood
Icy Snow:
Snow Ice
Ice Snow
MAPGEN_V7:
------------
If you are using minetest 0.4.8 or the latest dev version of minetest you can choose to generate a v7 map.

View File

@ -21,6 +21,7 @@ minetest.register_alias("snowbrick", "snow:snow_brick")
minetest.register_alias("bricksnow", "snow:snow_brick")
minetest.register_alias("snowbricks", "snow:snow_brick")
minetest.register_alias("snowybricks", "snow:snow_brick")
minetest.register_alias("icysnow", "snow:snow_cobble")
minetest.register_alias("snowcobble", "snow:snow_cobble")
minetest.register_alias("snowycobble", "snow:snow_cobble")
minetest.register_alias("cobblesnow", "snow:snow_cobble")

View File

@ -123,6 +123,26 @@ minetest.register_craft({
}
})
--Craft icy snow.
minetest.register_craft({
type = "shapeless",
output = 'default:snow_cobble 2',
recipe = {
'snow:snow',
'snow:snow',
'snow:ice',
'snow:ice'
}
})
minetest.register_craft({
type = "shapeless",
output = 'default:snow_cobble',
recipe = {
'snow:snow',
'snow:ice'
}
})
-- Why not recycle snow_bricks back into snowblocks? ~ LazyJ

View File

@ -279,11 +279,11 @@ minetest.register_node("snow:snow_brick", {
-- Snow Cobble ~ LazyJ
-- Described as Icy Snow
minetest.register_node("snow:snow_cobble", {
description = "Snow Cobble",
description = "Icy Snow",
tiles = {"snow_snow_cobble.png"},
is_ground_content = true,
freezemelt = "default:water_source",
liquidtype = "none",
paramtype = "light",
sunlight_propagates = true,
@ -348,8 +348,8 @@ minetest.override_item("default:snowblock", {
paramtype = "light", -- LazyJ to make dirt below change to dirt_with_snow (see default, nodes.lua, dirt ABM)
sunlight_propagates = true, -- LazyJ to make dirt below change to dirt_with_snow (see default, nodes.lua, dirt ABM)
-- Snow blocks should be easy to dig because they are just fluffy snow. ~ LazyJ
groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3, melts=1, icemaker=1, cooks_into_ice=1},
drop = "snow:snow_cobble",
groups = {cracky=3, crumbly=3, choppy=3, oddly_breakable_by_hand=3, melts=1, icemaker=1, cooks_into_ice=1, falling_node=1},
--drop = "snow:snow_cobble",
on_construct = function(pos)
pos.y = pos.y - 1
if minetest.get_node(pos).name == "default:dirt_with_grass"