mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-12-25 01:50:20 +01:00
add missing S() function def for intllib
This commit is contained in:
parent
02c4f6e693
commit
2d619ab154
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user