mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 15:20:19 +01:00
Add waving property for leaves and plants.
This commit is contained in:
parent
a5a59e3552
commit
81e9a7cb36
@ -258,6 +258,7 @@ minetest.register_node("default:jungleleaves", {
|
|||||||
visual_scale = 1.3,
|
visual_scale = 1.3,
|
||||||
tiles = {"default_jungleleaves.png"},
|
tiles = {"default_jungleleaves.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
|
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
|
||||||
drop = {
|
drop = {
|
||||||
@ -320,6 +321,7 @@ minetest.register_node("default:leaves", {
|
|||||||
visual_scale = 1.3,
|
visual_scale = 1.3,
|
||||||
tiles = {"default_leaves.png"},
|
tiles = {"default_leaves.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
|
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
|
||||||
drop = {
|
drop = {
|
||||||
@ -1227,6 +1229,7 @@ minetest.register_node("default:dry_shrub", {
|
|||||||
inventory_image = "default_dry_shrub.png",
|
inventory_image = "default_dry_shrub.png",
|
||||||
wield_image = "default_dry_shrub.png",
|
wield_image = "default_dry_shrub.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
|
@ -189,6 +189,7 @@ minetest.register_node(":default:grass_1", {
|
|||||||
inventory_image = "default_grass_3.png",
|
inventory_image = "default_grass_3.png",
|
||||||
wield_image = "default_grass_3.png",
|
wield_image = "default_grass_3.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
drop = {
|
drop = {
|
||||||
@ -220,6 +221,7 @@ for i=2,5 do
|
|||||||
inventory_image = "default_grass_"..i..".png",
|
inventory_image = "default_grass_"..i..".png",
|
||||||
wield_image = "default_grass_"..i..".png",
|
wield_image = "default_grass_"..i..".png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -247,6 +249,7 @@ minetest.register_node(":default:junglegrass", {
|
|||||||
inventory_image = "default_junglegrass.png",
|
inventory_image = "default_junglegrass.png",
|
||||||
wield_image = "default_junglegrass.png",
|
wield_image = "default_junglegrass.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -365,6 +368,7 @@ for i=1,8 do
|
|||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
tiles = {"farming_wheat_"..i..".png"},
|
tiles = {"farming_wheat_"..i..".png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -450,6 +454,7 @@ for i=1,8 do
|
|||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
tiles = {"farming_cotton_"..i..".png"},
|
tiles = {"farming_cotton_"..i..".png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
waving = 1,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user