From 5d88f2c660e7ba24aba2a9b26ac8990d7ae9cb37 Mon Sep 17 00:00:00 2001 From: tchncs <tchncs@vivaldi.net> Date: Wed, 18 May 2016 19:48:22 +0200 Subject: [PATCH] make mobs_sea, xdecor:bowl_soup, wine compatible to hunger --- hbhunger/hunger.lua | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/hbhunger/hunger.lua b/hbhunger/hunger.lua index 011671c..d2c1ce6 100644 --- a/hbhunger/hunger.lua +++ b/hbhunger/hunger.lua @@ -388,37 +388,20 @@ if minetest.get_modpath("ferns") ~= nil then end -- Xanadu server only -if minetest.get_modpath("xanadu") then - overwrite("xanadu:cinnamon_roll", 4) - overwrite("xanadu:pumpkin_pie", 10) - overwrite("xanadu:french_toast", 2) - overwrite("xanadu:icecream_strawberry", 3) - overwrite("xanadu:icecream_melon", 4) - overwrite("xanadu:milkshake_strawberry", 3, "vessels:drinking_glass") - overwrite("xanadu:milkshake_banana", 4, "vessels:drinking_glass") - overwrite("xanadu:iced_coffee", 3, "vessels:drinking_glass") - overwrite("xanadu:pizza_slice", 3) - overwrite("xanadu:cupcake", 4) - overwrite("xanadu:cupcake_chocolate", 4) - overwrite("xanadu:juice_apple", 4, "vessels:drinking_glass") - overwrite("xanadu:juice_coconut", 4, "vessels:drinking_glass") - overwrite("xanadu:juice_orange", 4, "vessels:drinking_glass") - overwrite("xanadu:juice_cactus", 2, "vessels:drinking_glass") - overwrite("xanadu:hotchocolate", 6, "bucket:bucket_empty") - overwrite("xanadu:milk_chocolate", 3) - overwrite("xanadu:chocolate_donut", 3) - overwrite("xanadu:bacon", 4) - overwrite("xanadu:burger", 7) - overwrite("xanadu:fries", 6) +if minetest.get_modpath("wine") then overwrite("wine:glass_wine", 2) overwrite("wine:glass_beer", 2) overwrite("wine:glass_mead", 2) overwrite("wine:glass_cider", 2) - overwrite("xanadu:potato_salad", 8, "ethereal:bowl", nil, 2) - overwrite("xanadu:gingerbread_man", 2) - overwrite("xanadu:taco", 4) - overwrite("mobs:clownfish_raw", 2) - overwrite("mobs:bluefish_raw", 2) +end + +if minetest.get_modpath("mobs_sea") then + overwrite("mobs:clownfish_raw", 2) + overwrite("mobs:bluefish_raw", 2) +end + +if minetest.get_modpath("xdecor") then + overwrite("xdecor:bowl_soup", 20) end -- player-action based hunger changes -- GitLab