From 371bc0cb7631c997423fabf00037add675e1fc0a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Feb 2019 12:04:58 +0100 Subject: [PATCH] Creative categories: book, chorusfruit, endpearl --- mods/ITEMS/mcl_books/init.lua | 2 +- mods/ITEMS/mcl_end/chorus_plant.lua | 2 +- mods/ITEMS/mcl_throwing/init.lua | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_books/init.lua b/mods/ITEMS/mcl_books/init.lua index 29ae2a028..de96e9e37 100644 --- a/mods/ITEMS/mcl_books/init.lua +++ b/mods/ITEMS/mcl_books/init.lua @@ -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 diff --git a/mods/ITEMS/mcl_end/chorus_plant.lua b/mods/ITEMS/mcl_end/chorus_plant.lua index 41a91a479..58832b421 100644 --- a/mods/ITEMS/mcl_end/chorus_plant.lua +++ b/mods/ITEMS/mcl_end/chorus_plant.lua @@ -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, }) diff --git a/mods/ITEMS/mcl_throwing/init.lua b/mods/ITEMS/mcl_throwing/init.lua index cd0356b7a..ee0b4fcb1 100644 --- a/mods/ITEMS/mcl_throwing/init.lua +++ b/mods/ITEMS/mcl_throwing/init.lua @@ -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 }, })