mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2025-07-03 08:50:37 +02:00
add filesystem
This commit is contained in:
@ -1,8 +1,12 @@
|
||||
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
|
||||
|
||||
computers.os = {
|
||||
version = 0.3,
|
||||
version = 0.4,
|
||||
name = "kuto",
|
||||
authors = {"wsor", "luk3yx"},
|
||||
license = "MIT",
|
||||
|
Reference in New Issue
Block a user