crafting.lua 1.34 KB
Newer Older
1
--CaveRealms crafting.lua
Chris N's avatar
Chris N committed
2 3 4

--CRAFT ITEMS--

5 6 7 8
--mycena powder
minetest.register_craftitem("caverealms:mycena_powder", {
	description = "Mycena Powder",
	inventory_image = "caverealms_mycena_powder.png",
Chris N's avatar
Chris N committed
9 10 11 12
})

--CRAFT RECIPES--

13
--mycena powder
Chris N's avatar
Chris N committed
14
minetest.register_craft({
15
	output = "caverealms:mycena_powder",
Chris N's avatar
Chris N committed
16 17 18 19 20 21 22 23 24 25
	type = "shapeless",
	recipe = {"caverealms:mycena"}
})


--glow mese block
minetest.register_craft({
	output = "caverealms:glow_mese",
	recipe = {
		{"default:mese_crystal_fragment","default:mese_crystal_fragment","default:mese_crystal_fragment"},
26
		{"default:mese_crystal_fragment","caverealms:mycena_powder","default:mese_crystal_fragment"},
Chris N's avatar
Chris N committed
27 28 29 30 31 32 33 34 35
		{"default:mese_crystal_fragment","default:mese_crystal_fragment","default:mese_crystal_fragment"}
	}
})

--reverse craft for glow mese
minetest.register_craft({
	output = "default:mese_crystal_fragment 8",
	type = "shapeless",
	recipe = {"caverealms:glow_mese"}
36 37 38 39 40 41 42
})

--thin ice to water
minetest.register_craft({
	output = "default:water_source",
	type = "shapeless",
	recipe = {"caverealms:thin_ice"}
Chris N's avatar
Chris N committed
43 44 45 46 47 48 49 50 51 52
})

--use for coal dust
minetest.register_craft({
	output = "default:coalblock",
	recipe = {
		{"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"},
		{"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"},
		{"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"}
	}
Chris N's avatar
Chris N committed
53
})