1
0
Fork 0

More creative category cleanup

This commit is contained in:
Wuzzy 2017-01-20 11:33:56 +01:00
parent 10bb0efe5c
commit 354ce3171d
3 changed files with 3 additions and 3 deletions

View File

@ -984,7 +984,7 @@ minetest.register_node("default:bookshelf", {
tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"}, tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"},
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3,deco_block=1}, groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3,building_block=1},
drop = "default:book 3", drop = "default:book 3",
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
}) })

View File

@ -108,6 +108,7 @@ minetest.register_craftitem("mcl_mobitems:milk_bucket", {
wield_image = "mcl_mobitems_bucket_milk.png", wield_image = "mcl_mobitems_bucket_milk.png",
on_use = minetest.item_eat(0, "bucket:bucket_empty"), on_use = minetest.item_eat(0, "bucket:bucket_empty"),
stack_max = 1, stack_max = 1,
groups = { food = 3 },
}) })
minetest.register_craftitem("mcl_mobitems:spider_eye", { minetest.register_craftitem("mcl_mobitems:spider_eye", {

View File

@ -60,7 +60,6 @@ minetest.register_craftitem("mcl_throwing:snowball", {
inventory_image = "mcl_throwing_snowball.png", inventory_image = "mcl_throwing_snowball.png",
stack_max = 16, stack_max = 16,
on_use = throw_function("mcl_throwing:snowball_entity", snowball_VELOCITY), on_use = throw_function("mcl_throwing:snowball_entity", snowball_VELOCITY),
groups = { weapon_ranged = 1 },
on_construct = function(pos) on_construct = function(pos)
pos.y = pos.y - 1 pos.y = pos.y - 1
if minetest.get_node(pos).name == "default:dirt_with_grass" then if minetest.get_node(pos).name == "default:dirt_with_grass" then
@ -74,5 +73,5 @@ minetest.register_craftitem("mcl_throwing:egg", {
inventory_image = "mcl_throwing_egg.png", inventory_image = "mcl_throwing_egg.png",
stack_max = 16, stack_max = 16,
on_use = throw_function("mcl_throwing:egg_entity", egg_VELOCITY), on_use = throw_function("mcl_throwing:egg_entity", egg_VELOCITY),
groups = { weapon_ranged = 1 }, groups = { craftitem = 1 },
}) })