1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-08 19:30:32 +01:00

removed cotton plant spawning abm since it is in the flora group and is being

spawned automatically by the default flowers code.

took all other plants out of flora group so they don't get spawned by that
code.
This commit is contained in:
Vanessa Ezekowitz 2013-04-26 07:24:13 -04:00
parent fb60fc4af2
commit a2ccdf7cf0

View File

@ -41,7 +41,7 @@ minetest.register_node(":flowers:waterlily", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
groups = { snappy = 3,flammable=2,flower=1, flora=1 }, groups = { snappy = 3,flammable=2,flower=1 },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -62,7 +62,7 @@ minetest.register_node(":flowers:waterlily_225", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
groups = { snappy = 3,flammable=2,flower=1, flora=1, not_in_creative_inventory=1 }, groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -84,7 +84,7 @@ minetest.register_node(":flowers:waterlily_45", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
groups = { snappy = 3,flammable=2,flower=1, flora=1, not_in_creative_inventory=1 }, groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -106,7 +106,7 @@ minetest.register_node(":flowers:waterlily_675", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
groups = { snappy = 3,flammable=2,flower=1, flora=1, not_in_creative_inventory=1 }, groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -130,7 +130,7 @@ minetest.register_node(":flowers:seaweed", {
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
walkable = false, walkable = false,
groups = { snappy = 3,flammable=2,flower=1, flora=1 }, groups = { snappy = 3,flammable=2,flower=1 },
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -199,17 +199,6 @@ end
-- spawn ABM registrations -- spawn ABM registrations
plantslib:spawn_on_surfaces({
spawn_delay = SPAWN_DELAY,
spawn_plants = { "flowers:cotton_plant"},
avoid_radius = 7,
spawn_chance = SPAWN_CHANCE,
spawn_surfaces = {"default:dirt_with_grass"},
avoid_nodes = {"group:flower", "group:flora", "group:poisonivy"},
seed_diff = flowers_seed_diff,
light_min = 9
})
plantslib:spawn_on_surfaces({ plantslib:spawn_on_surfaces({
spawn_delay = SPAWN_DELAY/2, spawn_delay = SPAWN_DELAY/2,
spawn_plants = { spawn_plants = {