diff options
author | sys4-fr <sys4@free.fr> | 2017-04-03 01:50:59 +0200 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2017-04-03 00:50:59 +0100 |
commit | 93de17fdc30dcdd498aa20c065a9d068933190d4 (patch) | |
tree | 0d7d7439d5818b43e40c596b7b097bcb1b931dcc /food_basic/support.lua | |
parent | 54e7fa3b8117fa61da84b1a6d68dc912591d3da0 (diff) |
Fix intllib boilerplate code
Diffstat (limited to 'food_basic/support.lua')
-rw-r--r-- | food_basic/support.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/food_basic/support.lua b/food_basic/support.lua index be7d067..0161259 100644 --- a/food_basic/support.lua +++ b/food_basic/support.lua @@ -18,7 +18,7 @@ food.support("cactus", "default:cactus") food.support("apple", "default:apple") food.support("orange", { "farming_plus:orange_item", - "ethereal:orange" + "ethereal:orange", }) food.disable_if("ethereal", "orange") @@ -82,5 +82,9 @@ else end if minetest.get_modpath("mobs") and mobs.mod == "redo" then - food.support("chicken", "mobs:chicken_cooked") + if minetest.get_modpath("mobs_animal") then + food.support("chicken", "mobs:chicken_cooked") + else + food.support("chicken", "mobs:meat") + end end |