summaryrefslogtreecommitdiff
path: root/tomato.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar+github@foo-projects.org>2015-04-14 22:46:10 -0700
committerAuke Kok <sofar+github@foo-projects.org>2015-04-14 22:46:10 -0700
commitb72267b19de33311c8272b168f4ae7c3848213b9 (patch)
treed9dfce47f82aa1c4944c57cab6d6f5ddfe0e0621 /tomato.lua
parente2ce73d686603d3f3030b89cf9bf481616601526 (diff)
parent01105a6526a5846a25f31b02e3e89fafc749941a (diff)
Merge pull request #6 from Pilcrow182/master
add support for enable_waving_plants shader setting
Diffstat (limited to 'tomato.lua')
-rw-r--r--tomato.lua4
1 files changed, 4 insertions, 0 deletions
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,