Add snowball item and snowball node drops

This commit is contained in:
Wuzzy 2014-06-23 14:27:59 +02:00
parent 26d553fb2c
commit cc0d5fff03
2 changed files with 10 additions and 0 deletions

View File

@ -453,6 +453,11 @@ pedology.register_sucky_group("gravel_coarse", "coarse gravel", "big stone",
2, 0, 1, 1, {500, 750, 1000}, 1, sound_gravel_coarse, { crumbly = 1, sun_dry = 1 })
--[[ snow and ice ]]
minetest.register_craftitem("pedology:lump_snow", {
description = "snow ball",
wield_image = "pedology_lump_snow.png",
inventory_image = "pedology_lump_snow.png",
})
-- TODO: slushy snow is very instable snow; it should be destroyed when touched
minetest.register_node("pedology:snow_slush", {
@ -461,6 +466,7 @@ minetest.register_node("pedology:snow_slush", {
sounds = { footstep = { name = "pedology_snow_soft_footstep", gain = 1 } },
is_ground_content = true,
groups = { crumbly = 1, level = 1, melts = 1, falling_node = 1},
drop = "",
freezemelt = "pedology:water_fresh_source",
})
@ -470,6 +476,7 @@ minetest.register_node("pedology:snow_soft", {
sounds = { footstep = { name = "pedology_snow_soft_footstep", gain = 1 } },
is_ground_content = true,
groups = { crumbly = 2, level = 2, melts = 1, falling_node = 1 },
drop = "pedology:lump_snow 1",
freezemelt = "pedology:water_fresh_source",
})
@ -479,6 +486,7 @@ minetest.register_node("pedology:snow", {
sounds = { footstep = { name = "pedology_snow_footstep", gain = 0.9 } },
is_ground_content = true,
groups = { crumbly = 3, level = 3, melts = 1, falling_node = 1 },
drop = "pedology:lump_snow 2",
freezemelt = "pedology:water_fresh_source",
})
@ -488,6 +496,7 @@ minetest.register_node("pedology:snow_packing", {
sounds = { footstep = { name = "pedology_snow_footstep", gain = 1 } },
is_ground_content = true,
groups = { crumbly = 3, level = 3, melts = 1 },
drop = "pedology:lump_snow 3",
freezemelt = "pedology:water_fresh_source",
})
@ -497,6 +506,7 @@ minetest.register_node("pedology:snow_firn", {
sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.7 } },
is_ground_content = true,
groups = { crumbly = 2, cracky = 2, level = 4, melts = 1 },
drop = "pedology:lump_snow 4",
freezemelt = "pedology:water_fresh_source",
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B