summaryrefslogtreecommitdiff
path: root/corn.lua
diff options
context:
space:
mode:
Diffstat (limited to 'corn.lua')
-rw-r--r--corn.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/corn.lua b/corn.lua
index 7a26b8a..17be324 100644
--- a/corn.lua
+++ b/corn.lua
@@ -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,