summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-14 20:37:24 +0000
committerubq323 <ubq323@ubq323.website>2023-01-14 20:37:24 +0000
commitc5b8b3bc8fd98919fcfecde1b195e534301ec3c9 (patch)
tree63a195acd0bc24fff8e4ee2dc1e531c6bd1ced48
parent30b7dd83df26e9b5915919b548402afca9a58103 (diff)
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