Update poisonous food help and values

This commit is contained in:
Wuzzy 2017-05-21 00:43:30 +02:00
parent 8ce001a564
commit 4fb404bba5
4 changed files with 13 additions and 14 deletions

@ -111,14 +111,13 @@ 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 healthy. Eating it will only poison you.", _doc_items_longdesc = "This potato doesn't look too healthy. You can eat if for 2 hunger points, but there's a 60% chance it will poison you.",
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
-- TODO: Raise to 2 on_place = minetest.item_eat(2),
on_place = minetest.item_eat(0), on_secondary_use = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(0), groups = { food = 2, eatable = 2 },
groups = { food = 2, eatable = 0 },
_mcl_saturation = 1.2, _mcl_saturation = 1.2,
}) })

@ -191,10 +191,10 @@ minetest.register_craftitem("mcl_fishing:clownfish_raw", {
}) })
-- Pufferfish -- Pufferfish
-- TODO: Add 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 are dangerous to eat. Eating a pufferfish restores 1 hunger point, but it makes you very sick (which drains your health non-fatally).", _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 makes you very sick (which drains your health non-fatally) and hungry (which drains your satiation).",
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),

@ -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 it will poison and hurt you 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 for 4 hunger points, but there's a 80% chance it makes you hungry.",
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),
@ -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 is a food item which can be eaten for 2 hunger points.", _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 will make you more hungry for a while.",
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),

@ -195,10 +195,10 @@ end)
-- Apply simple poison effect as long there are no real status effect -- Apply simple poison effect as long there are no real status effect
-- TODO: Remove this when status effects are in place -- TODO: Remove this when status effects are in place
mcl_hunger.register_food("mcl_farming:potato_item_poison", 1, "", 4, 1, 0) mcl_hunger.register_food("mcl_farming:potato_item_poison", 2, "", 4, 1, 0)
mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 2, "", 8, 1, 100) mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 4, "", 30, 0, 100)
mcl_hunger.register_food("mcl_mobitems:chicken_raw", 2, "", 30, 0, 100) mcl_hunger.register_food("mcl_mobitems:chicken", 2, "", 30, 0, 100)
mcl_hunger.register_food("mcl_mobitems:spider_eye", 0, "", 4, 1, 0) mcl_hunger.register_food("mcl_mobitems:spider_eye", 2, "", 4, 1, 0)
mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 0, "", 60, 1, 300) mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 1, "", 60, 1, 300)