summaryrefslogtreecommitdiff
path: root/shop2
diff options
context:
space:
mode:
Diffstat (limited to 'shop2')
-rw-r--r--shop2/disp.lua2
-rw-r--r--shop2/items.lua5
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 <adr>@"..ourname.." <amount>",w)
+ {1,h}, colors.blue, centre("/pay <adr>@"..ourname.." <amount>",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