forked from mtcontrib/moreplants
flowers in the flower group
This commit is contained in:
parent
c03d664cae
commit
c0ffbe938c
34
init.lua
34
init.lua
@ -111,7 +111,7 @@ minetest.register_node("moreplants:bigflower", {
|
||||
inventory_image = "moreplants_bigflower.png",
|
||||
visual_scale = 1.2,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
@ -130,7 +130,7 @@ minetest.register_node("moreplants:medflower", {
|
||||
inventory_image = "moreplants_medflower.png",
|
||||
visual_scale = 1,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
@ -227,7 +227,7 @@ minetest.register_node("moreplants:blueflower", {
|
||||
inventory_image = "moreplants_blueflower.png",
|
||||
visual_scale = 1,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
@ -364,7 +364,7 @@ minetest.register_node("moreplants:caveflower", {
|
||||
visual_scale = 1,
|
||||
light_source = 5,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
@ -383,7 +383,7 @@ minetest.register_node("moreplants:moonflower", {
|
||||
inventory_image = "moreplants_moonflower.png",
|
||||
visual_scale = 1,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
@ -402,7 +402,7 @@ minetest.register_node("moreplants:fireflower", {
|
||||
inventory_image = "moreplants_fireflower.png",
|
||||
visual_scale = 1,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
|
||||
@ -486,7 +486,7 @@ minetest.register_node("moreplants:jungleflower", {
|
||||
inventory_image = "moreplants_jungleflower1.png",
|
||||
visual_scale = 1.1,
|
||||
wield_scale = {x=0.5, y=0.5, z=0.5},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flora=1},
|
||||
groups = {snappy=3, flammable=1, attatched_node=1, flower=1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}
|
||||
@ -889,16 +889,16 @@ minetest.register_decoration({
|
||||
decoration = "moreplants:mushroom",
|
||||
height = 1,
|
||||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "air",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"deciduous_forest"},
|
||||
spawn_by = "default:tree",
|
||||
decoration = "moreplants:glowfung",
|
||||
height = 1,
|
||||
})
|
||||
-- minetest.register_decoration({
|
||||
-- deco_type = "simple",
|
||||
-- place_on = "air",
|
||||
-- sidelen = 16,
|
||||
-- fill_ratio = 0.01,
|
||||
-- biomes = {"deciduous_forest"},
|
||||
-- spawn_by = "default:tree",
|
||||
-- decoration = "moreplants:glowfung",
|
||||
-- height = 1,
|
||||
-- })
|
||||
end
|
||||
|
||||
if minetest.get_mapgen_params().mgname ~= "v6" or minetest.get_mapgen_params().mgname ~= "singlenode" then
|
||||
|
Loading…
Reference in New Issue
Block a user