summaryrefslogtreecommitdiff
path: root/shop2
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-08 21:58:08 +0000
committerubq323 <ubq323@ubq323.website>2023-01-08 21:58:08 +0000
commit278e129f9fb245a8978dcc5eae8bc55026b361b4 (patch)
treeaec47d929260914633658bed8300163a39eb65f5 /shop2
parentab8bc04fa70691098e6169d80cc8fb1ed27f82ac (diff)
shop2
Diffstat (limited to 'shop2')
-rw-r--r--shop2/disp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/shop2/disp.lua b/shop2/disp.lua
index a28b0f9..eb06625 100644
--- a/shop2/disp.lua
+++ b/shop2/disp.lua
@@ -53,9 +53,10 @@ local function disp_shopscreen(items)
-- took stock before clear, to avoid flickering
mon.clear()
mon.setTextScale(1)
+ local w,h = mon.getSize()
printseq(mon) {
- {1,1}, colors.orange, "BEE MART",
+ {1,1}, colors.orange, centre("BEE MART",w),
{1,2}, colors.lightGray, "Stock Price Adr. Name",
}
@@ -74,7 +75,6 @@ local function disp_shopscreen(items)
fmt_row(ix+2, idesc,amt)
end
- local w,h = mon.getSize()
printseq(mon) {
{1,h-1}, colors.blue, centre("/pay <adr>@"..ourname.." <amount>",w)