summaryrefslogtreecommitdiff
path: root/spawner.lua
diff options
context:
space:
mode:
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,
})