diff options
author | Auke Kok <sofar@foo-projects.org> | 2015-12-28 21:36:19 -0800 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2015-12-28 21:36:19 -0800 |
commit | 9e0c43feebc579b0bafc0a4ddd73ac641fbcec13 (patch) | |
tree | d1a809fe69b87d61b594a015ff384fcbd721a9a9 | |
parent | fe162a89f93822adfd948a081b88281a1e1aa486 (diff) |
For future use, make corn waving just like plantlike.
This needs a patch to the core client code to actually work.
-rw-r--r-- | corn.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -17,6 +17,7 @@ minetest.register_node("crops:corn", { tiles = { "crops_corn_base_seed.png" }, drawtype = "mesh", visual = "mesh", + waving = 1, mesh = "crops_orthogonal_plant.obj", sunlight_propagates = true, use_texture_alpha = true, @@ -67,6 +68,7 @@ minetest.register_node("crops:corn_base_seed", { visual = "mesh", description = "corn plant", drawtype = "mesh", + waving = 1, mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_base_seed.png" }, use_texture_alpha = true, @@ -101,6 +103,7 @@ minetest.register_node("crops:corn_base_1", { drawtype = "mesh", mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_base_1.png" }, + waving = 1, use_texture_alpha = true, walkable = false, sunlight_propagates = true, @@ -199,6 +202,7 @@ minetest.register_node("crops:corn_top_1", { drawtype = "mesh", mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_base_1.png" }, + waving = 1, use_texture_alpha = true, walkable = false, sunlight_propagates = true, @@ -235,6 +239,7 @@ minetest.register_node("crops:corn_top_2", { drawtype = "mesh", mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_top_1.png" }, + waving = 1, use_texture_alpha = true, walkable = false, sunlight_propagates = true, @@ -273,6 +278,7 @@ minetest.register_node("crops:corn_top_3", { drawtype = "mesh", mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_top_2.png" }, + waving = 1, use_texture_alpha = true, walkable = false, sunlight_propagates = true, @@ -302,6 +308,7 @@ minetest.register_node("crops:corn_top_4", { drawtype = "mesh", mesh = "crops_orthogonal_plant.obj", tiles = { "crops_corn_top_3.png" }, + waving = 1, use_texture_alpha = true, walkable = false, sunlight_propagates = true, |