diff options
author | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-11 17:49:45 +0200 |
---|---|---|
committer | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-11 17:49:45 +0200 |
commit | c5ff12e8cb62d45caeecbf3504d4788a942e25f6 (patch) | |
tree | 53fe4d6ca692f2c144447ed0371e2ce2b4ad04e6 | |
parent | d5a7ade0d554dd9270552b86a3976dc48a63d8e9 (diff) |
added missing def file
-rw-r--r-- | torchlight.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/torchlight.lua b/torchlight.lua new file mode 100644 index 0000000..d69c8ee --- /dev/null +++ b/torchlight.lua @@ -0,0 +1,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",""} + } + }) |