summaryrefslogtreecommitdiff
path: root/melon.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 /melon.lua
parente2ce73d686603d3f3030b89cf9bf481616601526 (diff)
parent01105a6526a5846a25f31b02e3e89fafc749941a (diff)
Merge pull request #6 from Pilcrow182/master
add support for enable_waving_plants shader setting
Diffstat (limited to 'melon.lua')
-rw-r--r--melon.lua2
1 files changed, 2 insertions, 0 deletions
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,