summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-09-02 21:38:46 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2018-09-02 21:38:46 +0100
commit9ae811465ea37703f9ee85dfd97f7082190e60ea (patch)
tree3144c07d65f9a6c2d98fa2b37f5ae573ad5d7238
parent9dac31a106b10e72bb3a5e71f8cd5d8f69e5aafb (diff)
tweak fiery biome decoration
-rw-r--r--mapgen.lua34
-rw-r--r--plantlife.lua2
2 files changed, 33 insertions, 3 deletions
diff --git a/mapgen.lua b/mapgen.lua
index cded3b9..bcf346a 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -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",