RealBadAngel
2013-02-02 661f21754abc25d9d39a8fd9a4f816df773c14d0
commit | author | age
82cba9 1 minetest.register_craftitem( "technic:silicon_wafer", {
R 2     description = "Silicon Wafer",
3     inventory_image = "technic_silicon_wafer.png",
4     on_place_on_ground = minetest.craftitem_place_item,
5 })
6
7 minetest.register_craftitem( "technic:doped_silicon_wafer", {
8     description = "Doped Silicon Wafer",
9     inventory_image = "technic_doped_silicon_wafer.png",
10     on_place_on_ground = minetest.craftitem_place_item,
11 })
12
13 minetest.register_craft({
14     output = 'pipeworks:tube_000000 9',
15     recipe = {
16         {'technic:stainless_steel_ingot', 'default:glass', 'technic:stainless_steel_ingot'},
17         {'technic:stainless_steel_ingot', 'default:glass', 'technic:stainless_steel_ingot'},
18         {'technic:stainless_steel_ingot', 'default:glass', 'technic:stainless_steel_ingot'},
19     }
20 })
21
22 minetest.register_craftitem( "technic:diamond_drill_head", {
23     description = "Diamond Drill Head",
24     inventory_image = "technic_diamond_drill_head.png",
25     on_place_on_ground = minetest.craftitem_place_item,
26 })
27
28 minetest.register_craft({
29     output = 'technic:diamond_drill_head',
30     recipe = {
31         {'technic:stainless_steel_ingot', 'technic:diamond', 'technic:stainless_steel_ingot'},
32         {'technic:diamond', '', 'technic:diamond'},
33         {'technic:stainless_steel_ingot', 'technic:diamond', 'technic:stainless_steel_ingot'},
34     }
35 })
36
37 minetest.register_craft({
38     output = 'technic:diamond_block',
39     recipe = {
40         {'technic:diamond', 'technic:diamond', 'technic:diamond'},
41         {'technic:diamond', 'technic:diamond', 'technic:diamond'},
42         {'technic:diamond', 'technic:diamond', 'technic:diamond'},
43     }
44 })
45
46 minetest.register_node( "technic:diamond_block", {
47     description = "Diamond Block",
48     tiles = { "technic_diamond_block.png" },
49     is_ground_content = true,
50     groups = {cracky=3},
51     sounds = default.node_sound_stone_defaults(),
52     drop = 'craft "technic:diamond_block" 1',
53 }) 
54
55 minetest.register_craft({
56     output = 'technic:green_energy_crystal',
57     recipe = {
58         {'moreores:gold_ingot', 'technic:battery', 'dye:green'},
59         {'technic:battery', 'technic:red_energy_crystal', 'technic:battery'},
60         {'dye:green', 'technic:battery', 'moreores:gold_ingot'},
61     }
62 })
63
64 minetest.register_craft({
65     output = 'technic:blue_energy_crystal',
66     recipe = {
67         {'moreores:gold_ingot', 'technic:battery', 'dye:blue'},
68         {'technic:battery', 'technic:green_energy_crystal', 'technic:battery'},
69         {'dye:blue', 'technic:battery', 'moreores:gold_ingot'},
70     }
71 })
72
73 minetest.register_craft({
74     output = 'technic:red_energy_crystal',
75     recipe = {
76         {'moreores:gold_ingot', 'technic:battery', 'dye:red'},
77         {'technic:battery', 'technic:diamond_block', 'technic:battery'},
78         {'dye:red', 'technic:battery', 'moreores:gold_ingot'},
79     }
80 })
81
82 minetest.register_tool("technic:blue_energy_crystal",
83 {description = "Blue Energy Crystal",
84 inventory_image = minetest.inventorycube("technic_diamond_block_blue.png", "technic_diamond_block_blue.png", "technic_diamond_block_blue.png"),
85 tool_capabilities = {load=0,max_drop_level=0, groupcaps={fleshy={times={}, uses=10000, maxlevel=0}}}}) 
86
87 minetest.register_tool("technic:green_energy_crystal",
88 {description = "Green Energy Crystal",
89 inventory_image = minetest.inventorycube("technic_diamond_block_green.png", "technic_diamond_block_green.png", "technic_diamond_block_green.png"),
90 tool_capabilities = {load=0,max_drop_level=0, groupcaps={fleshy={times={}, uses=10000, maxlevel=0}}}}) 
91
92 minetest.register_tool("technic:red_energy_crystal",
93 {description = "Red Energy Crystal",
94 inventory_image = minetest.inventorycube("technic_diamond_block_red.png", "technic_diamond_block_red.png", "technic_diamond_block_red.png"),
95 tool_capabilities = {load=0,max_drop_level=0, groupcaps={fleshy={times={}, uses=10000, maxlevel=0}}}}) 
96
97
98 minetest.register_craftitem( "technic:fine_copper_wire", {
99     description = "Fine Copper Wire",
100     inventory_image = "technic_fine_copper_wire.png",
101     on_place_on_ground = minetest.craftitem_place_item,
102 })
103
104 minetest.register_craft({
105     output = 'technic:fine_copper_wire 2',
106     recipe = {
107         {'', 'moreores:copper_ingot', ''},
108         {'', 'moreores:copper_ingot', ''},
109         {'', 'moreores:copper_ingot', ''},
110     }
111 })
112
113 minetest.register_craftitem( "technic:copper_coil", {
114     description = "Copper Coil",
115     inventory_image = "technic_copper_coil.png",
116     on_place_on_ground = minetest.craftitem_place_item,
117 })
118
119 minetest.register_craft({
120     output = 'technic:copper_coil 1',
121     recipe = {
122         {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'},
123         {'default:steel_ingot', '', 'default:steel_ingot'},
124         {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'},
125     }
126 })
127
128 minetest.register_craftitem( "technic:motor", {
129     description = "Electric Motor",
130     inventory_image = "technic_motor.png",
131     on_place_on_ground = minetest.craftitem_place_item,
132 })
133
134 minetest.register_craft({
135     output = 'technic:motor',
136     recipe = {
137         {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'},
138         {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'},
139         {'default:steel_ingot', 'moreores:copper_ingot', 'default:steel_ingot'},
140     }
141 })
142
143 minetest.register_craftitem( "technic:mv_transformer", {
144     description = "Medium Voltage Transformer",
145     inventory_image = "technic_mv_transformer.png",
146     on_place_on_ground = minetest.craftitem_place_item,
147 })
148
149 minetest.register_craft({
150     output = 'technic:mv_transformer',
151     recipe = {
152         {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
153         {'technic:copper_coil', 'default:steel_ingot', 'technic:copper_coil'},
154         {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
155     }
156 })
157