From c5b8b3bc8fd98919fcfecde1b195e534301ec3c9 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 14 Jan 2023 20:37:24 +0000 Subject: shop2 --- shop2/disp.lua | 2 +- shop2/items.lua | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/shop2/disp.lua b/shop2/disp.lua index af7333c..69434c5 100644 --- a/shop2/disp.lua +++ b/shop2/disp.lua @@ -69,7 +69,7 @@ local function disp_shopscreen(items) printseq(mon) { - {1,h-1}, colors.blue, centre("/pay @"..ourname.." ",w) + {1,h}, colors.blue, centre("/pay @"..ourname.." ",w) } end diff --git a/shop2/items.lua b/shop2/items.lua index 5f612b7..1d57806 100644 --- a/shop2/items.lua +++ b/shop2/items.lua @@ -4,13 +4,14 @@ local function i(adr,itname,hname,price,colour,check) end i("dmn","minecraft:diamond","Diamond",1,colors.cyan) i("blz","minecraft:blaze_rod","Blaze Rod",0.5,colors.yellow) -i("ely","minecraft:elytra","Elytra",100,colors.purple) +--i("ely","minecraft:elytra","Elytra",100,colors.purple) i("mnd","minecraft:enchanted_book","Mending Book",10,colors.green,function(idetail) for _,ench in ipairs(idetail.enchantments or {}) do if ench.name == "minecraft:mending" then return true end end return false end) -i("nth","minecraft:nether_star","Nether Star",200,colors.white) +--i("nth","minecraft:nether_star","Nether Star",200,colors.white) +i("zbh","minecraft:zombie_head","Zombie Head",40,colors.lime) return items -- cgit v1.2.3