projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a7ade
)
added missing def file
author
Maciej Kasatkin
<mk@realbadangel.pl>
Thu, 11 Oct 2012 15:49:45 +0000
(17:49 +0200)
committer
Maciej Kasatkin
<mk@realbadangel.pl>
Thu, 11 Oct 2012 15:49:45 +0000
(17:49 +0200)
torchlight.lua
[new file with mode: 0644]
patch
|
blob
diff --git a/torchlight.lua
b/torchlight.lua
new file mode 100644
(file)
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",""}
+ }
+ })