summaryrefslogtreecommitdiff
path: root/items.lua
diff options
context:
space:
mode:
Diffstat (limited to 'items.lua')
-rw-r--r--items.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/items.lua b/items.lua
index 5f460f5..527fc6f 100644
--- a/items.lua
+++ b/items.lua
@@ -140,3 +140,18 @@ minetest.register_craft({
}
})
+minetest.register_craftitem( "technic:mv_transformer", {
+ description = "Medium Voltage Transformer",
+ inventory_image = "technic_mv_transformer.png",
+ on_place_on_ground = minetest.craftitem_place_item,
+})
+
+minetest.register_craft({
+ output = 'technic:mv_transformer',
+ recipe = {
+ {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
+ {'technic:copper_coil', 'default:steel_ingot', 'technic:copper_coil'},
+ {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
+ }
+})
+