diff options
author | ubq323 <ubq323@ubq323.website> | 2023-01-02 02:47:24 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-01-02 02:47:24 +0000 |
commit | ce35327ffc4265c3151d561b5a03d30653ca82bb (patch) | |
tree | 1fc86b18b780c9078350c9888e21a6898f953ff3 | |
parent | 96f5a4351db8c9650cd3406de3f066f2847f0a73 (diff) |
shop
-rw-r--r-- | shop2.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,8 +33,9 @@ end local function centre(s,w) s=tostring(s) local l = #s - local p = math.floor(math.max(0,w-l)/2)) + local p = math.floor(math.max(0,w-l)/2) return string.rep(" ",p)..s +end local function disp_shopscreen() local m = peripheral.wrap"left" |