diff options
-rw-r--r-- | mapgen.lua | 34 | ||||
-rw-r--r-- | plantlife.lua | 2 |
2 files changed, 33 insertions, 3 deletions
@@ -258,10 +258,40 @@ add_schem({"ethereal:crystal_dirt"}, 0.01, {"frost"}, 1, 100, path .. "frosttree add_schem({"ethereal:mushroom_dirt"}, 0.02, {"mushroom"}, 1, 100, path .. "mushroomone.mts", ethereal.mushroom)
-- small lava crater
-add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanom.mts", ethereal.fiery)
+--add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanom.mts", ethereal.fiery)
+if ethereal.fiery then
+ minetest.register_decoration({
+ deco_type = "schematic",
+ place_on = {"ethereal:fiery_dirt"},
+ sidelen = 80,
+ fill_ratio = 0.01,
+ biomes = {"fiery"},
+ y_min = 1,
+ y_max = 100,
+ schematic = path .. "volcanom.mts",
+ flags = "place_center_x, place_center_z",
+ spawn_by = "ethereal:fiery_dirt",
+ num_spawn_by = 8,
+ })
+
+ minetest.register_decoration({
+ deco_type = "schematic",
+ place_on = {"ethereal:fiery_dirt"},
+ sidelen = 80,
+ fill_ratio = 0.003,
+ biomes = {"fiery"},
+ y_min = 1,
+ y_max = 100,
+ schematic = path .. "volcanol.mts",
+ flags = "place_center_x, place_center_z",
+ spawn_by = "ethereal:fiery_dirt",
+ num_spawn_by = 8,
+ rotation = "random",
+ })
+end
-- large lava crater
-add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanol.mts", ethereal.fiery)
+--add_schem({"ethereal:fiery_dirt"}, 0.01, {"fiery"}, 1, 100, path .. "volcanol.mts", ethereal.fiery)
-- default jungle tree
add_schem({"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"}, 0.08, {"junglee"}, 1, 100, dpath .. "jungle_tree.mts", ethereal.junglee)
diff --git a/plantlife.lua b/plantlife.lua index 31846e3..887d1bc 100644 --- a/plantlife.lua +++ b/plantlife.lua @@ -162,7 +162,7 @@ minetest.register_node("ethereal:dry_shrub", { waving = 1, walkable = false, buildable_to = true, - groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2}, + groups = {snappy = 3, flora = 1, attached_node = 1}, sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", |