summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop2.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/shop2.lua b/shop2.lua
index 3b0b183..f8aa15b 100644
--- a/shop2.lua
+++ b/shop2.lua
@@ -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))