mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2024-11-16 07:30:24 +01:00
26 lines
853 B
Lua
26 lines
853 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.44,
|
|
name = "kuto",
|
|
authors = {"wsor", "luk3yx"},
|
|
license = "MIT",
|
|
}
|
|
|
|
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 .. "/nodes/init.lua")
|
|
|
|
dofile(computers.modpath .. "/demo.lua")
|