From 8d734854c36ca759c674efbcd1603f8ff750da9d Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 2 Jan 2023 02:24:32 +0000 Subject: shop --- shop2.lua | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/shop2.lua b/shop2.lua index 8806345..ea6f522 100644 --- a/shop2.lua +++ b/shop2.lua @@ -27,12 +27,21 @@ end end local function disp_shopscreen() local m = peripheral.wrap"left" m.clear() - m.setTextScale(0.5) + m.setTextScale(1) + -- Stock Price Adr. Name + -- xxxxx xxxxxkst dmn Diamond + -- 123456789012345678901234567890123456789012345678901234567 + -- 0 1 2 3 4 5 printseq(m) { - {1,1}, colors.orange, "Apionics Consortium Store" - - + {1,1}, colors.orange, "Apionics Consortium Store", + {1,2}, colors.lightgray, "Stock Price Adr. Name", + {1,3}, colors.white, " 321", + {8,3}, colors.yellow, " 5", colors.lightgray, "kst", + {18,3}, colors.cyan, "dmn", + {25,3}, colors.white, "Diamond", } + + end disp_shopscreen() -- cgit v1.2.3