From 9ae811465ea37703f9ee85dfd97f7082190e60ea Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 2 Sep 2018 21:38:46 +0100 Subject: tweak fiery biome decoration --- mapgen.lua | 34 ++++++++++++++++++++++++++++++++-- plantlife.lua | 2 +- 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", -- cgit v1.2.3