Move flowers mapgen to new mod

This commit is contained in:
Wuzzy 2017-02-23 00:31:31 +01:00
parent 177defa9de
commit 36217e2834
4 changed files with 5 additions and 6 deletions

View File

@ -3,12 +3,6 @@
local init = os.clock() local init = os.clock()
flower_tmp={} flower_tmp={}
-- Map Generation
dofile(minetest.get_modpath("mcl_flowers").."/mapgen.lua")
------------------------------- -------------------------------
--- Fleur Simple (une case) --- --- Fleur Simple (une case) ---
------------------------------- -------------------------------

View File

@ -246,5 +246,8 @@ if mg_name ~= "v6" and mg_name ~= "flat" then
register_decorations() register_decorations()
elseif mg_name == "flat" then elseif mg_name == "flat" then
-- Implementation of Minecraft's Superflat mapgen, classic style -- Implementation of Minecraft's Superflat mapgen, classic style
minetest.clear_registered_biomes()
minetest.clear_registered_decorations()
minetest.clear_registered_schematics()
register_classic_superflat_biome() register_classic_superflat_biome()
end end

View File

@ -0,0 +1,2 @@
mcl_core
mcl_flowers