Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local basalt = require("basalt")
- local redstoneIntegrators = peripheral.find("redstoneIntegrator")
- local monitor = peripheral.find("monitor")
- local main = basalt.createFrame();
- -- main:setMonitor(monitor)
- local currentStationLabel = main:addLabel()
- currentStationLabel:setText("You are on:")
- currentStationLabel:setPosition("parent.w/2 - self.w/2", 2)
- currentStationLabel:setFontSize(2)
- local stationLabel = main:addLabel()
- stationLabel:setText("M-Link Factory")
- stationLabel:setPosition("parent.w/2 - self.w/2", 6)
- stationLabel:setFontSize(2)
- local progressBar = main:addProgressbar()
- progressBar:setPosition("parent.w/2 - self.w/2", "parent.h/2 - self.h/2")
- progressBar:setDirection("right")
- progressBar:setSize(50,3)
- progressBar:setProgress(50)
- progressBar:setProgressBar(colors.blue)
- for a,b in pairs(redstoneIntegrators) do
- print(a)
- print(b)
- end
- basalt.autoUpdate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement