Update help of all food items

This commit is contained in:
Wuzzy 2017-05-21 04:21:12 +02:00
parent 579a6ed6f3
commit 0f4573c594
11 changed files with 36 additions and 34 deletions

View file

@ -132,7 +132,7 @@ minetest.register_craftitem("mcl_core:bowl",{
minetest.register_craftitem("mcl_core:apple", { minetest.register_craftitem("mcl_core:apple", {
description = "Apple", description = "Apple",
_doc_items_longdesc = "Apples can be eaten to restore 4 hunger points.", _doc_items_longdesc = "Apples are food items which can be eaten.",
wield_image = "default_apple.png", wield_image = "default_apple.png",
inventory_image = "default_apple.png", inventory_image = "default_apple.png",
stack_max = 64, stack_max = 64,
@ -142,12 +142,14 @@ minetest.register_craftitem("mcl_core:apple", {
_mcl_saturation = 2.4, _mcl_saturation = 2.4,
}) })
-- TODO: Status effects
minetest.register_craftitem("mcl_core:apple_gold", { minetest.register_craftitem("mcl_core:apple_gold", {
description = core.colorize("#55FFFF", "Golden Apple"), description = core.colorize("#55FFFF", "Golden Apple"),
_doc_items_longdesc = "Golden apples can be eaten to restore 8 hunger points.", _doc_items_longdesc = "Golden apples are precious food items which can be eaten.",
wield_image = "default_apple_gold.png", wield_image = "default_apple_gold.png",
inventory_image = "default_apple_gold.png", inventory_image = "default_apple_gold.png",
stack_max = 64, stack_max = 64,
-- TODO: Reduce to 4 when it's ready
on_place = minetest.item_eat(8), on_place = minetest.item_eat(8),
on_secondary_use = minetest.item_eat(8), on_secondary_use = minetest.item_eat(8),
groups = { food = 2, eatable = 8 }, groups = { food = 2, eatable = 8 },

View file

@ -250,7 +250,7 @@ minetest.register_node("mcl_end:chorus_plant", {
-- Craftitems -- Craftitems
minetest.register_craftitem("mcl_end:chorus_fruit", { minetest.register_craftitem("mcl_end:chorus_fruit", {
description = "Chorus Fruit", description = "Chorus Fruit",
_doc_items_longdesc = "Chorus fruits can be eaten to restore 4 hunger points.", _doc_items_longdesc = "Chorus fruits are the fruits of the chorus plant which is home to the End. They can be eaten to restore a few hunger points.",
wield_image = "mcl_end_chorus_fruit.png", wield_image = "mcl_end_chorus_fruit.png",
inventory_image = "mcl_end_chorus_fruit.png", inventory_image = "mcl_end_chorus_fruit.png",
-- TODO: Teleport player -- TODO: Teleport player

View file

@ -118,7 +118,7 @@ minetest.register_node("mcl_farming:beetroot", {
minetest.register_craftitem("mcl_farming:beetroot_item", { minetest.register_craftitem("mcl_farming:beetroot_item", {
description = "Beetroot", description = "Beetroot",
_doc_items_longdesc = "Beetroots can be eaten for 1 hunger point. Pigs like beetroots, too.", _doc_items_longdesc = "Beetroots are both used as food item and a dye ingredient. Pigs like beetroots, too.",
_doc_items_usagehelp = "Hold it in your hand and right-click to eat it. Rightclick an animal to feed it.", _doc_items_usagehelp = "Hold it in your hand and right-click to eat it. Rightclick an animal to feed it.",
inventory_image = "mcl_farming_beetroot.png", inventory_image = "mcl_farming_beetroot.png",
wield_image = "mcl_farming_beetroot.png", wield_image = "mcl_farming_beetroot.png",
@ -130,7 +130,7 @@ minetest.register_craftitem("mcl_farming:beetroot_item", {
minetest.register_craftitem("mcl_farming:beetroot_soup", { minetest.register_craftitem("mcl_farming:beetroot_soup", {
description = "Beetroot Soup", description = "Beetroot Soup",
_doc_items_longdesc = "Beetroot soup is a healthy soup which can be consumed for 6 hunger points.", _doc_items_longdesc = "Beetroot soup is a food item.",
stack_max = 1, stack_max = 1,
inventory_image = "mcl_farming_beetroot_soup.png", inventory_image = "mcl_farming_beetroot_soup.png",
wield_image = "mcl_farming_beetroot_soup.png", wield_image = "mcl_farming_beetroot_soup.png",

View file

@ -80,7 +80,7 @@ minetest.register_node("mcl_farming:carrot", {
minetest.register_craftitem("mcl_farming:carrot_item", { minetest.register_craftitem("mcl_farming:carrot_item", {
description = "Carrot", description = "Carrot",
_doc_items_longdesc = "Carrots can be eaten and planted. When eaten, a carrot restores 3 hunger points. Pigs and rabbits like carrots.", _doc_items_longdesc = "Carrots can be eaten and planted. Pigs and rabbits like carrots.",
_doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant the carrot. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.", _doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant the carrot. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.",
inventory_image = "farming_carrot.png", inventory_image = "farming_carrot.png",
groups = { food = 2, eatable = 3 }, groups = { food = 2, eatable = 3 },
@ -98,7 +98,7 @@ minetest.register_craftitem("mcl_farming:carrot_item", {
minetest.register_craftitem("mcl_farming:carrot_item_gold", { minetest.register_craftitem("mcl_farming:carrot_item_gold", {
description = "Golden Carrot", description = "Golden Carrot",
_doc_items_longdesc = "This is a food item which can be eaten for 6 hunger points.", _doc_items_longdesc = "A golden carrot is a precious food item which can be eaten. It is really, really filling!",
inventory_image = "farming_carrot_gold.png", inventory_image = "farming_carrot_gold.png",
on_place = minetest.item_eat(6), on_place = minetest.item_eat(6),
on_secondary_use = minetest.item_eat(6), on_secondary_use = minetest.item_eat(6),

View file

@ -108,7 +108,7 @@ mcl_farming:add_gourd("mcl_farming:melontige_unconnect", "mcl_farming:melontige_
minetest.register_craftitem("mcl_farming:melon_item", { minetest.register_craftitem("mcl_farming:melon_item", {
-- Original name: “Melon” -- Original name: “Melon”
description = "Melon Slice", description = "Melon Slice",
_doc_items_longdesc = "This is a food item which can be eaten for 2 hunger points.", _doc_items_longdesc = "This is a food item which can be eaten.",
stack_max = 64, stack_max = 64,
inventory_image = "farming_melon.png", inventory_image = "farming_melon.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),

View file

@ -81,7 +81,7 @@ minetest.register_node("mcl_farming:potato", {
minetest.register_craftitem("mcl_farming:potato_item", { minetest.register_craftitem("mcl_farming:potato_item", {
description = "Potato", description = "Potato",
_doc_items_longdesc = "Potatoes are food items which can be eaten, cooked in the furnace and planted. Eating a potato restores 1 hunger point. Pigs like potatoes.", _doc_items_longdesc = "Potatoes are food items which can be eaten, cooked in the furnace and planted. Pigs like potatoes.",
_doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant it. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.", _doc_items_usagehelp = "Hold it in your hand and rightclick to eat it. Place it on top of farmland to plant it. It grows in sunlight and grows faster on hydrated farmland. Rightclick an animal to feed it.",
inventory_image = "farming_potato.png", inventory_image = "farming_potato.png",
groups = { food = 2, eatable = 1 }, groups = { food = 2, eatable = 1 },
@ -100,7 +100,7 @@ minetest.register_craftitem("mcl_farming:potato_item", {
minetest.register_craftitem("mcl_farming:potato_item_baked", { minetest.register_craftitem("mcl_farming:potato_item_baked", {
description = "Baked Potato", description = "Baked Potato",
_doc_items_longdesc = "Baked potatoes are food items which can be eaten for 5 hunger points.", _doc_items_longdesc = "Baked potatoes are food items which are more filling than the unbaked ones.",
stack_max = 64, stack_max = 64,
inventory_image = "farming_potato_baked.png", inventory_image = "farming_potato_baked.png",
on_place = minetest.item_eat(5), on_place = minetest.item_eat(5),
@ -111,7 +111,7 @@ minetest.register_craftitem("mcl_farming:potato_item_baked", {
minetest.register_craftitem("mcl_farming:potato_item_poison", { minetest.register_craftitem("mcl_farming:potato_item_poison", {
description = "Poisonous Potato", description = "Poisonous Potato",
_doc_items_longdesc = "This potato doesn't look too healthy. You can eat it for 2 hunger points, but there's a 60% chance it will poison you.", _doc_items_longdesc = "This potato doesn't look too healthy. You can eat it to restore hunger points, but there's a 60% chance it will poison you briefly.",
stack_max = 64, stack_max = 64,
inventory_image = "farming_potato_poison.png", inventory_image = "farming_potato_poison.png",
-- TODO: Cause status effects -- TODO: Cause status effects

View file

@ -124,7 +124,7 @@ minetest.register_craft({
minetest.register_craftitem("mcl_farming:pumpkin_pie", { minetest.register_craftitem("mcl_farming:pumpkin_pie", {
description = "Pumpkin Pie", description = "Pumpkin Pie",
_doc_items_longdesc = "A pumpkin pie is very filling and can be eaten for 8 hunger points.", _doc_items_longdesc = "A pumpkin pie is a tasty food item which can be eaten.",
stack_max = 64, stack_max = 64,
inventory_image = "mcl_farming_pumpkin_pie.png", inventory_image = "mcl_farming_pumpkin_pie.png",
wield_image = "mcl_farming_pumpkin_pie.png", wield_image = "mcl_farming_pumpkin_pie.png",

View file

@ -109,7 +109,7 @@ minetest.register_craft({
minetest.register_craftitem("mcl_farming:cookie", { minetest.register_craftitem("mcl_farming:cookie", {
description = "Cookie", description = "Cookie",
_doc_items_longdesc = "This is a food item which can be eaten for 2 hunger points.", _doc_items_longdesc = "This is a food item which can be eaten.",
inventory_image = "farming_cookie.png", inventory_image = "farming_cookie.png",
groups = {food=2, eatable=2}, groups = {food=2, eatable=2},
_mcl_saturation = 0.4, _mcl_saturation = 0.4,
@ -120,7 +120,7 @@ minetest.register_craftitem("mcl_farming:cookie", {
minetest.register_craftitem("mcl_farming:bread", { minetest.register_craftitem("mcl_farming:bread", {
description = "Bread", description = "Bread",
_doc_items_longdesc = "This is a food item which can be eaten for 5 hunger points.", _doc_items_longdesc = "This is a food item which can be eaten.",
inventory_image = "farming_bread.png", inventory_image = "farming_bread.png",
groups = {food=2, eatable=5}, groups = {food=2, eatable=5},
_mcl_saturation = 6.0, _mcl_saturation = 6.0,

View file

@ -121,7 +121,7 @@ minetest.register_craft({
-- Fish -- Fish
minetest.register_craftitem("mcl_fishing:fish_raw", { minetest.register_craftitem("mcl_fishing:fish_raw", {
description = "Raw Fish", description = "Raw Fish",
_doc_items_longdesc = "This is a raw food item which can be eaten for 2 hunger points. But cooking it is better.", _doc_items_longdesc = "Raw fish is obtained by fishing and is a food item which can be eaten safely. Cooking it improves its nutritional value.",
inventory_image = "mcl_fishing_fish_raw.png", inventory_image = "mcl_fishing_fish_raw.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2), on_secondary_use = minetest.item_eat(2),
@ -132,7 +132,7 @@ minetest.register_craftitem("mcl_fishing:fish_raw", {
minetest.register_craftitem("mcl_fishing:fish_cooked", { minetest.register_craftitem("mcl_fishing:fish_cooked", {
description = "Cooked Fish", description = "Cooked Fish",
_doc_items_longdesc = "Mmh, fish! This food item can be eaten for 5 hunger points.", _doc_items_longdesc = "Mmh, fish! This is a healthy food item.",
inventory_image = "mcl_fishing_fish_cooked.png", inventory_image = "mcl_fishing_fish_cooked.png",
on_place = minetest.item_eat(5), on_place = minetest.item_eat(5),
on_secondary_use = minetest.item_eat(5), on_secondary_use = minetest.item_eat(5),
@ -151,7 +151,7 @@ minetest.register_craft({
-- Salmon -- Salmon
minetest.register_craftitem("mcl_fishing:salmon_raw", { minetest.register_craftitem("mcl_fishing:salmon_raw", {
description = "Raw Salmon", description = "Raw Salmon",
_doc_items_longdesc = "This is a raw food item which can be eaten for 2 hunger points. But cooking it is better.", _doc_items_longdesc = "Raw salmon is obtained by fishing and is a food item which can be eaten safely. Cooking it improves its nutritional value.",
inventory_image = "mcl_fishing_salmon_raw.png", inventory_image = "mcl_fishing_salmon_raw.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2), on_secondary_use = minetest.item_eat(2),
@ -162,7 +162,7 @@ minetest.register_craftitem("mcl_fishing:salmon_raw", {
minetest.register_craftitem("mcl_fishing:salmon_cooked", { minetest.register_craftitem("mcl_fishing:salmon_cooked", {
description = "Cooked Salmon", description = "Cooked Salmon",
_doc_items_longdesc = "This is a food item which can be eaten for 6 hunger points.", _doc_items_longdesc = "This is a healthy food item which can be eaten.",
inventory_image = "mcl_fishing_salmon_cooked.png", inventory_image = "mcl_fishing_salmon_cooked.png",
on_place = minetest.item_eat(6), on_place = minetest.item_eat(6),
on_secondary_use = minetest.item_eat(6), on_secondary_use = minetest.item_eat(6),
@ -181,7 +181,7 @@ minetest.register_craft({
-- Clownfish -- Clownfish
minetest.register_craftitem("mcl_fishing:clownfish_raw", { minetest.register_craftitem("mcl_fishing:clownfish_raw", {
description = "Clownfish", description = "Clownfish",
_doc_items_longdesc = "This is a food item which can be eaten for 1 hunger point.", _doc_items_longdesc = "Clownfish may be obtained by fishing (and luck) and is a food item which can be eaten safely.",
inventory_image = "mcl_fishing_clownfish_raw.png", inventory_image = "mcl_fishing_clownfish_raw.png",
on_place = minetest.item_eat(1), on_place = minetest.item_eat(1),
on_secondary_use = minetest.item_eat(1), on_secondary_use = minetest.item_eat(1),
@ -194,7 +194,7 @@ minetest.register_craftitem("mcl_fishing:clownfish_raw", {
-- TODO: Add real status effect -- TODO: Add real status effect
minetest.register_craftitem("mcl_fishing:pufferfish_raw", { minetest.register_craftitem("mcl_fishing:pufferfish_raw", {
description = "Pufferfish", description = "Pufferfish",
_doc_items_longdesc = "Pufferfish are a common species of fish, but they not fit for consumption by humans. Eating a pufferfish restores 1 hunger point, but it will poison you very badly (which drains your health non-fatally) and causes serious food poisoning (which increases your hunger).", _doc_items_longdesc = "Pufferfish are a common species of fish and can be obtained by fishing. They can technically be eaten, but they are very bad for humans. Eating a pufferfish only 1 hunger point and will poison you very badly (which drains your health non-fatally) and causes serious food poisoning (which increases your hunger).",
inventory_image = "mcl_fishing_pufferfish_raw.png", inventory_image = "mcl_fishing_pufferfish_raw.png",
on_place = minetest.item_eat(1), on_place = minetest.item_eat(1),
on_secondary_use = minetest.item_eat(1), on_secondary_use = minetest.item_eat(1),

View file

@ -2,7 +2,7 @@
minetest.register_craftitem("mcl_mobitems:rotten_flesh", { minetest.register_craftitem("mcl_mobitems:rotten_flesh", {
description = "Rotten Flesh", description = "Rotten Flesh",
_doc_items_longdesc = "Yuck! This piece of flesh clearly has seen better days. If you're really desperate, you can eat it for 4 hunger points, but there's a 80% chance it causes food poisoning, which increases your hunger for a while.", _doc_items_longdesc = "Yuck! This piece of flesh clearly has seen better days. If you're really desperate, you can eat it to restore a few hunger points, but there's a 80% chance it causes food poisoning, which increases your hunger for a while.",
inventory_image = "mcl_mobitems_rotten_flesh.png", inventory_image = "mcl_mobitems_rotten_flesh.png",
wield_image = "mcl_mobitems_rotten_flesh.png", wield_image = "mcl_mobitems_rotten_flesh.png",
on_place = minetest.item_eat(4), on_place = minetest.item_eat(4),
@ -14,7 +14,7 @@ minetest.register_craftitem("mcl_mobitems:rotten_flesh", {
minetest.register_craftitem("mcl_mobitems:mutton", { minetest.register_craftitem("mcl_mobitems:mutton", {
description = "Raw Mutton", description = "Raw Mutton",
_doc_items_longdesc = "Raw mutton is the flesh from sheep and can be eaten for 2 hunger points.", _doc_items_longdesc = "Raw mutton is the flesh from a sheep and can be eaten safely. Cooking it will greatly increase its nutritional value.",
inventory_image = "mcl_mobitems_mutton_raw.png", inventory_image = "mcl_mobitems_mutton_raw.png",
wield_image = "mcl_mobitems_mutton_raw.png", wield_image = "mcl_mobitems_mutton_raw.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
@ -26,7 +26,7 @@ minetest.register_craftitem("mcl_mobitems:mutton", {
minetest.register_craftitem("mcl_mobitems:cooked_mutton", { minetest.register_craftitem("mcl_mobitems:cooked_mutton", {
description = "Cooked Mutton", description = "Cooked Mutton",
_doc_items_longdesc = "This is a food item which can be eaten for 6 hunger points.", _doc_items_longdesc = "Cooked mutton is the cooked flesh from a sheep and is used as food.",
inventory_image = "mcl_mobitems_mutton_cooked.png", inventory_image = "mcl_mobitems_mutton_cooked.png",
wield_image = "mcl_mobitems_mutton_cooked.png", wield_image = "mcl_mobitems_mutton_cooked.png",
on_place = minetest.item_eat(6), on_place = minetest.item_eat(6),
@ -38,7 +38,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_mutton", {
minetest.register_craftitem("mcl_mobitems:beef", { minetest.register_craftitem("mcl_mobitems:beef", {
description = "Raw Beef", description = "Raw Beef",
_doc_items_longdesc = "Raw beef is the flesh from cows and can be eaten for 3 hunger points.", _doc_items_longdesc = "Raw beef is the flesh from cows and can be eaten safely. Cooking it will greatly increase its nutritional value.",
inventory_image = "mcl_mobitems_beef_raw.png", inventory_image = "mcl_mobitems_beef_raw.png",
wield_image = "mcl_mobitems_beef_raw.png", wield_image = "mcl_mobitems_beef_raw.png",
on_place = minetest.item_eat(3), on_place = minetest.item_eat(3),
@ -50,7 +50,7 @@ minetest.register_craftitem("mcl_mobitems:beef", {
minetest.register_craftitem("mcl_mobitems:cooked_beef", { minetest.register_craftitem("mcl_mobitems:cooked_beef", {
description = "Steak", description = "Steak",
_doc_items_longdesc = "Steak is cooked beef from cows and can be eaten for 8 hunger points.", _doc_items_longdesc = "Steak is cooked beef from cows and can be eaten.",
inventory_image = "mcl_mobitems_beef_cooked.png", inventory_image = "mcl_mobitems_beef_cooked.png",
wield_image = "mcl_mobitems_beef_cooked.png", wield_image = "mcl_mobitems_beef_cooked.png",
on_place = minetest.item_eat(8), on_place = minetest.item_eat(8),
@ -62,7 +62,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_beef", {
minetest.register_craftitem("mcl_mobitems:chicken", { minetest.register_craftitem("mcl_mobitems:chicken", {
description = "Raw Chicken", description = "Raw Chicken",
_doc_items_longdesc = "This chicken is raw and unprocessed and should be rather eaten in cooked form. You can still eat it for 2 hunger points. But beware: There's a 30% chance that this gives you food poisoning, which increases your hunger rate for a while.", _doc_items_longdesc = "Raw chicken is a food item which is not safe to consume. You can eat it to restore a few hunger points, but there's a 30% chance to suffer from food poisoning, which increases your hunger rate for a while. Cooking raw chicken will make it safe to eat and increases its nutritional value.",
inventory_image = "mcl_mobitems_chicken_raw.png", inventory_image = "mcl_mobitems_chicken_raw.png",
wield_image = "mcl_mobitems_chicken_raw.png", wield_image = "mcl_mobitems_chicken_raw.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
@ -74,7 +74,7 @@ minetest.register_craftitem("mcl_mobitems:chicken", {
minetest.register_craftitem("mcl_mobitems:cooked_chicken", { minetest.register_craftitem("mcl_mobitems:cooked_chicken", {
description = "Cooked Chicken", description = "Cooked Chicken",
_doc_items_longdesc = "This is a food item which can be eaten for 6 hunger points.", _doc_items_longdesc = "A cooked chicken is a healthy food item which can be eaten.",
inventory_image = "mcl_mobitems_chicken_cooked.png", inventory_image = "mcl_mobitems_chicken_cooked.png",
wield_image = "mcl_mobitems_chicken_cooked.png", wield_image = "mcl_mobitems_chicken_cooked.png",
on_place = minetest.item_eat(6), on_place = minetest.item_eat(6),
@ -86,7 +86,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_chicken", {
minetest.register_craftitem("mcl_mobitems:porkchop", { minetest.register_craftitem("mcl_mobitems:porkchop", {
description = "Raw Porkchop", description = "Raw Porkchop",
_doc_items_longdesc = "A raw porkchop is the flesh from a pig and can be eaten for 3 hunger points.", _doc_items_longdesc = "A raw porkchop is the flesh from a pig and can be eaten safely. Cooking it will greatly increase its nutritional value.",
inventory_image = "mcl_mobitems_porkchop_raw.png", inventory_image = "mcl_mobitems_porkchop_raw.png",
wield_image = "mcl_mobitems_porkchop_raw.png", wield_image = "mcl_mobitems_porkchop_raw.png",
on_place = minetest.item_eat(3), on_place = minetest.item_eat(3),
@ -98,7 +98,7 @@ minetest.register_craftitem("mcl_mobitems:porkchop", {
minetest.register_craftitem("mcl_mobitems:cooked_porkchop", { minetest.register_craftitem("mcl_mobitems:cooked_porkchop", {
description = "Cooked Porkchop", description = "Cooked Porkchop",
_doc_items_longdesc = "This is a food item which can be eaten for 8 hunger points.", _doc_items_longdesc = "Cooked porkchop is the cooked flesh of a pig and is used as food.",
inventory_image = "mcl_mobitems_porkchop_cooked.png", inventory_image = "mcl_mobitems_porkchop_cooked.png",
wield_image = "mcl_mobitems_porkchop_cooked.png", wield_image = "mcl_mobitems_porkchop_cooked.png",
on_place = minetest.item_eat(8), on_place = minetest.item_eat(8),
@ -110,7 +110,7 @@ minetest.register_craftitem("mcl_mobitems:cooked_porkchop", {
minetest.register_craftitem("mcl_mobitems:rabbit", { minetest.register_craftitem("mcl_mobitems:rabbit", {
description = "Raw Rabbit", description = "Raw Rabbit",
_doc_items_longdesc = "This is a food item which can be eaten for 3 hunger points.", _doc_items_longdesc = "Raw rabbit is a food item from a dead rabbit. It can be eaten safely. Cooking it will increase its nutritional value.",
inventory_image = "mcl_mobitems_rabbit_raw.png", inventory_image = "mcl_mobitems_rabbit_raw.png",
wield_image = "mcl_mobitems_rabbit_raw.png", wield_image = "mcl_mobitems_rabbit_raw.png",
on_place = minetest.item_eat(3), on_place = minetest.item_eat(3),
@ -122,7 +122,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit", {
minetest.register_craftitem("mcl_mobitems:cooked_rabbit", { minetest.register_craftitem("mcl_mobitems:cooked_rabbit", {
description = "Cooked Rabbit", description = "Cooked Rabbit",
_doc_items_longdesc = "This is a food item which can be eaten for 5 hunger points.", _doc_items_longdesc = "This is a food item which can be eaten.",
inventory_image = "mcl_mobitems_rabbit_cooked.png", inventory_image = "mcl_mobitems_rabbit_cooked.png",
wield_image = "mcl_mobitems_rabbit_cooked.png", wield_image = "mcl_mobitems_rabbit_cooked.png",
on_place = minetest.item_eat(5), on_place = minetest.item_eat(5),
@ -154,7 +154,7 @@ minetest.register_craftitem("mcl_mobitems:milk_bucket", {
minetest.register_craftitem("mcl_mobitems:spider_eye", { minetest.register_craftitem("mcl_mobitems:spider_eye", {
description = "Spider Eye", description = "Spider Eye",
_doc_items_longdesc = "Spider eyes are used mainly in crafting and brewing. If you're really desperate, you can eat a spider eye for 2 hunger points, but it will poison you.", _doc_items_longdesc = "Spider eyes are used mainly in crafting and brewing. If you're really desperate, you can eat a spider eye, but it will poison you briefly.",
inventory_image = "mcl_mobitems_spider_eye.png", inventory_image = "mcl_mobitems_spider_eye.png",
wield_image = "mcl_mobitems_spider_eye.png", wield_image = "mcl_mobitems_spider_eye.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
@ -273,7 +273,7 @@ minetest.register_craftitem("mcl_mobitems:saddle", {
minetest.register_craftitem("mcl_mobitems:rabbit_stew", { minetest.register_craftitem("mcl_mobitems:rabbit_stew", {
description = "Rabbit Stew", description = "Rabbit Stew",
_doc_items_longdesc = "Rabbit stew is a very nutricious food item which can be consumed for 10 hunger points.", _doc_items_longdesc = "Rabbit stew is a very nutricious food item.",
wield_image = "mcl_mobitems_rabbit_stew.png", wield_image = "mcl_mobitems_rabbit_stew.png",
inventory_image = "mcl_mobitems_rabbit_stew.png", inventory_image = "mcl_mobitems_rabbit_stew.png",
stack_max = 1, stack_max = 1,

View file

@ -111,7 +111,7 @@ minetest.register_node("mcl_mushrooms:mushroom_red", {
minetest.register_craftitem("mcl_mushrooms:mushroom_stew", { minetest.register_craftitem("mcl_mushrooms:mushroom_stew", {
description = "Mushroom Stew", description = "Mushroom Stew",
_doc_items_longdesc = "Mushroom stew is a healthy soup which can be consumed for 6 hunger points.", _doc_items_longdesc = "Mushroom stew is a healthy soup which can be consumed to restore some hunger points.",
inventory_image = "farming_mushroom_stew.png", inventory_image = "farming_mushroom_stew.png",
on_place = minetest.item_eat(6, "mcl_core:bowl"), on_place = minetest.item_eat(6, "mcl_core:bowl"),
on_secondary_use = minetest.item_eat(6, "mcl_core:bowl"), on_secondary_use = minetest.item_eat(6, "mcl_core:bowl"),