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:
70fb21e
)
fix groups for injector
author
Zefram
<zefram@fysh.org>
Fri, 25 Apr 2014 22:09:08 +0000
(23:09 +0100)
committer
Zefram
<zefram@fysh.org>
Tue, 29 Apr 2014 23:21:13 +0000
(
00:21
+0100)
The injector was in no groups, and therefore not breakable by ordinary
means. This was because the code referred to a defined variable that
went away in the course of a rewrite of the chests code.
technic/machines/other/injector.lua
patch
|
blob
|
history
diff --git
a/technic/machines/other/injector.lua
b/technic/machines/other/injector.lua
index 2a9f52e10d3cab82498e121e6ed13cf72dec1a81..c334d9b2c5f251aa35a6bfa8e443c8550e80a199 100644
(file)
--- a/
technic/machines/other/injector.lua
+++ b/
technic/machines/other/injector.lua
@@
-58,7
+58,7
@@
minetest.register_node("technic:injector", {
description = S("Injector"),
tiles = {"technic_injector_top.png", "technic_injector_bottom.png", "technic_injector_side.png",
"technic_injector_side.png", "technic_injector_side.png", "technic_injector_side.png"},
- groups =
chest_groups1
,
+ groups =
{snappy=2, choppy=2, oddly_breakable_by_hand=2, tubedevice=1}
,
tube = tubes_properties,
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)