forked from mtcontrib/plantlife_modpack
Make most plants capable of waving if shaders are enabled
This commit is contained in:
parent
ef27d14e4a
commit
4912981332
@ -167,6 +167,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do
|
|||||||
tiles = { "bushes_" .. bush_name .. "_bush.png" },
|
tiles = { "bushes_" .. bush_name .. "_bush.png" },
|
||||||
inventory_image = "bushes_" .. bush_name .. "_bush.png",
|
inventory_image = "bushes_" .. bush_name .. "_bush.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
paramtype2 = 'waving',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ if not minetest.registered_nodes["default:junglegrass"] then
|
|||||||
inventory_image = "default_junglegrass.png",
|
inventory_image = "default_junglegrass.png",
|
||||||
wield_image = "default_junglegrass.png",
|
wield_image = "default_junglegrass.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -47,6 +48,7 @@ minetest.register_node('junglegrass:medium', {
|
|||||||
wield_image = 'junglegrass_medium.png',
|
wield_image = 'junglegrass_medium.png',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
@ -67,6 +69,7 @@ minetest.register_node('junglegrass:short', {
|
|||||||
wield_image = 'junglegrass_short.png',
|
wield_image = 'junglegrass_short.png',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
@ -86,6 +89,7 @@ minetest.register_node('junglegrass:shortest', {
|
|||||||
wield_image = 'junglegrass_shortest.png',
|
wield_image = 'junglegrass_shortest.png',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
@ -26,6 +26,7 @@ minetest.register_node('poisonivy:seedling', {
|
|||||||
wield_image = 'poisonivy_seedling.png',
|
wield_image = 'poisonivy_seedling.png',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
@ -40,6 +41,7 @@ minetest.register_node('poisonivy:sproutling', {
|
|||||||
wield_image = 'poisonivy_sproutling.png',
|
wield_image = 'poisonivy_sproutling.png',
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
|
paramtype2 = 'waving',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
groups = { snappy = 3, poisonivy=1, flora_block=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
Loading…
Reference in New Issue
Block a user