add missing S() function def for intllib

This commit is contained in:
Vanessa Ezekowitz 2013-10-26 17:29:50 -04:00
parent 02c4f6e693
commit 2d619ab154

View File

@ -11,6 +11,17 @@
plantslib = {} plantslib = {}
plantslib.modpath = minetest.get_modpath("plants_lib")
plantslib.intllib_modpath = minetest.get_modpath("intllib")
local S
if plantslib.intllib_modpath then
dofile(plantslib.intllib_modpath.."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function ( s ) return s end
end
local DEBUG = false --... except if you want to spam the console with debugging info :-) local DEBUG = false --... except if you want to spam the console with debugging info :-)
plantslib.plantlife_seed_diff = 329 -- needs to be global so other mods can see it plantslib.plantlife_seed_diff = 329 -- needs to be global so other mods can see it