summaryrefslogtreecommitdiff
path: root/spawner.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-07-04 20:37:04 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-07-04 20:37:04 +0100
commit75a2025871ab6a988982d7c2785f7eef0d2e7ad9 (patch)
treee6f5841b429674cd3cfb03cb68a236d24994e1ac /spawner.lua
parentf78f7c305903f89038ab778c752d6a25dc29660b (diff)
updated intllib support and translations
Diffstat (limited to 'spawner.lua')
-rw-r--r--spawner.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/spawner.lua b/spawner.lua
index 11ddfee..8aa5e32 100644
--- a/spawner.lua
+++ b/spawner.lua
@@ -1,5 +1,7 @@
-local S = mobs.intllib
+-- intllib
+local MP = minetest.get_modpath(minetest.get_current_modname())
+local S, NS = dofile(MP .. "/intllib.lua")
-- mob spawner
@@ -66,7 +68,7 @@ minetest.register_node("mobs:spawner", {
else
minetest.chat_send_player(name, S("Mob Spawner settings failed!"))
minetest.chat_send_player(name,
- S("> name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10]"))
+ S("Syntax: “name min_light[0-14] max_light[0-14] max_mobs_in_area[0 to disable] distance[1-20] y_offset[-10 to 10]”"))
end
end,
})