diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2021-11-02 10:16:54 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2021-11-02 10:16:54 +0100 |
commit | a290ee194762669bf4e93aa56b0439d777b5a1bc (patch) | |
tree | 703de8f2e64c545a725f2dfd3658b6ee2df92a1f /advtrains_luaautomation | |
parent | 75025b13ca3b90c0ed284920ab0f294c54eeb697 (diff) | |
download | advtrains-luaatcdebug.tar.gz advtrains-luaatcdebug.tar.bz2 advtrains-luaatcdebug.zip |
Add commands for dangerous mode.luaatcdebug
Diffstat (limited to 'advtrains_luaautomation')
-rw-r--r-- | advtrains_luaautomation/environment.lua | 9 |
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 |