summaryrefslogtreecommitdiff
path: root/poisonivy/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'poisonivy/init.lua')
-rw-r--r--poisonivy/init.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/poisonivy/init.lua b/poisonivy/init.lua
index 8f7f7ba..af82b0c 100644
--- a/poisonivy/init.lua
+++ b/poisonivy/init.lua
@@ -1,12 +1,8 @@
-- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24
-local S
-if minetest.get_modpath("intllib") then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+-- support for i18n
+local S = plantlife_i18n.gettext
local SPAWN_DELAY = 1000
local SPAWN_CHANCE = 200