diff options
-rw-r--r-- | shop.lua | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -1,13 +1,29 @@ -sres =textutils.unserializeJSON( http.post("https://krist.dev/ws/start","").readAll()) -assert(sres.ok,"not ok") -wsurl = sres.url - +-- sres =textutils.unserializeJSON( http.post("https://krist.dev/ws/start","").readAll()) +-- assert(sres.ok,"not ok") +-- wsurl = sres.url mtop = peripheral.wrap"top" +while true do mtop.setTextScale(3.5) mtop.setTextColor(colors.cyan) mtop.setCursorPos(1,1) mtop.write"DIAMONDS" +os.sleep(0.25) +mtop.clear() +os.sleep(0.25) + +mtop.setTextScale(3) +mtop.setTextColor(colors.white) +mtop.setCursorPos(1,1) +mtop.write("5KST EACH") + +os.sleep(0.25) +mtop.clear() +os.sleep(0.25) + +end + + |