diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-02 02:24:32 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-02 02:24:32 +0000 |
commit | 8d734854c36ca759c674efbcd1603f8ff750da9d (patch) | |
tree | c868ba6db7890e0de4b5b980fad460adde1fc4a7 | |
parent | b91c773899eb4108daa7d773e949aa0dd7772cd7 (diff) |
shop
-rw-r--r-- | shop2.lua | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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() |