From 01105a6526a5846a25f31b02e3e89fafc749941a Mon Sep 17 00:00:00 2001 From: Pilcrow182 Date: Tue, 14 Apr 2015 23:53:30 -0500 Subject: add support for enable_waving_plants shader setting --- melon.lua | 2 ++ potato.lua | 2 ++ tomato.lua | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/melon.lua b/melon.lua index 27522de..b5cdecc 100644 --- a/melon.lua +++ b/melon.lua @@ -26,6 +26,7 @@ minetest.register_node("crops:melon_seed", { wield_image = "crops_melon_seed.png", tiles = { "crops_melon_plant_1.png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = false, use_texture_alpha = true, walkable = false, @@ -50,6 +51,7 @@ minetest.register_node("crops:melon_plant_" .. stage , { description = "melon plant", tiles = { "crops_melon_plant_" .. stage .. ".png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, diff --git a/potato.lua b/potato.lua index a652075..a202a35 100644 --- a/potato.lua +++ b/potato.lua @@ -19,6 +19,7 @@ minetest.register_node("crops:potato_eyes", { wield_image = "crops_potato_eyes.png", tiles = { "crops_potato_plant_1.png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = false, use_texture_alpha = true, walkable = false, @@ -43,6 +44,7 @@ minetest.register_node("crops:potato_plant_" .. stage , { description = "potato plant", tiles = { "crops_potato_plant_" .. stage .. ".png" }, drawtype = "plantlike", + waving = 1, sunlight_propagates = true, use_texture_alpha = true, walkable = false, 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