1
0
mirror of https://github.com/rubenwardy/food.git synced 2025-07-08 02:30:22 +02:00
This commit is contained in:
rubenwardy
2015-01-04 17:31:30 +00:00
parent 2897fe334f
commit ca32dc17ce
5 changed files with 24 additions and 15 deletions

View File

@ -11,6 +11,14 @@ print("Food Mod - Version 2.3")
dofile(minetest.get_modpath("food_basic").."/support.lua")
dofile(minetest.get_modpath("food_basic").."/ingredients.lua")
-- Boilerplate to support localized strings if intllib mod is installed.
local S = 0
if (intllib) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function ( s ) return s end
end
-- Register dark chocolate
food.module("dark_chocolate", function()