Maciej Kasatkin
2012-10-29 54d6c27a063d59d4a21061760201a2815f8f0573
update
3 files added
1 files modified
43 ■■■■■ changed files
items.lua 43 ●●●●● patch | view | raw | blame | history
textures/technic_copper_coil.png patch | view | raw | blame | history
textures/technic_fine_copper_wire.png patch | view | raw | blame | history
textures/technic_motor.png patch | view | raw | blame | history
items.lua
@@ -95,5 +95,48 @@
tool_capabilities = {load=0,max_drop_level=0, groupcaps={fleshy={times={}, uses=10000, maxlevel=0}}}}) 
minetest.register_craftitem( "technic:fine_copper_wire", {
    description = "Fine Copper Wire",
    inventory_image = "technic_fine_copper_wire.png",
    on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craft({
    output = 'technic:fine_copper_wire 2',
    recipe = {
        {'', 'moreores:copper_ingot', ''},
        {'', 'moreores:copper_ingot', ''},
        {'', 'moreores:copper_ingot', ''},
    }
})
minetest.register_craftitem( "technic:copper_coil", {
    description = "Copper Coil",
    inventory_image = "technic_copper_coil.png",
    on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craft({
    output = 'technic:copper_coil 1',
    recipe = {
        {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'},
        {'default:steel_ingot', '', 'default:steel_ingot'},
        {'technic:fine_copper_wire', 'default:steel_ingot', 'technic:fine_copper_wire'},
    }
})
minetest.register_craftitem( "technic:motor", {
    description = "Electric Motor",
    inventory_image = "technic_motor.png",
    on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craft({
    output = 'technic:motor',
    recipe = {
        {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'},
        {'default:steel_ingot', 'technic:copper_coil', 'default:steel_ingot'},
        {'default:steel_ingot', 'moreores:copper_ingot', 'default:steel_ingot'},
    }
})
textures/technic_copper_coil.png
textures/technic_fine_copper_wire.png
textures/technic_motor.png