diff options
| author | dabascht <dabascht@gmail.com> | 2012-01-09 18:49:57 +0100 | 
|---|---|---|
| committer | dabascht <dabascht@gmail.com> | 2012-01-09 18:49:57 +0100 | 
| commit | 22070fefd1bcc665c2f2581e082a332636015ce7 (patch) | |
| tree | 4fe441e93455b68b6fba8c8c60452144b22b746c /jeija | |
| parent | 1654bc7ef3c495e9247e7c48546e87d48db4c8a9 (diff) | |
added mesecon.modpath
Diffstat (limited to 'jeija')
| -rw-r--r-- | jeija/init.lua | 17 | 
1 files changed, 9 insertions, 8 deletions
diff --git a/jeija/init.lua b/jeija/init.lua index 99d418f..2b156ad 100644 --- a/jeija/init.lua +++ b/jeija/init.lua @@ -67,6 +67,7 @@ BLINKY_PLANT_INTERVAL=3  -- PUBLIC VARIABLES  mesecon={} -- contains all functions and all global variables +mesecon.modpath = dump(minetest.get_modpath("jeija"))  mesecon.actions_on={} -- Saves registered function callbacks for mesecon on  mesecon.actions_off={} -- Saves registered function callbacks for mesecon off  mesecon.pwr_srcs={} -- this is public for now @@ -1136,16 +1137,16 @@ end)  -- Include other files -dofile(minetest.get_modpath("jeija").."/movestone.lua") -dofile(minetest.get_modpath("jeija").."/button.lua") -dofile(minetest.get_modpath("jeija").."/torches.lua") -dofile(minetest.get_modpath("jeija").."/detector.lua") -dofile(minetest.get_modpath("jeija").."/pressureplates.lua") -dofile(minetest.get_modpath("jeija").."/wireless.lua") -dofile(minetest.get_modpath("jeija").."/lightstone.lua") +dofile(mesecon.modpath.."/movestone.lua") +dofile(mesecon.modpath.."/button.lua") +dofile(mesecon.modpath.."/torches.lua") +dofile(mesecon.modpath.."/detector.lua") +dofile(mesecon.modpath.."/pressureplates.lua") +dofile(mesecon.modpath.."/wireless.lua") +dofile(mesecon.modpath.."/lightstone.lua")  --TEMPEREST's STUFF  if ENABLE_TEMPEREST==1 then -	dofile(minetest.get_modpath("jeija").."temperest.lua") +	dofile(mesecon.modpath.."temperest.lua")  end  --INIT  | 
