summaryrefslogtreecommitdiff
path: root/technic_chests/silver_chest.lua
blob: 4de196d5e0044faad5d7f941be3a0543b6e25b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
if minetest.get_modpath("moreores") then
	minetest.register_craft({
		output = 'technic:silver_chest',
		recipe = {
			{'moreores:silver_ingot','moreores:silver_ingot','moreores:silver_ingot'},
			{'moreores:silver_ingot','technic:copper_chest','moreores:silver_ingot'},
			{'moreores:silver_ingot','moreores:silver_ingot','moreores:silver_ingot'},
		}
	})

	minetest.register_craft({
		output = 'technic:silver_locked_chest',
		recipe = {
			{'moreores:silver_ingot','moreores:silver_ingot','moreores:silver_ingot'},
			{'moreores:silver_ingot','technic:copper_locked_chest','moreores:silver_ingot'},
			{'moreores:silver_ingot','moreores:silver_ingot','moreores:silver_ingot'},
		}
	})
end

minetest.register_craft({
	output = 'technic:silver_locked_chest',
	recipe = {
		{'basic_materials:padlock'},
		{'technic:silver_chest'},
	}
})

technic.chests:register("Silver", {
	width = 12,
	height = 6,
	sort = true,
	autosort = true,
	infotext = true,
	color = false,
	locked = false,
})

technic.chests:register("Silver", {
	width = 12,
	height = 6,
	sort = true,
	autosort = true,
	infotext = true,
	color = false,
	locked = true,
})