mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-01-11 18:10:19 +01:00
Put poison ivy and junglegrasses into flora group also, made sure my growth
abms will avoid the defaults and vice-versa, to avoid overgrowth.
This commit is contained in:
parent
620998310c
commit
2584286c52
@ -23,7 +23,7 @@ minetest.register_node('junglegrass:medium', {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drop = 'default:junglegrass',
|
drop = 'default:junglegrass',
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ minetest.register_node('junglegrass:short', {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drop = 'default:junglegrass',
|
drop = 'default:junglegrass',
|
||||||
selection_box = {
|
selection_box = {
|
||||||
@ -62,7 +62,7 @@ minetest.register_node('junglegrass:shortest', {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, flammable=2, junglegrass=1 },
|
groups = { snappy = 3, flammable=2, junglegrass=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drop = 'default:junglegrass',
|
drop = 'default:junglegrass',
|
||||||
selection_box = {
|
selection_box = {
|
||||||
|
@ -27,7 +27,7 @@ minetest.register_node('poisonivy:seedling', {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1 },
|
groups = { snappy = 3, poisonivy=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
@ -41,7 +41,7 @@ minetest.register_node('poisonivy:sproutling', {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1 },
|
groups = { snappy = 3, poisonivy=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
})
|
})
|
||||||
@ -56,7 +56,7 @@ minetest.register_node('poisonivy:climbing', {
|
|||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
paramtype2 = 'wallmounted',
|
paramtype2 = 'wallmounted',
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = { snappy = 3, poisonivy=1 },
|
groups = { snappy = 3, poisonivy=1, flora=1 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
@ -71,7 +71,7 @@ plantslib:spawn_on_surfaces({
|
|||||||
avoid_radius = 10,
|
avoid_radius = 10,
|
||||||
spawn_chance = SPAWN_CHANCE/10,
|
spawn_chance = SPAWN_CHANCE/10,
|
||||||
spawn_surfaces = {"default:dirt_with_grass"},
|
spawn_surfaces = {"default:dirt_with_grass"},
|
||||||
avoid_nodes = {"group:poisonivy","group:flower"},
|
avoid_nodes = {"group:poisonivy", "group:flower", "group:flora"},
|
||||||
seed_diff = poisonivy_seed_diff,
|
seed_diff = poisonivy_seed_diff,
|
||||||
light_min = 7,
|
light_min = 7,
|
||||||
alt_wallnode = "poisonivy:climbing",
|
alt_wallnode = "poisonivy:climbing",
|
||||||
|
Loading…
Reference in New Issue
Block a user