mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
Make poisonous food temp. less nutricious
This commit is contained in:
parent
6ec9da0fae
commit
bc43ecd28f
1 changed files with 4 additions and 4 deletions
|
@ -190,14 +190,14 @@ 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
|
||||||
if minetest.get_modpath("mcl_farming") then
|
if minetest.get_modpath("mcl_farming") then
|
||||||
mcl_hunger.register_food("mcl_farming:potato_item_poison", 2, "", 3)
|
mcl_hunger.register_food("mcl_farming:potato_item_poison", 1, "", 3)
|
||||||
end
|
end
|
||||||
if minetest.get_modpath("mcl_mobitems") then
|
if minetest.get_modpath("mcl_mobitems") then
|
||||||
mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 4, "", 8)
|
mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 2, "", 8)
|
||||||
mcl_hunger.register_food("mcl_mobitems:spider_eye", 2, "", 4)
|
mcl_hunger.register_food("mcl_mobitems:spider_eye", 0, "", 4)
|
||||||
end
|
end
|
||||||
if minetest.get_modpath("mcl_fishing") then
|
if minetest.get_modpath("mcl_fishing") then
|
||||||
mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 1, "", 60)
|
mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 0, "", 60)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_placenode(mcl_hunger.handle_node_actions)
|
minetest.register_on_placenode(mcl_hunger.handle_node_actions)
|
||||||
|
|
Loading…
Reference in a new issue