From 01105a6526a5846a25f31b02e3e89fafc749941a Mon Sep 17 00:00:00 2001 From: Pilcrow182 <pilcrowjesus@gmail.com> Date: Tue, 14 Apr 2015 23:53:30 -0500 Subject: add support for enable_waving_plants shader setting --- tomato.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tomato.lua') diff --git a/tomato.lua b/tomato.lua index 5314558..0bf60a4 100644 --- a/tomato.lua +++ b/tomato.lua @@ -19,6 +19,7 @@ minetest.register_node("crops:tomato_seed", { wield_image = "crops_tomato_seed.png", tiles = { "crops_tomato_plant_1.png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, @@ -45,6 +46,7 @@ minetest.register_node("crops:tomato_plant_" .. stage , { description = "tomato plant", tiles = { "crops_tomato_plant_" .. stage .. ".png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, @@ -63,6 +65,7 @@ minetest.register_node("crops:tomato_plant_5" , { description = "tomato plant", tiles = { "crops_tomato_plant_5.png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, @@ -93,6 +96,7 @@ minetest.register_node("crops:tomato_plant_6", { description = "tomato plant", tiles = { "crops_tomato_plant_6.png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, -- cgit v1.2.3