Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Where would you like to install LIMAPI? (relative to current dir)")
- local dest = shell.resolve(read())
- shell.run("pastebin get M9uq3brA /"..dest.."/limapi.lua")
- print("Enter Y to additionally install UI for LIMAPI.")
- if read().upper()=="Y" then
- print("What is the ID of the main chest?")
- local chest = read()
- settings.set("limapi_main_chest",chest)
- settings.save()
- shell.run("pastebin get eREGwRGT /"..dest.."/ui_limapi.lua")
- print("Enter Y to pre-generate cache.")
- if read().upper()=="Y" then
- local inv = require("limapi")
- inv.setMainChest(chest)
- inv.registerChests()
- inv.createCache()
- inv.saveCache("/"..dest.."/caches/cache.lua")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment