summaryrefslogtreecommitdiff
path: root/shop2/disp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shop2/disp.lua')
-rw-r--r--shop2/disp.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/shop2/disp.lua b/shop2/disp.lua
index 55df99f..65aebc5 100644
--- a/shop2/disp.lua
+++ b/shop2/disp.lua
@@ -79,9 +79,14 @@ local function disp_shopscreen(items)
{1,h-1}, colors.blue, centre("/pay <adr>@"..ourname.." <amount>",w)
}
-
+end
-
+local items = require"shop2.items"
+local function run()
+ while true do
+ disp_shopscreen(items)
+ os.sleep(2)
+ end
end
disp_shopscreen()