This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
EveryOS's profile picture

Utiliitis

Started by EveryOS, 13 April 2016 - 08:01 PM
EveryOS #1
Posted 13 April 2016 - 10:01 PM
Only partialy tested

pastebin get kuFxEgTJ utilitis
lua
os.loadAPI('utilitis')
BonusUsers below CC 1.77 can also gain access to the settings API with Utilitis
settings = utilitis.importUtil('settings')
--You can now also use settings API
APIutilitis.createUtil(Name, Table)–Tested
Takes an enviroment and reserves it to be used by other files
utilitis.importUtil(Name)–Tested
Takes a reserved enviroment and gives the user a table
settings = utilitis.importUtil('settings')–Tested
Gives you access to settings API if below CC 1.77
createUtilFromURL(url, utilName)–Untested, but should work
See createUtil. Uses URL instead of environment.
Edited on 14 April 2016 - 10:51 AM
EveryOS #2
Posted 13 April 2016 - 10:08 PM
Tested most of it by now…
Edited on 14 April 2016 - 10:52 AM
Dragon53535 #3
Posted 13 April 2016 - 10:19 PM
What does it do? You give no info other than: Here's a file, here's some commands.
EveryOS #4
Posted 13 April 2016 - 10:25 PM
What does it do? You give no info other than: Here's a file, here's some commands.
It allows you to make share environments between only the files that actually benefit from that, and no other file.
Edited on 13 April 2016 - 08:27 PM