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:
05b28f5
)
Drop full rubber tree nodes
author
ShadowNinja
<shadowninja@minetest.net>
Wed, 27 Nov 2013 22:24:01 +0000
(17:24 -0500)
committer
ShadowNinja
<shadowninja@minetest.net>
Wed, 27 Nov 2013 22:24:01 +0000
(17:24 -0500)
technic_worldgen/rubber.lua
patch
|
blob
|
history
diff --git
a/technic_worldgen/rubber.lua
b/technic_worldgen/rubber.lua
index 8e47849ebf1f9b4074eb7367784cebf588aa6362..e47ba514c9e43e7740f0f2514724fc16cd1a9f0e 100644
(file)
--- a/
technic_worldgen/rubber.lua
+++ b/
technic_worldgen/rubber.lua
@@
-24,8
+24,11
@@
minetest.register_node(":moretrees:rubber_tree_trunk", {
"technic_rubber_tree_full.png"},
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
flammable=2},
- drop = "moretrees:rubber_tree_trunk_empty",
sounds = default.node_sound_wood_defaults(),
+ after_place_node = function(pos, placer, itemstack)
+ local meta = minetest.get_meta(pos)
+ meta:set_int("placed", 1)
+ end,
})
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {