use current intllib API

This commit is contained in:
Vanessa Ezekowitz
2014-12-27 01:20:51 -05:00
parent 3472d32f2b
commit 56177e5142
9 changed files with 15 additions and 47 deletions

View File

@ -1 +1,2 @@
plants_lib

View File

@ -1,14 +1,7 @@
-- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function ( s ) return s end
end
local S = plantslib.intllib
local SPAWN_DELAY = 1000
local SPAWN_CHANCE = 200