summaryrefslogtreecommitdiff
path: root/shop2/disp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shop2/disp.lua')
-rw-r--r--shop2/disp.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/shop2/disp.lua b/shop2/disp.lua
index 46270a2..6a0ce32 100644
--- a/shop2/disp.lua
+++ b/shop2/disp.lua
@@ -54,10 +54,6 @@ local function disp_shopscreen(items)
}
end
- printseq(mon) {
- {1,1}, colors.orange, "Apiaristics Consortium Store",
- {1,2}, colors.lightGray, "Stock Price Adr. Name",
- }
-- sort alphabetically by address
-- todo: more intuitive sort, once more things are for sale
@@ -67,9 +63,15 @@ local function disp_shopscreen(items)
mon.clear()
mon.setTextScale(0.5)
+
+ printseq(mon) {
+ {1,1}, colors.orange, "Apiaristics Consortium Store",
+ {1,2}, colors.lightGray, "Stock Price Adr. Name",
+ }
+
for ix,adr in ipairs(adrs) do
local idesc = items[adr]
- fmt_row(ix+2, idesc)
+ fmt_row(ix+2, idesc, )
end
local w,h = mon.getSize()