mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-12-26 15:17:33 +01:00
Add support for animalmaterials and fishing
This commit is contained in:
parent
7b2484ca2a
commit
74889570ef
21
hunger.lua
21
hunger.lua
@ -49,4 +49,25 @@ if minetest.get_modpath("dwarves") ~= nil then
|
||||
overwrite("dwarves:tequila_with_lime", 2)
|
||||
overwrite("dwarves:sake", 2)
|
||||
end
|
||||
|
||||
if minetest.get_modpath("animalmaterials") ~= nil then
|
||||
overwrite("animalmaterials:milk", 2)
|
||||
overwrite("animalmaterials:meat_raw", 3)
|
||||
overwrite("animalmaterials:meat_pork", 3)
|
||||
overwrite("animalmaterials:meat_beef", 3)
|
||||
overwrite("animalmaterials:meat_chicken", 3)
|
||||
overwrite("animalmaterials:meat_lamb", 3)
|
||||
overwrite("animalmaterials:meat_venison", 3)
|
||||
--overwrite("animalmaterials:meat_undead", 3)-- -3 damage
|
||||
--overwrite("animalmaterials:meat_toxic", 3)-- -5 damage
|
||||
overwrite("animalmaterials:meat_ostrich", 3)
|
||||
overwrite("animalmaterials:fish_bluewhite", 2)
|
||||
overwrite("animalmaterials:fish_clownfish", 2)
|
||||
end
|
||||
|
||||
if minetest.get_modpath("fishing") ~= nil then
|
||||
overwrite("fishing:fish_raw", 2)
|
||||
overwrite("fishing:fish", 4)
|
||||
overwrite("fishing:sushi", 6)
|
||||
end
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user