Add MCL support

This commit is contained in:
Juraj Vajda 2023-03-31 14:49:31 -04:00
parent ca20248f16
commit 502d376a0a
3 changed files with 62 additions and 1 deletions

View File

@ -37,6 +37,8 @@ dofile(path .. '/chests.lua')
if minetest.get_modpath('default') then if minetest.get_modpath('default') then
dofile(path .. '/mapgen_aliases_default.lua') dofile(path .. '/mapgen_aliases_default.lua')
elseif minetest.get_modpath('mcl_core') then
dofile(path .. '/mapgen_aliases_mcl.lua')
end end
dofile(path .. '/mapgen.lua') dofile(path .. '/mapgen.lua')

59
mapgen_aliases_mcl.lua Normal file
View File

@ -0,0 +1,59 @@
--[[
Everness. Never ending discovery in Everness mapgen.
Copyright (C) 2023 SaKeL <juraj.vajda@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to juraj.vajda@gmail.com
--]]
minetest.register_alias('everness_mapgen_stone', 'mcl_core:stone')
minetest.register_alias('everness_mapgen_water_source', 'mcl_core:water_source')
minetest.register_alias('everness_mapgen_lava_source', 'mcl_core:lava_source')
minetest.register_alias('everness_mapgen_sand', 'mcl_core:sand')
minetest.register_alias('everness_mapgen_stair_bamboo_wood', 'mcl_stairs:stair_bamboo_wood')
minetest.register_alias('everness_mapgen_dry_dirt_with_dry_grass', 'mcl_core:dirt_with_grass')
minetest.register_alias('everness_mapgen_dry_dirt', 'mcl_core:coarse_dirt')
minetest.register_alias('everness_mapgen_cobble', 'mcl_core:cobble')
minetest.register_alias('everness_mapgen_mossycobble', 'mcl_core:mossycobble')
minetest.register_alias('everness_mapgen_stair_cobble', 'mcl_stairs:stair_cobble')
minetest.register_alias('everness_mapgen_stair_coral_deep_ocean_sandstone_block', 'mcl_stairs:stair_coral_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_coral_sandstone', 'mcl_stairs:stair_coral_sandstone')
minetest.register_alias('everness_mapgen_stair_coral_desert_cobble', 'mcl_stairs:stair_coral_desert_cobble')
minetest.register_alias('everness_mapgen_stair_coral_desert_stone_block', 'mcl_stairs:stair_coral_desert_stone_block')
minetest.register_alias('everness_mapgen_stair_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_cursed_lands_deep_ocean_sandstone_block', 'mcl_stairs:stair_cursed_lands_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_cursed_sandstone_brick', 'mcl_stairs:stair_cursed_sandstone_brick')
minetest.register_alias('everness_mapgen_stair_cursed_brick', 'mcl_stairs:stair_cursed_brick')
minetest.register_alias('everness_mapgen_stair_forsaken_desert_brick', 'mcl_stairs:stair_forsaken_desert_brick')
minetest.register_alias('everness_mapgen_stair_forsaken_tundra_cobble', 'mcl_stairs:stair_forsaken_tundra_cobble')
minetest.register_alias('everness_mapgen_stair_ice', 'mcl_stairs:stair_ice')
minetest.register_alias('everness_mapgen_dirt_with_rainforest_litter', 'mcl_core:dirt_with_grass')
minetest.register_alias('everness_mapgen_dirt_with_snow', 'mcl_core:dirt_with_grass_snow')
minetest.register_alias('everness_mapgen_dirt_with_grass', 'default:dirt_with_grass')
minetest.register_alias('everness_mapgen_dirt_with_coniferous_litter', 'mcl_core:podzol')
minetest.register_alias('everness_mapgen_snow', 'mcl_core:snow')
minetest.register_alias('everness_mapgen_gravel', 'mcl_core:gravel')
minetest.register_alias('everness_mapgen_clay', 'mcl_colorblocks:hardened_clay')
minetest.register_alias('everness_mapgen_grass_1', 'mcl_flowers:tallgrass')
minetest.register_alias('everness_mapgen_grass_2', 'mcl_flowers:tallgrass')
minetest.register_alias('everness_mapgen_grass_3', 'mcl_flowers:tallgrass')
minetest.register_alias('everness_mapgen_grass_4', 'mcl_flowers:tallgrass')
minetest.register_alias('everness_mapgen_grass_5', 'mcl_flowers:tallgrass')
minetest.register_alias('everness_mapgen_flowers_rose', 'mcl_flowers:wither_rose')
minetest.register_alias('everness_mapgen_flowers_tulip', 'mcl_flowers:tulip_orange')
minetest.register_alias('everness_mapgen_flowers_dandelion_yellow', 'mcl_flowers:dandelion')
minetest.register_alias('everness_mapgen_flowers_chrysanthemum_green', 'mcl_flowers:tulip_white')
minetest.register_alias('everness_mapgen_flowers_geranium', 'mcl_flowers:allium')
minetest.register_alias('everness_mapgen_flowers_viola', 'mcl_flowers:azure_bluet')
minetest.register_alias('everness_mapgen_flowers_dandelion_white', 'mcl_flowers:tulip_pink')
minetest.register_alias('everness_mapgen_flowers_tulip_black', 'mcl_flowers:tulip_white')

View File

@ -156,7 +156,7 @@ minetest.register_alias('stairs:slab_stonebrick', 'mcl_stairs:slab_stonebrick')
minetest.register_alias('stairs:stair_inner_wood', 'mcl_stairs:stair_wood_inner') minetest.register_alias('stairs:stair_inner_wood', 'mcl_stairs:stair_wood_inner')
minetest.register_alias('stairs:stair_outer_stonebrick', 'mcl_stairs:stair_stonebrick_outer') minetest.register_alias('stairs:stair_outer_stonebrick', 'mcl_stairs:stair_stonebrick_outer')
minetest.register_alias('stairs:stair_stonebrick', 'mcl_stairs:stair_stonebrick') minetest.register_alias('stairs:stair_stonebrick', 'mcl_stairs:stair_stonebrick')
minetest.register_alias('stairs:stair_cobble', 'mcl_stairs:stair_cobble') -- minetest.register_alias('stairs:stair_cobble', 'mcl_stairs:stair_cobble')
minetest.register_alias('stairs:stair_mossycobble', 'mcl_stairs:stair_mossycobble') minetest.register_alias('stairs:stair_mossycobble', 'mcl_stairs:stair_mossycobble')
minetest.register_alias('stairs:stair_outer_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_outer') minetest.register_alias('stairs:stair_outer_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_outer')
minetest.register_alias('stairs:stair_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled') minetest.register_alias('stairs:stair_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled')