summaryrefslogtreecommitdiff
path: root/shop.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-29 19:56:23 +0000
committerubq323 <ubq323@ubq323.website>2022-12-29 19:56:23 +0000
commitbc8d4169644608033ba0b14625262f78c5d7d2c0 (patch)
tree382054fd6776019f463a27c636de4a854c23fa94 /shop.lua
parent4d6b4f1c04e9852fab0e1bc1925ad1651972a297 (diff)
shop
Diffstat (limited to 'shop.lua')
-rw-r--r--shop.lua24
1 files changed, 20 insertions, 4 deletions
diff --git a/shop.lua b/shop.lua
index c8599e9..570dea9 100644
--- a/shop.lua
+++ b/shop.lua
@@ -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
+
+