forked from mt-mods/jumpdrive
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
crafts.lua
113 lines (103 loc) · 3.98 KB
/
crafts.lua
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
if minetest.get_modpath("technic") then
-- technic enabled crafts
minetest.register_craft({
output = 'jumpdrive:engine',
recipe = {
{'jumpdrive:backbone', 'technic:blue_energy_crystal', 'jumpdrive:backbone'},
{'jumpdrive:warp_device', 'technic:hv_transformer', 'jumpdrive:warp_device'},
{'technic:copper_coil', 'technic:hv_cable', 'technic:copper_coil'}
}
})
minetest.register_craft({
output = 'jumpdrive:backbone',
recipe = {
{'default:mese', 'default:steelblock', 'default:mese'},
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
{'default:mese', 'default:steelblock', 'default:mese'}
}
})
minetest.register_craft({
output = 'jumpdrive:warp_device',
recipe = {
{'technic:composite_plate', 'technic:wrought_iron_dust', 'technic:composite_plate'},
{'default:mese', 'technic:machine_casing', 'default:mese'},
{'technic:copper_coil', 'technic:hv_cable', 'technic:copper_coil'}
}
})
minetest.register_craft({
output = 'jumpdrive:fleet_controller',
recipe = {
{'technic:carbon_plate', 'mesecons_luacontroller:luacontroller0000', 'technic:control_logic_unit'},
{'jumpdrive:backbone', 'technic:machine_casing', 'jumpdrive:backbone'},
{'basic_materials:stainless_steel_wire', 'default:steelblock', 'basic_materials:stainless_steel_wire'}
}
})
elseif minetest.get_modpath("mcl_core") then
-- mineclone crafts
minetest.register_craft({
output = 'jumpdrive:engine',
recipe = {
{'jumpdrive:backbone', 'mcl_core:ironblock', 'jumpdrive:backbone'},
{'mcl_core:ironblock', 'mcl_core:ironblock', 'mcl_core:ironblock'},
{'jumpdrive:backbone', 'mcl_core:ironblock', 'jumpdrive:backbone'}
}
})
minetest.register_craft({
output = 'jumpdrive:backbone',
recipe = {
{'mesecons_torch:redstoneblock', 'mcl_core:ironblock', 'mesecons_torch:redstoneblock'},
{'mcl_core:ironblock', 'mcl_core:ironblock', 'mcl_core:ironblock'},
{'mesecons_torch:redstoneblock', 'mcl_core:ironblock', 'mesecons_torch:redstoneblock'}
}
})
minetest.register_craft({
output = 'jumpdrive:warp_device',
recipe = {
{'mesecons:wire_00000000_off', 'mcl_core:diamond', 'mesecons:wire_00000000_off'},
{'mesecons_torch:redstoneblock', 'mcl_core:ironblock', 'mesecons_torch:redstoneblock'},
{'mesecons:wire_00000000_off', 'mcl_core:diamond', 'mesecons:wire_00000000_off'}
}
})
minetest.register_craft({
output = 'jumpdrive:fleet_controller',
recipe = {
{'jumpdrive:engine', 'mcl_core:ironblock', 'jumpdrive:engine'},
{'mcl_core:ironblock', 'mcl_core:ironblock', 'mcl_core:ironblock'},
{'jumpdrive:engine', 'mcl_core:ironblock', 'jumpdrive:engine'}
}
})
elseif minetest.get_modpath("default") then
-- minetest_game crafts
minetest.register_craft({
output = 'jumpdrive:engine',
recipe = {
{'jumpdrive:backbone', 'default:steelblock', 'jumpdrive:backbone'},
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
{'jumpdrive:backbone', 'default:steelblock', 'jumpdrive:backbone'}
}
})
minetest.register_craft({
output = 'jumpdrive:backbone',
recipe = {
{'default:mese', 'default:steelblock', 'default:mese'},
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
{'default:mese', 'default:steelblock', 'default:mese'}
}
})
minetest.register_craft({
output = 'jumpdrive:warp_device',
recipe = {
{'default:mese_crystal', 'default:diamond', 'default:mese_crystal'},
{'default:mese', 'default:steelblock', 'default:mese'},
{'default:mese_crystal', 'default:diamond', 'default:mese_crystal'}
}
})
minetest.register_craft({
output = 'jumpdrive:fleet_controller',
recipe = {
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'},
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
{'jumpdrive:engine', 'default:steelblock', 'jumpdrive:engine'}
}
})
end