summaryrefslogtreecommitdiff
path: root/poisonivy
diff options
context:
space:
mode:
Diffstat (limited to 'poisonivy')
-rw-r--r--poisonivy/depends.txt2
-rw-r--r--poisonivy/init.lua8
2 files changed, 3 insertions, 7 deletions
diff --git a/poisonivy/depends.txt b/poisonivy/depends.txt
index 249cc74..803e7c8 100644
--- a/poisonivy/depends.txt
+++ b/poisonivy/depends.txt
@@ -1,2 +1,2 @@
biome_lib
-
+plantlife_i18n
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