Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bridge = peripheral.wrap("right")
- local net = peripheral.wrap("back")
- bridge.clear()
- s = 300
- local width = 200
- while true do
- if s == 0 then do
- ICBM = "ICBM started"
- end
- else
- s = s-1
- ICBM = tostring(s)
- end
- local storageUnits = {
- {
- ["id"] = "Timer",
- ["name"] = "Uhrzeit : "..textutils.formatTime(os.time(), true)
- },
- {
- ["id"] = "ICBM_Start",
- ["name"] = "ICBM startet in :"..ICBM
- }
- }
- local offset = 0
- for key, storageUnit in pairs(storageUnits) do
- pxOffset = offset * 20
- bridge.clear()
- storageUnit["label"] = bridge.addText(4, 4 + pxOffset, storageUnit["name"], 0x4000)
- sleep(1)
- offset = offset + 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement