diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
commit | 75e0a665ce2a45e1158a427d3f70f854f5f4d5a8 (patch) | |
tree | 881209e2c8f7efcbce69482bc3caa19b4828e290 /bushes_classic/cooking.lua | |
parent | b8cd2f723c7c9079e631d7a4078862ff47b24915 (diff) | |
download | dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.gz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.bz2 dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.xz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.zip |
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
Diffstat (limited to 'bushes_classic/cooking.lua')
-rw-r--r-- | bushes_classic/cooking.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bushes_classic/cooking.lua b/bushes_classic/cooking.lua index 25af7e8..0e0810a 100644 --- a/bushes_classic/cooking.lua +++ b/bushes_classic/cooking.lua @@ -1,4 +1,9 @@ -local S = biome_lib.intllib +local S +if minetest.get_modpath("intllib") then + S = intllib.Getter() +else + S = function(s) return s end +end -- Basket @@ -71,7 +76,7 @@ for i, berry in ipairs(bushes_classic.bushes) do else minetest.register_craftitem(":bushes:"..berry, { - description = desc, + description = S(desc), inventory_image = "bushes_"..berry..".png", groups = {berry = 1, [berry] = 1}, on_use = minetest.item_eat(1), |