diff options
author | ubq323 <ubq323@ubq323.website> | 2022-12-29 23:38:42 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-12-29 23:38:42 +0000 |
commit | dc2965a45f70a7e4b082a6e633cf357106f1b439 (patch) | |
tree | ab00fb3262e03a3337f25c2b89f3a503042b0528 | |
parent | e840dd8ad9667f314d2fc8c502ad36819f04b5e7 (diff) |
shop
-rw-r--r-- | shop.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -94,9 +94,6 @@ function run_shop() if msg.type ~= "keepalive" then print(msgtxt) end if msg.type == "response" and msg.responding_to_type == "me" then our_addr = msg.address.address - local m = peripheral.wrap"left" - m.setCursorPos(1,1) - m.write(our_addr) end if msg.type == "event" and msg.event == "transaction" then require"cc.pretty".pretty_print(proctrans(msg.transaction)) @@ -130,6 +127,7 @@ end function run_sidedisp() local m = peripheral.wrap("left") + m.clear() local function printseq(q) for _,v in ipairs(q) do print(v,type(v)) |