Creative categories: book, chorusfruit, endpearl

This commit is contained in:
Wuzzy 2019-02-06 12:04:58 +01:00
parent 3976c7c4b9
commit 371bc0cb76
3 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ minetest.register_craftitem("mcl_books:book", {
_doc_items_longdesc = "Books are used to make bookshelves and book and quills.",
inventory_image = "default_book.png",
stack_max = 64,
groups = { book=1 },
groups = { book=1, craftitem = 1 },
})
if minetest.get_modpath("mcl_core") and minetest.get_modpath("mcl_mobitems") then

View File

@ -352,7 +352,7 @@ minetest.register_craftitem("mcl_end:chorus_fruit", {
inventory_image = "mcl_end_chorus_fruit.png",
on_place = eat_chorus_fruit,
on_secondary_use = eat_chorus_fruit,
groups = { food = 2, eatable = 4, can_eat_when_full = 1 },
groups = { food = 2, transport = 1, eatable = 4, can_eat_when_full = 1 },
_mcl_saturation = 2.4,
stack_max = 64,
})

View File

@ -321,5 +321,6 @@ minetest.register_craftitem("mcl_throwing:ender_pearl", {
inventory_image = "mcl_throwing_ender_pearl.png",
stack_max = 16,
on_use = throw_function("mcl_throwing:ender_pearl_entity"),
groups = { transport = 1 },
})