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