2017-01-16 19:40:08 +03:00
|
|
|
-- TODO: Add special status effects for raw flesh
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:rotten_flesh", {
|
|
|
|
description = "Rotten Flesh",
|
|
|
|
inventory_image = "mcl_mobitems_rotten_flesh.png",
|
|
|
|
wield_image = "mcl_mobitems_rotten_flesh.png",
|
|
|
|
-- TODO: Raise to 4
|
|
|
|
on_use = minetest.item_eat(1),
|
|
|
|
groups = { food = 2, eatable = 1 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:mutton", {
|
|
|
|
description = "Raw Mutton",
|
|
|
|
inventory_image = "mcl_mobitems_mutton_raw.png",
|
|
|
|
wield_image = "mcl_mobitems_mutton_raw.png",
|
|
|
|
on_use = minetest.item_eat(2),
|
|
|
|
groups = { food = 2, eatable = 2 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:cooked_mutton", {
|
|
|
|
description = "Cooked Mutton",
|
|
|
|
inventory_image = "mcl_mobitems_mutton_cooked.png",
|
|
|
|
wield_image = "mcl_mobitems_mutton_cooked.png",
|
|
|
|
on_use = minetest.item_eat(6),
|
|
|
|
groups = { food = 2, eatable = 6 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:beef", {
|
|
|
|
description = "Raw Beef",
|
|
|
|
inventory_image = "mcl_mobitems_beef_raw.png",
|
|
|
|
wield_image = "mcl_mobitems_beef_raw.png",
|
|
|
|
on_use = minetest.item_eat(3),
|
|
|
|
groups = { food = 2, eatable = 3 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:cooked_beef", {
|
|
|
|
description = "Steak",
|
|
|
|
inventory_image = "mcl_mobitems_beef_cooked.png",
|
|
|
|
wield_image = "mcl_mobitems_beef_cooked.png",
|
|
|
|
on_use = minetest.item_eat(8),
|
|
|
|
groups = { food = 2, eatable = 8 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:chicken", {
|
|
|
|
description = "Raw Chicken",
|
|
|
|
inventory_image = "mcl_mobitems_chicken_raw.png",
|
|
|
|
wield_image = "mcl_mobitems_chicken_raw.png",
|
|
|
|
on_use = minetest.item_eat(2),
|
|
|
|
groups = { food = 2, eatable = 2 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:cooked_chicken", {
|
|
|
|
description = "Cooked Chicken",
|
|
|
|
inventory_image = "mcl_mobitems_chicken_cooked.png",
|
|
|
|
wield_image = "mcl_mobitems_chicken_cooked.png",
|
|
|
|
on_use = minetest.item_eat(6),
|
|
|
|
groups = { food = 2, eatable = 6 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:porkchop", {
|
|
|
|
description = "Raw Porkchop",
|
|
|
|
inventory_image = "mcl_mobitems_porkchop_raw.png",
|
2017-02-01 21:20:16 +03:00
|
|
|
wield_image = "mcl_mobitems_porkchop_raw.png",
|
2017-01-16 19:40:08 +03:00
|
|
|
on_use = minetest.item_eat(3),
|
|
|
|
groups = { food = 2, eatable = 3 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:cooked_porkchop", {
|
|
|
|
description = "Cooked Porkchop",
|
|
|
|
inventory_image = "mcl_mobitems_porkchop_cooked.png",
|
|
|
|
wield_image = "mcl_mobitems_porkchop_cooked.png",
|
|
|
|
on_use = minetest.item_eat(8),
|
|
|
|
groups = { food = 2, eatable = 8 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:rabbit", {
|
|
|
|
description = "Raw Rabbit",
|
|
|
|
inventory_image = "mcl_mobitems_rabbit_raw.png",
|
|
|
|
wield_image = "mcl_mobitems_rabbit_raw.png",
|
|
|
|
on_use = minetest.item_eat(3),
|
|
|
|
groups = { food = 2, eatable = 3 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:cooked_rabbit", {
|
|
|
|
description = "Cooked Rabbit",
|
|
|
|
inventory_image = "mcl_mobitems_rabbit_cooked.png",
|
|
|
|
wield_image = "mcl_mobitems_rabbit_cooked.png",
|
|
|
|
on_use = minetest.item_eat(5),
|
|
|
|
groups = { food = 2, eatable = 5 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
2017-01-17 03:09:11 +03:00
|
|
|
-- TODO: Fix drinking sound
|
|
|
|
-- TODO: Clear status effects
|
|
|
|
minetest.register_craftitem("mcl_mobitems:milk_bucket", {
|
|
|
|
description = "Milk",
|
|
|
|
inventory_image = "mcl_mobitems_bucket_milk.png",
|
|
|
|
wield_image = "mcl_mobitems_bucket_milk.png",
|
|
|
|
on_use = minetest.item_eat(0, "bucket:bucket_empty"),
|
|
|
|
stack_max = 1,
|
2017-01-20 13:33:56 +03:00
|
|
|
groups = { food = 3 },
|
2017-01-17 03:09:11 +03:00
|
|
|
})
|
|
|
|
|
2017-01-16 19:40:08 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:spider_eye", {
|
|
|
|
description = "Spider Eye",
|
|
|
|
inventory_image = "mcl_mobitems_spider_eye.png",
|
|
|
|
wield_image = "mcl_mobitems_spider_eye.png",
|
|
|
|
on_use = minetest.item_eat(2),
|
|
|
|
groups = { food = 2, eatable = 2 },
|
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
2017-02-01 19:59:15 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:bone", {
|
|
|
|
description = "Bone",
|
|
|
|
inventory_image = "mcl_mobitems_bone.png",
|
|
|
|
stack_max = 64,
|
|
|
|
groups = { craftitem=1 },
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:string",{
|
|
|
|
description = "String",
|
|
|
|
inventory_image = "mcl_mobitems_string.png",
|
|
|
|
stack_max = 64,
|
|
|
|
groups = { craftitem = 1 },
|
|
|
|
})
|
|
|
|
|
2017-01-16 19:40:08 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:blaze_rod", {
|
|
|
|
description = "Blaze Rod",
|
|
|
|
wield_image = "mcl_mobitems_blaze_rod.png",
|
|
|
|
inventory_image = "mcl_mobitems_blaze_rod.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:blaze_powder", {
|
|
|
|
description = "Blaze Powder",
|
|
|
|
wield_image = "mcl_mobitems_blaze_powder.png",
|
|
|
|
inventory_image = "mcl_mobitems_blaze_powder.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { brewitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:magma_cream", {
|
|
|
|
description = "Magma Cream",
|
|
|
|
wield_image = "mcl_mobitems_magma_cream.png",
|
|
|
|
inventory_image = "mcl_mobitems_magma_cream.png",
|
2017-01-20 13:37:18 +03:00
|
|
|
groups = { brewitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:ghast_tear", {
|
|
|
|
description = "Ghast Tear",
|
|
|
|
wield_image = "mcl_mobitems_ghast_tear.png",
|
|
|
|
inventory_image = "mcl_mobitems_ghast_tear.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { brewitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:nether_star", {
|
|
|
|
description = "Nether Star",
|
|
|
|
wield_image = "mcl_mobitems_nether_star.png",
|
|
|
|
inventory_image = "mcl_mobitems_nether_star.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:leather", {
|
|
|
|
description = "Leather",
|
|
|
|
wield_image = "mcl_mobitems_leather.png",
|
|
|
|
inventory_image = "mcl_mobitems_leather.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:feather", {
|
|
|
|
description = "Feather",
|
|
|
|
wield_image = "mcl_mobitems_feather.png",
|
|
|
|
inventory_image = "mcl_mobitems_feather.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:rabbit_hide", {
|
|
|
|
description = "Rabbit Hide",
|
|
|
|
wield_image = "mcl_mobitems_rabbit_hide.png",
|
|
|
|
inventory_image = "mcl_mobitems_rabbit_hide.png",
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mcl_mobitems:rabbit_foot", {
|
|
|
|
description = "Rabbit's Foot",
|
|
|
|
wield_image = "mcl_mobitems_rabbit_foot.png",
|
|
|
|
inventory_image = "mcl_mobitems_rabbit_foot.png",
|
2017-01-20 13:21:55 +03:00
|
|
|
groups = { brewitem = 1 },
|
2017-01-16 19:40:08 +03:00
|
|
|
stack_max = 64,
|
|
|
|
})
|
|
|
|
|
2017-01-20 23:09:29 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:saddle", {
|
|
|
|
description = "Saddle",
|
|
|
|
wield_image = "mcl_mobitems_saddle.png",
|
|
|
|
inventory_image = "mcl_mobitems_saddle.png",
|
|
|
|
stack_max = 1,
|
|
|
|
})
|
|
|
|
|
2017-02-01 18:14:03 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:rabbit_stew", {
|
|
|
|
description = "Rabbit Stew",
|
|
|
|
wield_image = "mcl_mobitems_rabbit_stew.png",
|
|
|
|
inventory_image = "mcl_mobitems_rabbit_stew.png",
|
|
|
|
stack_max = 1,
|
|
|
|
on_use = minetest.item_eat(10, "mcl_core:bowl"),
|
|
|
|
groups = { food = 3, eatable = 10 },
|
|
|
|
})
|
|
|
|
|
2017-02-06 22:54:35 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:shulker_shell", {
|
|
|
|
description = "Shulker Shell",
|
|
|
|
inventory_image = "mcl_mobitems_shulker_shell.png",
|
|
|
|
groups = { craftitem = 1 },
|
|
|
|
})
|
|
|
|
|
2017-02-12 00:05:14 +03:00
|
|
|
minetest.register_craftitem("mcl_mobitems:slimeball", {
|
|
|
|
description = "Slimeball",
|
|
|
|
inventory_image = "mcl_mobitems_slimeball.png",
|
|
|
|
groups = { craftitem = 1 },
|
|
|
|
})
|
|
|
|
|
2017-02-01 19:06:31 +03:00
|
|
|
minetest.register_tool("mcl_mobitems:carrot_on_a_stick", {
|
|
|
|
description = "Carrot on a Stick",
|
|
|
|
wield_image = "mcl_mobitems_carrot_on_a_stick.png",
|
|
|
|
inventory_image = "mcl_mobitems_carrot_on_a_stick.png",
|
|
|
|
groups = { transport = 1 },
|
|
|
|
})
|
|
|
|
|
2017-02-12 00:05:14 +03:00
|
|
|
|
2017-01-16 19:40:08 +03:00
|
|
|
-----------
|
|
|
|
-- Crafting
|
|
|
|
-----------
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:leather",
|
|
|
|
recipe = {
|
|
|
|
{ "mcl_mobitems:rabbit_hide", "mcl_mobitems:rabbit_hide" },
|
|
|
|
{ "mcl_mobitems:rabbit_hide", "mcl_mobitems:rabbit_hide" },
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:blaze_powder 2",
|
|
|
|
recipe = {{"mcl_mobitems:blaze_rod"}},
|
|
|
|
})
|
|
|
|
|
2017-02-06 01:21:09 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:rabbit_stew",
|
|
|
|
recipe = {
|
|
|
|
{ "", "mcl_mobitems:cooked_rabbit", "", },
|
|
|
|
{ "group:mushroom", "mcl_farming:potato_item_baked", "mcl_farming:carrot_item", },
|
|
|
|
{ "", "mcl_core:bowl", "", },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2017-02-01 18:14:03 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:rabbit_stew",
|
|
|
|
recipe = {
|
|
|
|
{ "", "mcl_mobitems:cooked_rabbit", "", },
|
|
|
|
{ "mcl_farming:carrot_item", "mcl_farming:potato_item_baked", "group:mushroom", },
|
|
|
|
{ "", "mcl_core:bowl", "", },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2017-02-01 19:06:31 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:carrot_on_a_stick",
|
|
|
|
recipe = {
|
|
|
|
{ "mcl_fishing:fishing_rod", "", },
|
|
|
|
{ "", "mcl_farming:carrot_item" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_mobitems:carrot_on_a_stick",
|
|
|
|
recipe = {
|
|
|
|
{ "", "mcl_fishing:fishing_rod", },
|
|
|
|
{ "mcl_farming:carrot_item", "" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2017-01-16 19:40:08 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "mcl_mobitems:magma_cream",
|
2017-02-12 00:05:14 +03:00
|
|
|
recipe = {"mcl_mobitems:blaze_powder", "mcl_mobitems:slimeball"},
|
2017-01-16 19:40:08 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_mobitems:cooked_mutton",
|
|
|
|
recipe = "mcl_mobitems:mutton",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_mobitems:cooked_rabbit",
|
|
|
|
recipe = "mcl_mobitems:rabbit",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_mobitems:cooked_chicken",
|
|
|
|
recipe = "mcl_mobitems:chicken",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_mobitems:cooked_beef",
|
|
|
|
recipe = "mcl_mobitems:beef",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_mobitems:blaze_rod",
|
|
|
|
burntime = 120,
|
|
|
|
})
|
|
|
|
|
2017-02-12 00:05:14 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'mcl_mobitems:slimeball 9',
|
|
|
|
recipe = {{"mcl_core:slimeblock"}},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:slimeblock",
|
|
|
|
recipe = {{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",},
|
|
|
|
{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",},
|
|
|
|
{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",}},
|
|
|
|
})
|
2017-02-07 07:11:23 +03:00
|
|
|
|