summaryrefslogtreecommitdiff
path: root/torchlight.lua
blob: d69c8eedc2b53ad56e6565505f89464fb2fc01ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
torchlight_max_charge=30000
      
       minetest.register_tool("technic:torchlight", {
            description = "Torchlight",
            inventory_image = "technic_torchlight.png",
            on_use = function(itemstack, user, pointed_thing)
	end,	        
    })
     
    minetest.register_craft({
            output = "technic:torchlight",
            recipe = {
		    {"glass","glass","glass"},
                    {"technic:stainless_steel_ingot","technic:battery","technic:stainless_steel_ingot"},
                    {"","technic:battery",""}
            }
    })