home_workshop_modpack/computers/init.lua

21 lines
683 B
Lua
Raw Permalink Normal View History

computers = {}
2022-02-12 22:36:11 +01:00
computers.modpath = minetest.get_modpath("computers")
2022-02-13 06:31:20 +01:00
computers.storagepath = minetest.get_worldpath() .. "/computers"
computers.devicepath = computers.storagepath .. "/devices"
computers.networkpath = computers.storagepath .. "/networks"
minetest.mkdir(computers.storagepath) --make sure it exists
2022-02-13 06:33:22 +01:00
minetest.mkdir(computers.devicepath) --make sure it exists
minetest.mkdir(computers.networkpath) --make sure it exists
2022-02-13 03:56:17 +01:00
computers.os = {
2022-02-21 02:28:41 +01:00
version = 0.44,
2022-02-13 03:56:17 +01:00
name = "kuto",
authors = {"wsor", "luk3yx"},
license = "MIT",
}
2022-02-21 04:53:29 +01:00
dofile(computers.modpath .. "/core/init.lua")
2022-02-21 04:36:46 +01:00
dofile(computers.modpath .. "/nodes/init.lua")
2022-02-12 22:36:11 +01:00
dofile(computers.modpath .. "/demo.lua")