summaryrefslogtreecommitdiff
path: root/shop2/items.lua
blob: 87ed8e13f9b7168a1ecd9834bbd14101ae46f020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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",0.25,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",4,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",15,colors.lime)
i("glw","minecraft:glowstone_dust","Glowstone Dust",0.2,colors.yellow)
-- i("kin","plethora:module_kinetic","Kinetic Augment",12,colors.red)
i("sad","minecraft:saddle","Saddle",1,colors.orange)
-- i("nam","minecraft:name_tag","Name Tag",1,colors.white)

return items