Make most plants capable of waving if shaders are enabled

This commit is contained in:
Vanessa Ezekowitz 2013-11-21 18:44:49 -05:00
parent ef27d14e4a
commit 4912981332
3 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
tiles = { "bushes_" .. bush_name .. "_bush.png" },
inventory_image = "bushes_" .. bush_name .. "_bush.png",
paramtype = "light",
paramtype2 = 'waving',
sunlight_propagates = true,
walkable = false,

View File

@ -23,6 +23,7 @@ if not minetest.registered_nodes["default:junglegrass"] then
inventory_image = "default_junglegrass.png",
wield_image = "default_junglegrass.png",
paramtype = "light",
paramtype2 = 'waving',
walkable = false,
buildable_to = true,
is_ground_content = true,
@ -47,6 +48,7 @@ minetest.register_node('junglegrass:medium', {
wield_image = 'junglegrass_medium.png',
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'waving',
walkable = false,
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
sounds = default.node_sound_leaves_defaults(),
@ -67,6 +69,7 @@ minetest.register_node('junglegrass:short', {
wield_image = 'junglegrass_short.png',
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'waving',
walkable = false,
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
sounds = default.node_sound_leaves_defaults(),
@ -86,6 +89,7 @@ minetest.register_node('junglegrass:shortest', {
wield_image = 'junglegrass_shortest.png',
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'waving',
walkable = false,
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
sounds = default.node_sound_leaves_defaults(),

View File

@ -26,6 +26,7 @@ minetest.register_node('poisonivy:seedling', {
wield_image = 'poisonivy_seedling.png',
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'waving',
walkable = false,
groups = { snappy = 3, poisonivy=1, flora_block=1 },
sounds = default.node_sound_leaves_defaults(),
@ -40,6 +41,7 @@ minetest.register_node('poisonivy:sproutling', {
wield_image = 'poisonivy_sproutling.png',
sunlight_propagates = true,
paramtype = 'light',
paramtype2 = 'waving',
walkable = false,
groups = { snappy = 3, poisonivy=1, flora_block=1 },
sounds = default.node_sound_leaves_defaults(),