add support for enable_waving_plants shader setting

This commit is contained in:
Pilcrow182 2015-04-14 23:53:30 -05:00
parent e2ce73d686
commit 01105a6526
3 changed files with 8 additions and 0 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,