2017-01-18 03:57:20 +01:00
digtron = { }
2019-08-25 19:15:50 +02:00
digtron.doc = { } -- TODO: move to doc file
2019-08-21 02:58:32 +02:00
2019-08-25 20:33:44 +02:00
digtron.mod_meta = minetest.get_mod_storage ( )
2019-08-17 09:47:16 +02:00
local modpath = minetest.get_modpath ( minetest.get_current_modname ( ) )
2017-01-22 04:38:19 +01:00
2019-08-26 01:16:23 +02:00
dofile ( modpath .. " /class_fakeplayer.lua " )
digtron.fake_player = DigtronFakePlayer.create ( { x = 0 , y = 0 , z = 0 } , " fake_player " ) -- since we only need one fake player at a time and it doesn't retain useful state, create a global one and just update it as needed.
2019-08-25 19:15:50 +02:00
dofile ( modpath .. " /config.lua " )
2019-08-21 02:58:32 +02:00
dofile ( modpath .. " /entities.lua " )
2019-08-18 07:12:12 +02:00
dofile ( modpath .. " /functions.lua " )
2019-08-17 09:47:16 +02:00
dofile ( modpath .. " /controller.lua " )
dofile ( modpath .. " /nodes/node_misc.lua " )
2019-08-21 09:21:03 +02:00
dofile ( modpath .. " /nodes/node_storage.lua " )
2019-08-26 04:09:09 +02:00
dofile ( modpath .. " /nodes/node_digger.lua " )
dofile ( modpath .. " /nodes/node_builder.lua " )