Zefram
2014-07-25 d59055dd2b1a03449ff11318a2f210d37dd7e76a
commit | author | age
be2f30 1
S 2 local S = technic.getter
3
4 minetest.register_craftitem("technic:silicon_wafer", {
5     description = S("Silicon Wafer"),
82cba9 6     inventory_image = "technic_silicon_wafer.png",
R 7 })
8
9 minetest.register_craftitem( "technic:doped_silicon_wafer", {
be2f30 10     description = S("Doped Silicon Wafer"),
82cba9 11     inventory_image = "technic_doped_silicon_wafer.png",
R 12 })
13
ee0765 14 minetest.register_craftitem("technic:enriched_uranium", {
be2f30 15     description = S("Enriched Uranium"),
8be389 16     inventory_image = "technic_enriched_uranium.png",
KO 17 })
18
ee0765 19 minetest.register_craftitem("technic:uranium_fuel", {
be2f30 20     description = S("Uranium Fuel"),
ee0765 21     inventory_image = "technic_uranium_fuel.png",
4411ba 22 })
R 23
82cba9 24 minetest.register_craftitem( "technic:diamond_drill_head", {
be2f30 25     description = S("Diamond Drill Head"),
82cba9 26     inventory_image = "technic_diamond_drill_head.png",
R 27 })
28
ee0765 29 minetest.register_tool("technic:blue_energy_crystal", {
be2f30 30     description = S("Blue Energy Crystal"),
ee0765 31     inventory_image = minetest.inventorycube(
S 32         "technic_diamond_block_blue.png",
33         "technic_diamond_block_blue.png",
34         "technic_diamond_block_blue.png"),
99fd5d 35     wear_represents = "technic_RE_charge",
00d7c9 36     on_refill = technic.refill_RE_charge,
ee0765 37     tool_capabilities = {
S 38         max_drop_level = 0,
39         groupcaps = {
40             fleshy = {times={}, uses=10000, maxlevel=0}
41         }
82cba9 42     }
ee0765 43 }) 
82cba9 44
ee0765 45 minetest.register_tool("technic:green_energy_crystal", {
be2f30 46     description = S("Green Energy Crystal"),
ee0765 47     inventory_image = minetest.inventorycube(
S 48         "technic_diamond_block_green.png",
49         "technic_diamond_block_green.png",
50         "technic_diamond_block_green.png"),
99fd5d 51     wear_represents = "technic_RE_charge",
00d7c9 52     on_refill = technic.refill_RE_charge,
ee0765 53     tool_capabilities = {
S 54         max_drop_level = 0,
55         groupcaps = {
56             fleshy = {times={}, uses=10000, maxlevel=0}
57         }
82cba9 58     }
ee0765 59 }) 
82cba9 60
ee0765 61 minetest.register_tool("technic:red_energy_crystal", {
be2f30 62     description = S("Red Energy Crystal"),
ee0765 63     inventory_image = minetest.inventorycube(
S 64         "technic_diamond_block_red.png",
65         "technic_diamond_block_red.png",
66         "technic_diamond_block_red.png"),
99fd5d 67     wear_represents = "technic_RE_charge",
00d7c9 68     on_refill = technic.refill_RE_charge,
ee0765 69     tool_capabilities = {
S 70         max_drop_level = 0,
71         groupcaps = {
72             fleshy = {times={}, uses=10000, maxlevel=0}
73         }
82cba9 74     }
ee0765 75 }) 
82cba9 76
R 77
be2f30 78 minetest.register_craftitem("technic:fine_copper_wire", {
S 79     description = S("Fine Copper Wire"),
82cba9 80     inventory_image = "technic_fine_copper_wire.png",
R 81 })
82
3f717c 83 minetest.register_craftitem("technic:fine_gold_wire", {
Z 84     description = S("Fine Gold Wire"),
85     inventory_image = "technic_fine_gold_wire.png",
86 })
87
88 minetest.register_craftitem("technic:fine_silver_wire", {
89     description = S("Fine Silver Wire"),
90     inventory_image = "technic_fine_silver_wire.png",
91 })
92
be2f30 93 minetest.register_craftitem("technic:copper_coil", {
S 94     description = S("Copper Coil"),
82cba9 95     inventory_image = "technic_copper_coil.png",
R 96 })
97
be2f30 98 minetest.register_craftitem("technic:motor", {
S 99     description = S("Electric Motor"),
82cba9 100     inventory_image = "technic_motor.png",
R 101 })
102
be2f30 103 minetest.register_craftitem("technic:lv_transformer", {
S 104     description = S("Low Voltage Transformer"),
ee0765 105     inventory_image = "technic_lv_transformer.png",
82cba9 106 })
R 107
be2f30 108 minetest.register_craftitem("technic:lv_transformer", {
S 109     description = S("Low Voltage Transformer"),
8e03d7 110     inventory_image = "technic_lv_transformer.png",
R 111 })
be2f30 112 minetest.register_craftitem("technic:mv_transformer", {
S 113     description = S("Medium Voltage Transformer"),
82cba9 114     inventory_image = "technic_mv_transformer.png",
R 115 })
116
8e03d7 117 minetest.register_craftitem( "technic:hv_transformer", {
be2f30 118     description = S("High Voltage Transformer"),
8e03d7 119     inventory_image = "technic_hv_transformer.png",
R 120 })
121
3b5e6c 122 minetest.register_craftitem( "technic:control_logic_unit", {
be2f30 123     description = S("Control Logic Unit"),
3b5e6c 124     inventory_image = "technic_control_logic_unit.png",
R 125 })
126
58ae29 127 minetest.register_craftitem("technic:mixed_metal_ingot", {
be2f30 128     description = S("Mixed Metal Ingot"),
58ae29 129     inventory_image = "technic_mixed_metal_ingot.png",
R 130 })
131
132 minetest.register_craftitem("technic:composite_plate", {
be2f30 133     description = S("Composite Plate"),
58ae29 134     inventory_image = "technic_composite_plate.png",
R 135 })
136
137 minetest.register_craftitem("technic:copper_plate", {
be2f30 138     description = S("Copper Plate"),
58ae29 139     inventory_image = "technic_copper_plate.png",
R 140 })
141
142 minetest.register_craftitem("technic:carbon_plate", {
be2f30 143     description = S("Carbon Plate"),
58ae29 144     inventory_image = "technic_carbon_plate.png",
R 145 })
146
147 minetest.register_craftitem("technic:graphite", {
be2f30 148     description = S("Graphite"),
58ae29 149     inventory_image = "technic_graphite.png",
R 150 })
151
152 minetest.register_craftitem("technic:carbon_cloth", {
be2f30 153     description = S("Carbon Cloth"),
58ae29 154     inventory_image = "technic_carbon_cloth.png",
R 155 })
156
430b31 157 minetest.register_node("technic:machine_casing", {
Z 158     description = S("Machine Casing"),
159     groups = {cracky=2},
160     sunlight_propagates = true,
161     paramtype = "light",
162     drawtype = "allfaces",
163     tiles = {"technic_machine_casing.png"},
164     sounds = default.node_sound_stone_defaults(),
165 })