1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
local items = {}
local function i(adr,itname,hname,price,colour,check)
table.insert(items,{itname=itname,hname=hname,price=price,adr=adr,colour=colour or colors.white,check=check})
end
i("dmn","minecraft:diamond","Diamond",1,colors.cyan)
i("blz","minecraft:blaze_rod","Blaze Rod",0.5,colors.orange)
--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("zbh","minecraft:zombie_head","Zombie Head",20,colors.lime)
i("glw","minecraft:glowstone_dust","Glowstone Dust",0.2,colors.yellow)
i("kin","plethora:module_kinetic","Kinetic Augment",12,colors.red)
return items
|