From c44d4d9de456e2568c4948f270518d45568648cb Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 16:13:44 +0100 Subject: remove checks for 0.4.16 items --- mapgen.lua | 84 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 39 insertions(+), 45 deletions(-) diff --git a/mapgen.lua b/mapgen.lua index 64ff387..568ac1d 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -333,51 +333,45 @@ add_schem({"ethereal:bamboo_dirt"}, 0.08, {"bamboo"}, 1, 100, ethereal.bush, eth -- vine tree add_schem({"ethereal:green_dirt"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp) --- bushes - -if minetest.registered_nodes["default:acacia_bush_stem"] then - - minetest.register_decoration({ - deco_type = "schematic", - place_on = {"default:dirt_with_grass", "default:dirt_with_snow"}, - sidelen = 16, - noise_params = { - offset = -0.004, - scale = 0.01, - spread = {x = 100, y = 100, z = 100}, - seed = 137, - octaves = 3, - persist = 0.7, - }, - biomes = {"grassy", "grassytwo", "jumble"}, - y_min = 1, - y_max = 31000, - schematic = dpath .. "/bush.mts", - flags = "place_center_x, place_center_z", - }) - - -- Acacia bush - - minetest.register_decoration({ - deco_type = "schematic", - place_on = {"default:dirt_with_dry_grass"}, - sidelen = 16, - noise_params = { - offset = -0.004, - scale = 0.01, - spread = {x = 100, y = 100, z = 100}, - seed = 90155, - octaves = 3, - persist = 0.7, - }, - biomes = {"savannah", "mesa"}, - y_min = 1, - y_max = 31000, - schematic = dpath .. "/acacia_bush.mts", - flags = "place_center_x, place_center_z", - }) +-- bush +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"default:dirt_with_grass", "default:dirt_with_snow"}, + sidelen = 16, + noise_params = { + offset = -0.004, + scale = 0.01, + spread = {x = 100, y = 100, z = 100}, + seed = 137, + octaves = 3, + persist = 0.7, + }, + biomes = {"grassy", "grassytwo", "jumble"}, + y_min = 1, + y_max = 31000, + schematic = dpath .. "/bush.mts", + flags = "place_center_x, place_center_z", +}) -end +-- Acacia bush +minetest.register_decoration({ + deco_type = "schematic", + place_on = {"default:dirt_with_dry_grass"}, + sidelen = 16, + noise_params = { + offset = -0.004, + scale = 0.01, + spread = {x = 100, y = 100, z = 100}, + seed = 90155, + octaves = 3, + persist = 0.7, + }, + biomes = {"savannah", "mesa"}, + y_min = 1, + y_max = 31000, + schematic = dpath .. "/acacia_bush.mts", + flags = "place_center_x, place_center_z", +}) --= simple decorations @@ -677,7 +671,7 @@ minetest.register_on_generated(function(minp, maxp) end) -- coral reef (0.4.15 only) -if ethereal.reefs == 1 and minetest.registered_nodes["default:coral_orange"] then +if ethereal.reefs == 1 then -- override corals so crystal shovel can pick them up intact minetest.override_item("default:coral_skeleton", {groups = {crumbly = 3}}) -- cgit v1.2.3