remove checks for 0.4.16 items

This commit is contained in:
TenPlus1 2017-10-09 16:13:44 +01:00
parent fa180c3c45
commit c44d4d9de4

View File

@ -333,11 +333,8 @@ add_schem({"ethereal:bamboo_dirt"}, 0.08, {"bamboo"}, 1, 100, ethereal.bush, eth
-- vine tree -- vine tree
add_schem({"ethereal:green_dirt"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp) add_schem({"ethereal:green_dirt"}, 0.02, {"swamp"}, 1, 100, path .. "vinetree.mts", ethereal.swamp)
-- bushes -- bush
minetest.register_decoration({
if minetest.registered_nodes["default:acacia_bush_stem"] then
minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"}, place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
sidelen = 16, sidelen = 16,
@ -354,11 +351,10 @@ if minetest.registered_nodes["default:acacia_bush_stem"] then
y_max = 31000, y_max = 31000,
schematic = dpath .. "/bush.mts", schematic = dpath .. "/bush.mts",
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
}) })
-- Acacia bush -- Acacia bush
minetest.register_decoration({
minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:dirt_with_dry_grass"}, place_on = {"default:dirt_with_dry_grass"},
sidelen = 16, sidelen = 16,
@ -375,9 +371,7 @@ if minetest.registered_nodes["default:acacia_bush_stem"] then
y_max = 31000, y_max = 31000,
schematic = dpath .. "/acacia_bush.mts", schematic = dpath .. "/acacia_bush.mts",
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
}) })
end
--= simple decorations --= simple decorations
@ -677,7 +671,7 @@ minetest.register_on_generated(function(minp, maxp)
end) end)
-- coral reef (0.4.15 only) -- 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 -- override corals so crystal shovel can pick them up intact
minetest.override_item("default:coral_skeleton", {groups = {crumbly = 3}}) minetest.override_item("default:coral_skeleton", {groups = {crumbly = 3}})