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:
f90915c
)
Readd craft recipe for the Mk1 mining laser
author
ShadowNinja
<noreply@gmail.com>
Wed, 30 Oct 2013 19:18:18 +0000
(15:18 -0400)
committer
ShadowNinja
<noreply@gmail.com>
Wed, 30 Oct 2013 19:18:18 +0000
(15:18 -0400)
technic/tools/mining_lasers.lua
patch
|
blob
|
history
diff --git
a/technic/tools/mining_lasers.lua
b/technic/tools/mining_lasers.lua
index c7f4ba840bda7524153db8e882d5b75f4888d161..caa416f026501ca6f2ec908d0b51438da76ffb46 100644
(file)
--- a/
technic/tools/mining_lasers.lua
+++ b/
technic/tools/mining_lasers.lua
@@
-14,6
+14,16
@@
local f_2 = 0.5 + r_corr
local S = technic.getter
+minetest.register_craft({
+ output = 'technic:laser_mk1',
+ recipe = {
+ {'default:diamond', 'default:steel_ingot', 'technic:battery'},
+ {'', 'default:steel_ingot', 'technic:battery'},
+ {'', '', 'default:copper_ingot'},
+ }
+})
+
+
local function get_used_dir(dir)
local abs_dir = {x = math.abs(dir.x),
y = math.abs(dir.y),