From b7fd3c86693bcb53f66c6b4b2d83248c534aa17b Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 28 Feb 2012 20:41:26 +0200 Subject: Add minetest.get_worldpath() for getting location for custom data --- data/mods/experimental/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'data/mods/experimental') diff --git a/data/mods/experimental/init.lua b/data/mods/experimental/init.lua index 9a8f8868d..ddc89f92c 100644 --- a/data/mods/experimental/init.lua +++ b/data/mods/experimental/init.lua @@ -540,5 +540,6 @@ minetest.register_abm({ print("experimental modname="..dump(minetest.get_current_modname())) print("experimental modpath="..dump(minetest.get_modpath("experimental"))) +print("experimental worldpath="..dump(minetest.get_worldpath())) -- END -- cgit v1.2.3