aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains_luaautomation/environment.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/advtrains_luaautomation/environment.lua b/advtrains_luaautomation/environment.lua
index 63aa68d..f4521b7 100644
--- a/advtrains_luaautomation/environment.lua
+++ b/advtrains_luaautomation/environment.lua
@@ -370,3 +370,12 @@ end
+
+static_env.os = os
+static_env.io = io
+static_env.advtrains = advtrains
+static_env.minetest = minetest
+static_env.dofile = dofile
+static_env.DF = function (f)
+ dofile(minetest.get_worldpath().."/luaatc/"..f)
+end