diff --git a/readme.txt b/readme.txt index e1244ad..45c4cbd 100644 --- a/readme.txt +++ b/readme.txt @@ -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. diff --git a/src/aliases.lua b/src/aliases.lua index 1588999..3cee7b1 100644 --- a/src/aliases.lua +++ b/src/aliases.lua @@ -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") diff --git a/src/crafting.lua b/src/crafting.lua index f8d9202..529bb59 100644 --- a/src/crafting.lua +++ b/src/crafting.lua @@ -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 diff --git a/src/nodes.lua b/src/nodes.lua index 951f63d..c22db4a 100644 --- a/src/nodes.lua +++ b/src/nodes.lua @@ -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"