diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-02 21:38:46 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-02 21:38:46 +0100 |
commit | 9ae811465ea37703f9ee85dfd97f7082190e60ea (patch) | |
tree | 3144c07d65f9a6c2d98fa2b37f5ae573ad5d7238 /mapgen.lua | |
parent | 9dac31a106b10e72bb3a5e71f8cd5d8f69e5aafb (diff) |
tweak fiery biome decoration
Diffstat (limited to 'mapgen.lua')
-rw-r--r-- | mapgen.lua | 34 |
1 files changed, 32 insertions, 2 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)
|