projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3653859
)
Allow cactus to lay on its side also.
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Fri, 8 Nov 2013 05:52:07 +0000
(
00:52
-0500)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 8 Nov 2013 05:56:20 +0000
(
00:56
-0500)
mods/default/nodes.lua
patch
|
blob
|
history
diff --git
a/mods/default/nodes.lua
b/mods/default/nodes.lua
index 03e8f5b6287991d20cfc6041e08523d836556f06..ecbd7a81440a4f0ada341ee23ac3becd76d12762 100644
(file)
--- a/
mods/default/nodes.lua
+++ b/
mods/default/nodes.lua
@@
-338,9
+338,11
@@
minetest.register_node("default:leaves", {
minetest.register_node("default:cactus", {
description = "Cactus",
tiles = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"},
+ paramtype2 = "facedir",
is_ground_content = true,
groups = {snappy=1,choppy=3,flammable=2},
sounds = default.node_sound_wood_defaults(),
+ on_place = minetest.rotate_node
})
minetest.register_node("default:papyrus", {