1
2
3
4
5
6
7
8
9
10
11
12
|
local items = {}
local function i(adr,itname,hname,price,colour)
items[adr]={itname=itname,hname=hname,price=price,adr=adr,colour=colour or colors.white}
end
i("dmn","minecraft:diamond","Diamond",2,colors.cyan)
i("blz","minecraft:blaze_rod","Blaze Rod",0.5,colors.yellow)
i("ely","minecraft:elytra","Elytra",100,colors.purple)
-- todo properly
i("mnd","minecraft:ooo","Mending Book",10,colors.green)
i("nth","minecraft:nether_star","Nether Star",200,colors.white)
return items
|