forked from mtcontrib/moreplants
Fix spawn of moonflower
This commit is contained in:
parent
8216a475e2
commit
8e0679c70a
43
init.lua
43
init.lua
|
@ -20,6 +20,7 @@ minetest.register_node("moreplants:tallgrass", {
|
|||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:aliengrass", {
|
||||
|
@ -60,6 +61,7 @@ minetest.register_node("moreplants:bulrush", {
|
|||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:bigfern", {
|
||||
|
@ -79,6 +81,7 @@ minetest.register_node("moreplants:bigfern", {
|
|||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:umbrella", {
|
||||
|
@ -98,6 +101,7 @@ minetest.register_node("moreplants:umbrella", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 3, 0.3}
|
||||
},
|
||||
walkable = true,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:bigflower", {
|
||||
|
@ -117,6 +121,7 @@ minetest.register_node("moreplants:bigflower", {
|
|||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:medflower", {
|
||||
|
@ -137,6 +142,7 @@ minetest.register_node("moreplants:medflower", {
|
|||
},
|
||||
on_use = minetest.item_eat(1),
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
|
||||
|
@ -157,6 +163,7 @@ minetest.register_node("moreplants:weed", {
|
|||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:stoneweed", {
|
||||
|
@ -176,6 +183,7 @@ minetest.register_node("moreplants:stoneweed", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:spikefern", {
|
||||
|
@ -195,6 +203,7 @@ minetest.register_node("moreplants:spikefern", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:bluespike", {
|
||||
|
@ -214,6 +223,7 @@ minetest.register_node("moreplants:bluespike", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:blueflower", {
|
||||
|
@ -233,6 +243,7 @@ minetest.register_node("moreplants:blueflower", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:eyeweed", {
|
||||
|
@ -253,6 +264,7 @@ minetest.register_node("moreplants:eyeweed", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:fern", {
|
||||
|
@ -272,6 +284,7 @@ minetest.register_node("moreplants:fern", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:bush", {
|
||||
|
@ -291,6 +304,7 @@ minetest.register_node("moreplants:bush", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:cactus", {
|
||||
|
@ -389,6 +403,7 @@ minetest.register_node("moreplants:moonflower", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:fireflower", {
|
||||
|
@ -408,6 +423,7 @@ minetest.register_node("moreplants:fireflower", {
|
|||
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:deadweed", {
|
||||
|
@ -415,7 +431,7 @@ minetest.register_node("moreplants:deadweed", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"moreplants_deadweed.png"},
|
||||
paramtype = "light",
|
||||
light_source = 5,
|
||||
light_source = 2,
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
sunlight_propagates = true,
|
||||
|
@ -435,7 +451,7 @@ minetest.register_node("moreplants:taigabush", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"moreplants_tundrabush.png"},
|
||||
paramtype = "light",
|
||||
light_source = 5,
|
||||
light_source = 2,
|
||||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
sunlight_propagates = true,
|
||||
|
@ -448,6 +464,7 @@ minetest.register_node("moreplants:taigabush", {
|
|||
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:glowfung", {
|
||||
|
@ -458,7 +475,7 @@ minetest.register_node("moreplants:glowfung", {
|
|||
is_ground_content = false,
|
||||
buildable_to = true,
|
||||
sunlight_propagates = true,
|
||||
light_source = 20,
|
||||
light_source = default.LIGHT_MAX-2,
|
||||
legacy_wallmounted = true,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
|
@ -492,6 +509,7 @@ minetest.register_node("moreplants:jungleflower", {
|
|||
fixed = {-0.4, -0.5, -0.4, 0.4, 0.4, 0.4}
|
||||
},
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:mushroom", {
|
||||
|
@ -563,6 +581,7 @@ minetest.register_node("moreplants:clover", {
|
|||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -0.1, 0.5}
|
||||
},
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:groundfung", {
|
||||
|
@ -628,6 +647,7 @@ minetest.register_node("moreplants:palmleaves2", {
|
|||
fixed = {-0.3, -0.5, -0.3, 0.3, -0.2, 0.3}
|
||||
},
|
||||
groups = {cracky=3,dig_immediate=3},
|
||||
waving = 1,
|
||||
})
|
||||
|
||||
minetest.register_node("moreplants:palmleaves1", {
|
||||
|
@ -730,7 +750,11 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_rainforest_litter", "default:dirt_with_grass"},
|
||||
place_on = {
|
||||
"default:dirt_with_rainforest_litter",
|
||||
"default:dirt_with_grass",
|
||||
"default:dirt_with_coniferous_litter",
|
||||
},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.01,
|
||||
biomes = {"rainforest", "coniferous_forest"},
|
||||
|
@ -766,7 +790,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:water_source",
|
||||
place_on = {"default:water_source", "default:river_water_source"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"stone_grassland_ocean", "deciduous_forest_ocean"},
|
||||
|
@ -787,6 +811,7 @@ minetest.register_decoration({
|
|||
place_on = "default:stone",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.001,
|
||||
biomes = {"tundra"},
|
||||
decoration = "moreplants:stoneweed",
|
||||
height = 1,
|
||||
})
|
||||
|
@ -819,7 +844,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:snow_block",
|
||||
place_on = "default:stone",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"tundra"},
|
||||
|
@ -855,7 +880,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
@ -864,7 +889,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||
sidelen = 26,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
@ -873,7 +898,7 @@ minetest.register_decoration({
|
|||
})
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||
sidelen = 26,
|
||||
fill_ratio = 0.02,
|
||||
biomes = {"coniferous_forest"},
|
||||
|
|
Loading…
Reference in New Issue
Block a user