diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-05 04:46:34 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-05 04:46:34 +0000 |
commit | 017f24cde99500103dfa2e0c64d6e65a71e40954 (patch) | |
tree | 38e8c3c0615721ebc7cb3bac9a4b5cf06ce9d5b9 | |
parent | 3cd0323f20fa3fbabfbf9642176f2288491b2f98 (diff) |
shop2
-rw-r--r-- | shop2.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,5 @@ local key=assert(settings.get"krist.pkey","please set private key") +local pp = require"cc.pretty".pretty_print -- ac.kst local OURNAME = "ac" @@ -71,6 +72,8 @@ local function stock_amt(stockinfo,idesc) end local si = take_stock() +pp(si) + for iadr,itm in pairs(ITEMS) do print(iadr,itm.hname,stock_amt(si,itm)) |