home_workshop_modpack/computers/init.lua
2022-02-20 19:03:52 -05:00

25 lines
856 B
Lua

computers = {}
computers.modpath = minetest.get_modpath("computers")
computers.storagepath = minetest.get_worldpath() .. "/computers"
computers.devicepath = computers.storagepath .. "/devices"
computers.networkpath = computers.storagepath .. "/networks"
minetest.mkdir(computers.storagepath) --make sure it exists
minetest.mkdir(computers.devicepath) --make sure it exists
minetest.mkdir(computers.networkpath) --make sure it exists
computers.os = {
version = 0.43,
name = "kuto",
authors = {"wsor", "luk3yx"},
license = "MIT",
}
dofile(computers.modpath .. "/old_stuff/init.lua")
dofile(computers.modpath .. "/api.lua")
dofile(computers.modpath .. "/networks.lua")
dofile(computers.modpath .. "/formspec.lua")
dofile(computers.modpath .. "/commands.lua")
dofile(computers.modpath .. "/gui.lua")
dofile(computers.modpath .. "/demo.lua")