Merged in feature/mcl-support (pull request #12)

Add MCL support
This commit is contained in:
Juraj Vajda 2023-04-04 02:33:45 +00:00
commit b15e39213a
69 changed files with 6456 additions and 626 deletions

View File

@ -82,4 +82,11 @@ read_globals = {
"x_obsidianmese", "x_obsidianmese",
"x_farming", "x_farming",
"x_clay", "x_clay",
"mcl_fences",
"mcl_walls",
"mcl_stairs",
"mcl_core",
"mcl_util",
"mcl_doors",
"mcl_vars",
} }

View File

@ -111,7 +111,14 @@
"XTumbleweed", "XTumbleweed",
"x_obsidianmese", "x_obsidianmese",
"x_farming", "x_farming",
"x_clay" "x_clay",
"mcl_fences",
"mcl_walls",
"mcl_stairs",
"mcl_core",
"mcl_util",
"mcl_doors",
"mcl_vars"
] ]
} }
} }

View File

@ -488,7 +488,7 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
- everness_baobab_tree_sapling.png - everness_baobab_tree_sapling.png
- everness_baobab_tree_side.png - everness_baobab_tree_side.png
- everness_baobab_tree_top.png - everness_baobab_tree_top.png
- everness_baobab_wood.png -- Derived from texture Pixel Perfection by XSSheep (CC-BY-SA-4.0) - everness_baobab_wood.png
- everness_bloodspore_plant_small.png - everness_bloodspore_plant_small.png
- everness_bloodspore_plant.png - everness_bloodspore_plant.png
- everness_blooming_cooksonia.png - everness_blooming_cooksonia.png
@ -837,6 +837,25 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
- everness_chest_ui_bg_slot.png -- Derived from texture by XSSheep (CC BY 4.0) - everness_chest_ui_bg_slot.png -- Derived from texture by XSSheep (CC BY 4.0)
- everness_stone.png - everness_stone.png
- everness_coral_skeleton.png - everness_coral_skeleton.png
- everness_mcl_doors_door_bamboo_lower.png
- everness_mcl_doors_door_bamboo_side_upper.png
- everness_mcl_doors_door_bamboo_upper.png
- everness_mcl_doors_door_bone_pyrite_lower.png
- everness_mcl_doors_door_bone_pyrite_side_upper.png
- everness_mcl_doors_door_bone_pyrite_upper.png
- everness_mcl_doors_door_crystal_wood_lower.png
- everness_mcl_doors_door_crystal_wood_side_lower.png
- everness_mcl_doors_door_crystal_wood_side_upper.png
- everness_mcl_doors_door_crystal_wood_upper.png
- everness_mcl_doors_door_willow_lower.png
- everness_mcl_doors_door_willow_side_lower.png
- everness_mcl_doors_door_willow_side_upper.png
- everness_mcl_doors_door_willow_upper.png
- everness_mcl_doors_trapdoor_bamboo_side.png
- everness_mcl_doors_trapdoor_crystal_wood_side.png
- everness_coral_forest_deep_ocean_lantern_animated.png
- everness_coral_forest_deep_ocean_lantern_bottom.png
- everness_coral_forest_deep_ocean_lantern_top.png
**CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated **CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated
@ -848,6 +867,7 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file)
- everness_grass_top_2.png - everness_grass_top_2.png
- everness_grass_with_blue_extra_top_2.png - everness_grass_with_blue_extra_top_2.png
- everness_grass_with_yellow_extra_top_1.png - everness_grass_with_yellow_extra_top_1.png
- everness_rising_soul_particle.png
### Sounds ### Sounds

View File

@ -9,6 +9,7 @@ It also adds structures, dungeons with loot chests, and custom skyboxes based on
## Features ## Features
* supports MineClone2 - see attached `minetest.example.mcl.conf` for best optimized settings
* player name tag will hide when sneaking * player name tag will hide when sneaking
* item magnet pickup when holding sneak * item magnet pickup when holding sneak
* granular biome settings * granular biome settings
@ -64,18 +65,27 @@ https://bitbucket.org/minetest_gamers/everness/issues
## Dependencies ## Dependencies
- default - *none*
## Optional Dependencies ## Optional Dependencies
- xpanes - default (MTG)
- doors - xpanes (MTG)
- stairs - doors (MTG)
- walls - stairs (MTG)
- walls (MTG)
- x_obsidianmese (for paths) - x_obsidianmese (for paths)
- x_tumbleweed (adds tumbleweeds to deserts) - x_tumbleweed (adds tumbleweeds to deserts)
- x_farming (bonemeal, recipes...) - x_farming (bonemeal, recipes...)
- x_clay (mapgen structures, loot chests...) - x_clay (mapgen structures, loot chests...)
- mcl_core (MCL)
- mcl_fences (MCL)
- mcl_walls (MCL)
- mcl_stairs (MCL)
- mcl_util (MCL)
- mcl_autogroup (MCL)
- mcl_doors (MCL)
- mcl_mapgen_core (MCL)
## License ## License

21
api.lua
View File

@ -636,6 +636,26 @@ end
-- copy from MTG -- copy from MTG
-- --
function Everness.sapling_on_place(self, itemstack, placer, pointed_thing, props) function Everness.sapling_on_place(self, itemstack, placer, pointed_thing, props)
if minetest.get_modpath('mcl_util') and minetest.global_exists('mcl_util') then
local on_place_func = mcl_util.generate_on_place_plant_function(function(pos, node)
local node_below = minetest.get_node_or_nil({ x = pos.x, y = pos.y - 1, z = pos.z })
if not node_below then
return false
end
local nn = node_below.name
return minetest.get_item_group(nn, 'grass_block') == 1
or nn == 'mcl_core:podzol'
or nn == 'mcl_core:podzol_snow'
or nn == 'mcl_core:dirt'
or nn == 'mcl_core:mycelium'
or nn == 'mcl_core:coarse_dirt'
end)
return on_place_func(itemstack, placer, pointed_thing)
else
local _props = props or {} local _props = props or {}
local sapling_name = _props.sapling_name local sapling_name = _props.sapling_name
-- minp, maxp to be checked, relative to sapling pos -- minp, maxp to be checked, relative to sapling pos
@ -725,6 +745,7 @@ function Everness.sapling_on_place(self, itemstack, placer, pointed_thing, props
return itemstack return itemstack
end end
end
-- --
-- Leafdecay - taken from MTG -- Leafdecay - taken from MTG

View File

@ -326,7 +326,20 @@ Everness.chest.register_chest('everness:chest', {
sounds = Everness.node_sound_wood_defaults(), sounds = Everness.node_sound_wood_defaults(),
sound_open = 'everness_chest_open', sound_open = 'everness_chest_open',
sound_close = 'everness_chest_close', sound_close = 'everness_chest_close',
groups = { choppy = 2, oddly_breakable_by_hand = 2 }, groups = {
-- MTG
choppy = 2,
oddly_breakable_by_hand = 2,
-- MCL
handy = 1,
axey = 1,
container = 2,
deco_block = 1,
material_wood = 1,
flammable = -1,
},
_mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5,
}) })
minetest.register_craft({ minetest.register_craft({

View File

@ -21,6 +21,11 @@ minetest = minetest.global_exists('minetest') and minetest --[[@as Minetest]]
local path = minetest.get_modpath('everness') local path = minetest.get_modpath('everness')
local mod_start_time = minetest.get_us_time() local mod_start_time = minetest.get_us_time()
-- MineClone2 support
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
dofile(path .. '/mod_support_mcl_aliases.lua')
end
dofile(path .. '/api.lua') dofile(path .. '/api.lua')
dofile(path .. '/nodes.lua') dofile(path .. '/nodes.lua')
dofile(path .. '/nodes_farming.lua') dofile(path .. '/nodes_farming.lua')
@ -30,10 +35,6 @@ dofile(path .. '/trees.lua')
dofile(path .. '/vines.lua') dofile(path .. '/vines.lua')
dofile(path .. '/chests.lua') dofile(path .. '/chests.lua')
if minetest.get_modpath('default') then
dofile(path .. '/mapgen_aliases_default.lua')
end
dofile(path .. '/mapgen.lua') dofile(path .. '/mapgen.lua')
if Everness.settings.biomes.everness_bamboo_forest_under.enabled then if Everness.settings.biomes.everness_bamboo_forest_under.enabled then
@ -218,6 +219,11 @@ then
dofile(path .. '/mod_support_x_obsidianmese.lua') dofile(path .. '/mod_support_x_obsidianmese.lua')
end end
-- MineClone2
if minetest.get_modpath('mcl_core') and minetest.global_exists('mcl_core') then
dofile(path .. '/mod_support_mcl.lua')
end
Everness.set_loot_chest_items() Everness.set_loot_chest_items()
local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000 local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000

View File

@ -27,7 +27,7 @@
minetest.register_ore({ minetest.register_ore({
ore_type = 'scatter', ore_type = 'scatter',
ore = 'everness:stone_with_pyrite', ore = 'everness:stone_with_pyrite',
wherein = 'everness_mapgen_stone', wherein = 'default:stone',
clust_scarcity = 13 * 13 * 13, clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5, clust_num_ores = 5,
clust_size = 3, clust_size = 3,
@ -38,7 +38,7 @@ minetest.register_ore({
minetest.register_ore({ minetest.register_ore({
ore_type = 'scatter', ore_type = 'scatter',
ore = 'everness:stone_with_pyrite', ore = 'everness:stone_with_pyrite',
wherein = 'everness_mapgen_stone', wherein = 'default:stone',
clust_scarcity = 15 * 15 * 15, clust_scarcity = 15 * 15 * 15,
clust_num_ores = 3, clust_num_ores = 3,
clust_size = 2, clust_size = 2,
@ -49,7 +49,7 @@ minetest.register_ore({
minetest.register_ore({ minetest.register_ore({
ore_type = 'scatter', ore_type = 'scatter',
ore = 'everness:stone_with_pyrite', ore = 'everness:stone_with_pyrite',
wherein = 'everness_mapgen_stone', wherein = 'default:stone',
clust_scarcity = 13 * 13 * 13, clust_scarcity = 13 * 13 * 13,
clust_num_ores = 5, clust_num_ores = 5,
clust_size = 3, clust_size = 3,
@ -62,7 +62,7 @@ minetest.register_ore({
minetest.register_ore({ minetest.register_ore({
ore_type = 'scatter', ore_type = 'scatter',
ore = 'everness:quartz_ore', ore = 'everness:quartz_ore',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 10 * 10 * 10, clust_scarcity = 10 * 10 * 10,
clust_num_ores = 6, clust_num_ores = 6,
clust_size = 5, clust_size = 5,

View File

@ -19,13 +19,13 @@
-- Get the content IDs for the nodes used. -- Get the content IDs for the nodes used.
local c_air = minetest.get_content_id('air') local c_air = minetest.get_content_id('air')
local c_dirt_with_grass_1 = minetest.get_content_id('everness:dirt_with_grass_1') local c_dirt_with_grass_1 = minetest.get_content_id('everness:dirt_with_grass_1')
local c_dirt_with_rainforest_litter = minetest.get_content_id('everness_mapgen_dirt_with_rainforest_litter') local c_dirt_with_rainforest_litter = minetest.get_content_id('default:dirt_with_rainforest_litter')
local c_dirt_with_cursed_grass = minetest.get_content_id('everness:dirt_with_cursed_grass') local c_dirt_with_cursed_grass = minetest.get_content_id('everness:dirt_with_cursed_grass')
local c_dirt_with_crystal_grass = minetest.get_content_id('everness:dirt_with_crystal_grass') local c_dirt_with_crystal_grass = minetest.get_content_id('everness:dirt_with_crystal_grass')
local c_crystal_sand = minetest.get_content_id('everness:crystal_sand') local c_crystal_sand = minetest.get_content_id('everness:crystal_sand')
local c_dry_ocean_dirt = minetest.get_content_id('everness:dry_ocean_dirt') local c_dry_ocean_dirt = minetest.get_content_id('everness:dry_ocean_dirt')
local c_dirt_with_snow = minetest.get_content_id('everness_mapgen_dirt_with_snow') local c_dirt_with_snow = minetest.get_content_id('default:dirt_with_snow')
local c_dirt_with_coniferous_litter = minetest.get_content_id('everness_mapgen_dirt_with_coniferous_litter') local c_dirt_with_coniferous_litter = minetest.get_content_id('default:dirt_with_coniferous_litter')
local c_forsaken_desert_sand = minetest.get_content_id('everness:forsaken_desert_sand') local c_forsaken_desert_sand = minetest.get_content_id('everness:forsaken_desert_sand')
local c_forsaken_desert_chiseled_stone = minetest.get_content_id('everness:forsaken_desert_chiseled_stone') local c_forsaken_desert_chiseled_stone = minetest.get_content_id('everness:forsaken_desert_chiseled_stone')
local c_forsaken_desert_brick = minetest.get_content_id('everness:forsaken_desert_brick') local c_forsaken_desert_brick = minetest.get_content_id('everness:forsaken_desert_brick')
@ -190,7 +190,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
) )
minetest.log('action', '[Everness] Forsaken Desert Temple was placed at ' .. schem_pos:to_string()) minetest.log('action', '[Everness] Forsaken Desert Temple was placed at ' .. schem_pos:to_string())
elseif (biome_name == 'coniferous_forest' or biome_name == 'taiga') elseif (biome_name == 'coniferous_forest' or biome_name == 'taiga' or biome_name == 'MegaSpruceTaiga')
and rand:next(0, 100) < 100 and rand:next(0, 100) < 100
then then
local schem = minetest.get_modpath('everness') .. '/schematics/everness_giant_sequoia_tree.mts' local schem = minetest.get_modpath('everness') .. '/schematics/everness_giant_sequoia_tree.mts'
@ -214,9 +214,9 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
vector.new(s_pos.x - 6, s_pos.y - 1, s_pos.z - 6), vector.new(s_pos.x - 6, s_pos.y - 1, s_pos.z - 6),
vector.new(s_pos.x + 6, s_pos.y + 1, s_pos.z + 6), vector.new(s_pos.x + 6, s_pos.y + 1, s_pos.z + 6),
{ {
'everness_mapgen_dirt_with_snow', 'default:dirt_with_snow',
'everness_mapgen_dirt_with_coniferous_litter', 'default:dirt_with_coniferous_litter',
'everness_mapgen_snow' 'default:snow'
}) })
if #positions < 137 then if #positions < 137 then
@ -312,15 +312,15 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
'everness:forsaken_desert_chiseled_stone', 'everness:forsaken_desert_chiseled_stone',
'everness:forsaken_desert_brick', 'everness:forsaken_desert_brick',
'everness:forsaken_desert_engraved_stone', 'everness:forsaken_desert_engraved_stone',
'everness_mapgen_stone', 'default:stone',
'everness_mapgen_sand', 'default:sand',
'everness_mapgen_gravel', 'default:gravel',
'everness_mapgen_stone_with_coal', 'default:stone_with_coal',
'everness_mapgen_stone_with_iron', 'default:stone_with_iron',
'everness_mapgen_stone_with_tin', 'default:stone_with_tin',
'everness_mapgen_stone_with_gold', 'default:stone_with_gold',
'everness_mapgen_stone_with_mese', 'default:stone_with_mese',
'everness_mapgen_stone_with_diamond', 'default:stone_with_diamond',
'everness:cave_barrel_cactus', 'everness:cave_barrel_cactus',
'everness:venus_trap', 'everness:venus_trap',
'everness:illumi_root', 'everness:illumi_root',

View File

@ -1,59 +0,0 @@
--[[
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', 'default:stone')
minetest.register_alias('everness_mapgen_water_source', 'default:water_source')
minetest.register_alias('everness_mapgen_lava_source', 'default:lava_source')
minetest.register_alias('everness_mapgen_sand', 'default:sand')
minetest.register_alias('everness_mapgen_stair_bamboo_wood', 'stairs:stair_bamboo_wood')
minetest.register_alias('everness_mapgen_dry_dirt_with_dry_grass', 'default:dry_dirt_with_dry_grass')
minetest.register_alias('everness_mapgen_dry_dirt', 'default:dry_dirt')
minetest.register_alias('everness_mapgen_cobble', 'default:cobble')
minetest.register_alias('everness_mapgen_mossycobble', 'default:mossycobble')
minetest.register_alias('everness_mapgen_stair_cobble', 'stairs:stair_cobble')
minetest.register_alias('everness_mapgen_stair_coral_deep_ocean_sandstone_block', 'stairs:stair_coral_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_coral_sandstone', 'stairs:stair_coral_sandstone')
minetest.register_alias('everness_mapgen_stair_coral_desert_cobble', 'stairs:stair_coral_desert_cobble')
minetest.register_alias('everness_mapgen_stair_coral_desert_stone_block', 'stairs:stair_coral_desert_stone_block')
minetest.register_alias('everness_mapgen_stair_crystal_forest_deep_ocean_sandstone_block', 'stairs:stair_crystal_forest_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_cursed_lands_deep_ocean_sandstone_block', 'stairs:stair_cursed_lands_deep_ocean_sandstone_block')
minetest.register_alias('everness_mapgen_stair_cursed_sandstone_brick', 'stairs:stair_cursed_sandstone_brick')
minetest.register_alias('everness_mapgen_stair_cursed_brick', 'stairs:stair_cursed_brick')
minetest.register_alias('everness_mapgen_stair_forsaken_desert_brick', 'stairs:stair_forsaken_desert_brick')
minetest.register_alias('everness_mapgen_stair_forsaken_tundra_cobble', 'stairs:stair_forsaken_tundra_cobble')
minetest.register_alias('everness_mapgen_stair_ice', 'stairs:stair_ice')
minetest.register_alias('everness_mapgen_dirt_with_rainforest_litter', 'default:dirt_with_rainforest_litter')
minetest.register_alias('everness_mapgen_dirt_with_snow', 'default:dirt_with_snow')
minetest.register_alias('everness_mapgen_dirt_with_grass', 'default:dirt_with_grass')
minetest.register_alias('everness_mapgen_dirt_with_coniferous_litter', 'default:dirt_with_coniferous_litter')
minetest.register_alias('everness_mapgen_snow', 'default:snow')
minetest.register_alias('everness_mapgen_gravel', 'default:gravel')
minetest.register_alias('everness_mapgen_clay', 'default:clay')
minetest.register_alias('everness_mapgen_grass_1', 'default:grass_1')
minetest.register_alias('everness_mapgen_grass_2', 'default:grass_2')
minetest.register_alias('everness_mapgen_grass_3', 'default:grass_3')
minetest.register_alias('everness_mapgen_grass_4', 'default:grass_4')
minetest.register_alias('everness_mapgen_grass_5', 'default:grass_5')
minetest.register_alias('everness_mapgen_flowers_rose', 'flowers:rose')
minetest.register_alias('everness_mapgen_flowers_tulip', 'flowers:tulip')
minetest.register_alias('everness_mapgen_flowers_dandelion_yellow', 'flowers:dandelion_yellow')
minetest.register_alias('everness_mapgen_flowers_chrysanthemum_green', 'flowers:chrysanthemum_green')
minetest.register_alias('everness_mapgen_flowers_geranium', 'flowers:geranium')
minetest.register_alias('everness_mapgen_flowers_viola', 'flowers:viola')
minetest.register_alias('everness_mapgen_flowers_dandelion_white', 'flowers:dandelion_white')
minetest.register_alias('everness_mapgen_flowers_tulip_black', 'flowers:tulip_black')

View File

@ -31,11 +31,11 @@ minetest.register_biome({
depth_top = 1, depth_top = 1,
node_filler = 'everness:dirt_1', node_filler = 'everness:dirt_1',
depth_filler = 1, depth_filler = 1,
node_riverbed = 'everness_mapgen_sand', node_riverbed = 'default:sand',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:bamboo_wood', node_dungeon = 'everness:bamboo_wood',
node_dungeon_alt = 'everness:bamboo_mosaic_wood', node_dungeon_alt = 'everness:bamboo_mosaic_wood',
node_dungeon_stair = 'everness_mapgen_stair_bamboo_wood', node_dungeon_stair = 'stairs:stair_bamboo_wood',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 80, heat_point = 80,
@ -82,6 +82,22 @@ local jungle_log_schem
if minetest.get_modpath('default') then if minetest.get_modpath('default') then
jungle_tree_schem = minetest.get_modpath('default') .. '/schematics/jungle_tree.mts' jungle_tree_schem = minetest.get_modpath('default') .. '/schematics/jungle_tree.mts'
jungle_log_schem = minetest.get_modpath('default') .. '/schematics/jungle_log.mts' jungle_log_schem = minetest.get_modpath('default') .. '/schematics/jungle_log.mts'
elseif minetest.get_modpath('mcl_core') then
jungle_tree_schem = minetest.get_modpath('mcl_core') .. '/schematics/mcl_core_jungle_tree.mts'
jungle_log_schem = {
size = { x = 3, y = 3, z = 1 },
data = {
{ name = 'air', prob = 0 },
{ name = 'air', prob = 0 },
{ name = 'air', prob = 0 },
{ name = 'mcl_core:jungletree', param2 = 12 },
{ name = 'mcl_core:jungletree', param2 = 12 },
{ name = 'mcl_core:jungletree', param2 = 12, prob = 127 },
{ name = 'air', prob = 0 },
{ name = 'mcl_mushrooms:mushroom_brown', prob = 50 },
{ name = 'air', prob = 0 },
},
}
end end
if jungle_tree_schem then if jungle_tree_schem then
@ -150,7 +166,7 @@ local function register_grass_decoration(offset, scale, length)
biomes = { 'everness_bamboo_forest' }, biomes = { 'everness_bamboo_forest' },
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
decoration = 'everness_mapgen_grass_' .. length, decoration = 'default:grass_' .. length,
}) })
end end
@ -171,7 +187,7 @@ local function register_flower(seed, flower_name)
biomes = { 'everness_bamboo_forest' }, biomes = { 'everness_bamboo_forest' },
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
decoration = flower_name, decoration = 'flowers:' .. flower_name,
}) })
end end
@ -232,14 +248,14 @@ register_grass_decoration(0.03, 0.03, 1)
-- Flowers -- Flowers
register_flower(436, 'everness_mapgen_flowers_rose') register_flower(436, 'rose')
register_flower(19822, 'everness_mapgen_flowers_tulip') register_flower(19822, 'tulip')
register_flower(1220999, 'everness_mapgen_flowers_dandelion_yellow') register_flower(1220999, 'dandelion_yellow')
register_flower(800081, 'everness_mapgen_flowers_chrysanthemum_green') register_flower(800081, 'chrysanthemum_green')
register_flower(36662, 'everness_mapgen_flowers_geranium') register_flower(36662, 'geranium')
register_flower(1133, 'everness_mapgen_flowers_viola') register_flower(1133, 'viola')
register_flower(73133, 'everness_mapgen_flowers_dandelion_white') register_flower(73133, 'dandelion_white')
register_flower(42, 'everness_mapgen_flowers_tulip_black') register_flower(42, 'tulip_black')
-- --
-- On Generated -- On Generated

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_bamboo_forest_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_bamboo_forest_under', name = 'everness_bamboo_forest_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness:bamboo_wood', node_dungeon = 'everness:bamboo_wood',
node_dungeon_alt = 'everness:bamboo_mosaic_wood', node_dungeon_alt = 'everness:bamboo_mosaic_wood',
node_dungeon_stair = 'everness_mapgen_stair_bamboo_wood', node_dungeon_stair = 'stairs:stair_bamboo_wood',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 80, heat_point = 80,
@ -44,7 +44,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:bamboo_forest_under_floors', name = 'everness:bamboo_forest_under_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 10, fill_ratio = 10,
biomes = { 'everness_bamboo_forest_under' }, biomes = { 'everness_bamboo_forest_under' },
@ -54,14 +54,14 @@ minetest.register_decoration({
flags = 'all_floors,force_placement', flags = 'all_floors,force_placement',
decoration = { decoration = {
'everness:moss_block', 'everness:moss_block',
'everness_mapgen_clay' 'default:clay'
}, },
}) })
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:bamboo_forest_under_ceiling', name = 'everness:bamboo_forest_under_ceiling',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_bamboo_forest_under' }, biomes = { 'everness_bamboo_forest_under' },
@ -156,7 +156,7 @@ minetest.register_decoration({
deco_type = 'simple', deco_type = 'simple',
place_on = { place_on = {
'everness:moss_block', 'everness:moss_block',
'everness_mapgen_clay' 'default:clay'
}, },
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {

View File

@ -27,15 +27,15 @@ local y_min = Everness.settings.biomes.everness_baobab_savanna.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_baobab_savanna', name = 'everness_baobab_savanna',
node_top = 'everness_mapgen_dry_dirt_with_dry_grass', node_top = 'default:dry_dirt_with_dry_grass',
depth_top = 1, depth_top = 1,
node_filler = 'everness_mapgen_dry_dirt', node_filler = 'default:dry_dirt',
depth_filler = 1, depth_filler = 1,
node_riverbed = 'everness_mapgen_sand', node_riverbed = 'default:sand',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 80, heat_point = 80,
@ -54,7 +54,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:baobab_savanna_dry_dirt_with_dry_grass', name = 'everness:baobab_savanna_dry_dirt_with_dry_grass',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_dry_dirt_with_dry_grass' }, place_on = { 'default:dry_dirt_with_dry_grass' },
sidelen = 4, sidelen = 4,
noise_params = { noise_params = {
offset = -1.5, offset = -1.5,
@ -67,7 +67,7 @@ minetest.register_decoration({
biomes = { 'everness_baobab_savanna' }, biomes = { 'everness_baobab_savanna' },
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
decoration = 'everness_mapgen_dry_dirt', decoration = 'default:dry_dirt',
place_offset_y = -1, place_offset_y = -1,
flags = 'force_placement', flags = 'force_placement',
}) })
@ -75,8 +75,8 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:baobab_savanna_baobab_tree_1', name = 'everness:baobab_savanna_baobab_tree_1',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness_mapgen_dry_dirt_with_dry_grass', 'everness_mapgen_dry_dirt' }, place_on = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
spawn_by = { 'everness_mapgen_dry_dirt_with_dry_grass', 'everness_mapgen_dry_dirt' }, spawn_by = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -98,8 +98,8 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:baobab_savanna_baobab_tree_2', name = 'everness:baobab_savanna_baobab_tree_2',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness_mapgen_dry_dirt_with_dry_grass', 'everness_mapgen_dry_dirt' }, place_on = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
spawn_by = { 'everness_mapgen_dry_dirt_with_dry_grass', 'everness_mapgen_dry_dirt' }, spawn_by = { 'default:dry_dirt_with_dry_grass', 'default:dry_dirt' },
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -122,13 +122,28 @@ local acacia_log_schem
if minetest.get_modpath('default') then if minetest.get_modpath('default') then
acacia_log_schem = minetest.get_modpath('default') .. '/schematics/acacia_log.mts' acacia_log_schem = minetest.get_modpath('default') .. '/schematics/acacia_log.mts'
elseif minetest.get_modpath('mcl_core') then
acacia_log_schem = {
size = { x = 3, y = 3, z = 1 },
data = {
{ name = 'air', prob = 0 },
{ name = 'air', prob = 0 },
{ name = 'air', prob = 0 },
{ name = 'mcl_core:acaciatree', param2 = 12 },
{ name = 'mcl_core:acaciatree', param2 = 12 },
{ name = 'mcl_core:acaciatree', param2 = 12, prob = 127 },
{ name = 'air', prob = 0 },
{ name = 'mcl_mushrooms:mushroom_brown', prob = 50 },
{ name = 'air', prob = 0 },
},
}
end end
if acacia_log_schem then if acacia_log_schem then
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:baobab_savanna_acacia_log', name = 'everness:baobab_savanna_acacia_log',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness_mapgen_dry_dirt_with_dry_grass' }, place_on = { 'default:dry_dirt_with_dry_grass' },
place_offset_y = 1, place_offset_y = 1,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -145,7 +160,7 @@ if acacia_log_schem then
schematic = acacia_log_schem, schematic = acacia_log_schem,
flags = 'place_center_x', flags = 'place_center_x',
rotation = 'random', rotation = 'random',
spawn_by = 'everness_mapgen_dry_dirt_with_dry_grass', spawn_by = 'default:dry_dirt_with_dry_grass',
num_spawn_by = 8, num_spawn_by = 8,
}) })
end end

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:coral_desert_stone_block', node_dungeon = 'everness:coral_desert_stone_block',
node_dungeon_alt = 'everness:coral_desert_stone_brick', node_dungeon_alt = 'everness:coral_desert_stone_brick',
node_dungeon_stair = 'everness_mapgen_stair_coral_desert_stone_block', node_dungeon_stair = 'stairs:stair_coral_desert_stone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 60, heat_point = 60,
@ -54,7 +54,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:coral_desert_stone', ore = 'everness:coral_desert_stone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:coral_forest_deep_ocean_sand', node_riverbed = 'everness:coral_forest_deep_ocean_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:coral_deep_ocean_sandstone_block', node_dungeon = 'everness:coral_deep_ocean_sandstone_block',
node_dungeon_alt = 'everness:coral_deep_ocean_sandstone_brick', node_dungeon_alt = 'everness:coral_deep_ocean_sandstone_brick',
node_dungeon_stair = 'everness_mapgen_stair_coral_deep_ocean_sandstone_block', node_dungeon_stair = 'stairs:stair_coral_deep_ocean_sandstone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 60, heat_point = 60,
@ -51,7 +51,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:coral_desert_stone', ore = 'everness:coral_desert_stone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,
@ -78,7 +78,7 @@ minetest.register_decoration({
name = 'everness:coral_forest_deep_ocean_coral_reef_pink', name = 'everness:coral_forest_deep_ocean_coral_reef_pink',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -100,7 +100,7 @@ minetest.register_decoration({
name = 'everness:coral_forest_deep_ocean_coral_reef_cyan', name = 'everness:coral_forest_deep_ocean_coral_reef_cyan',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -122,7 +122,7 @@ minetest.register_decoration({
name = 'everness:coral_forest_deep_ocean_coral_reef_green', name = 'everness:coral_forest_deep_ocean_coral_reef_green',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -144,7 +144,7 @@ minetest.register_decoration({
name = 'everness:coral_forest_deep_ocean_coral_reef_red', name = 'everness:coral_forest_deep_ocean_coral_reef_red',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
@ -166,7 +166,7 @@ minetest.register_decoration({
name = 'everness:everness_coral_forest_deep_ocean_pink', name = 'everness:everness_coral_forest_deep_ocean_pink',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -181,7 +181,7 @@ minetest.register_decoration({
name = 'everness:everness_coral_forest_deep_ocean_cyan', name = 'everness:everness_coral_forest_deep_ocean_cyan',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -196,7 +196,7 @@ minetest.register_decoration({
name = 'everness:everness_coral_forest_deep_ocean_green', name = 'everness:everness_coral_forest_deep_ocean_green',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -211,7 +211,7 @@ minetest.register_decoration({
name = 'everness:everness_coral_forest_deep_ocean_red', name = 'everness:everness_coral_forest_deep_ocean_red',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:coral_forest_deep_ocean_sand' }, place_on = { 'everness:coral_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -234,7 +234,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:coral_deep_ocean_mud' }, decoration = { 'everness:coral_deep_ocean_mud' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -257,7 +257,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:coral_forest_deep_ocean_coral_plant_1' }, decoration = { 'everness:coral_forest_deep_ocean_coral_plant_1' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -280,7 +280,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:coral_forest_deep_ocean_coral_plant_2' }, decoration = { 'everness:coral_forest_deep_ocean_coral_plant_2' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -303,7 +303,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:coral_forest_deep_ocean_coral_plant_3' }, decoration = { 'everness:coral_forest_deep_ocean_coral_plant_3' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -311,7 +311,7 @@ minetest.register_decoration({
-- On Generated -- On Generated
-- --
local c_water_source = minetest.get_content_id('everness_mapgen_water_source') local c_water_source = minetest.get_content_id('default:water_source')
local c_coral_forest_deep_ocean_sand = minetest.get_content_id('everness:coral_forest_deep_ocean_sand') local c_coral_forest_deep_ocean_sand = minetest.get_content_id('everness:coral_forest_deep_ocean_sand')
-- Localize data buffer table outside the loop, to be re-used for all -- Localize data buffer table outside the loop, to be re-used for all
@ -380,7 +380,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
local water_source_positions = minetest.find_nodes_in_area( local water_source_positions = minetest.find_nodes_in_area(
vector.new(s_pos.x - 5, s_pos.y, s_pos.z - 6), vector.new(s_pos.x - 5, s_pos.y, s_pos.z - 6),
vector.new(s_pos.x + 5, s_pos.y + 17, s_pos.z + 6), vector.new(s_pos.x + 5, s_pos.y + 17, s_pos.z + 6),
{ 'everness_mapgen_water_source' } { 'default:water_source' }
) )
if #water_source_positions > (house_volume - house_volume / 3) then if #water_source_positions > (house_volume - house_volume / 3) then

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:coral_sandstone', node_dungeon = 'everness:coral_sandstone',
node_dungeon_alt = 'everness:coral_sandstone_brick', node_dungeon_alt = 'everness:coral_sandstone_brick',
node_dungeon_stair = 'everness_mapgen_stair_coral_sandstone', node_dungeon_stair = 'stairs:stair_coral_sandstone',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
@ -55,7 +55,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:coral_desert_stone', ore = 'everness:coral_desert_stone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:coral_white_sand', node_riverbed = 'everness:coral_white_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:coral_desert_cobble', node_dungeon = 'everness:coral_desert_cobble',
node_dungeon_alt = 'everness:coral_desert_mossy_cobble', node_dungeon_alt = 'everness:coral_desert_mossy_cobble',
node_dungeon_stair = 'everness_mapgen_stair_coral_desert_cobble', node_dungeon_stair = 'stairs:stair_coral_desert_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 60, heat_point = 60,
@ -51,7 +51,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:coral_desert_stone', ore = 'everness:coral_desert_stone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_coral_forest_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_coral_forest_under', name = 'everness_coral_forest_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness:coral_desert_cobble', node_dungeon = 'everness:coral_desert_cobble',
node_dungeon_alt = 'everness:coral_desert_mossy_cobble', node_dungeon_alt = 'everness:coral_desert_mossy_cobble',
node_dungeon_stair = 'everness_mapgen_stair_coral_desert_cobble', node_dungeon_stair = 'stairs:stair_coral_desert_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 60, heat_point = 60,
@ -49,7 +49,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:coral_desert_stone', ore = 'everness:coral_desert_stone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,
@ -75,7 +75,7 @@ minetest.register_ore({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:coral_forest_under_desert_stone_with_moss_floors', name = 'everness:coral_forest_under_desert_stone_with_moss_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
place_offset_y = -1, place_offset_y = -1,
sidelen = 16, sidelen = 16,
fill_ratio = 10, fill_ratio = 10,
@ -91,7 +91,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:coral_forest_under_mold_stone_ceilings', name = 'everness:coral_forest_under_mold_stone_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_coral_forest_under' }, biomes = { 'everness_coral_forest_under' },

View File

@ -33,9 +33,9 @@ minetest.register_biome({
depth_filler = 1, depth_filler = 1,
node_riverbed = 'everness:crystal_dirt', node_riverbed = 'everness:crystal_dirt',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 35, heat_point = 35,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:crystal_forest_deep_ocean_sand', node_riverbed = 'everness:crystal_forest_deep_ocean_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:crystal_forest_deep_ocean_sandstone_block', node_dungeon = 'everness:crystal_forest_deep_ocean_sandstone_block',
node_dungeon_alt = 'everness:crystal_forest_deep_ocean_sandstone_brick', node_dungeon_alt = 'everness:crystal_forest_deep_ocean_sandstone_brick',
node_dungeon_stair = 'everness_mapgen_stair_crystal_forest_deep_ocean_sandstone_block', node_dungeon_stair = 'stairs:stair_crystal_forest_deep_ocean_sandstone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 35, heat_point = 35,
@ -51,7 +51,7 @@ minetest.register_decoration({
name = 'everness:crystal_forest_deep_ocean_coral_1', name = 'everness:crystal_forest_deep_ocean_coral_1',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:crystal_forest_deep_ocean_sand' }, place_on = { 'everness:crystal_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.003, fill_ratio = 0.003,
@ -66,7 +66,7 @@ minetest.register_decoration({
name = 'everness:crystal_forest_deep_ocean_coral_2', name = 'everness:crystal_forest_deep_ocean_coral_2',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:crystal_forest_deep_ocean_sand' }, place_on = { 'everness:crystal_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.003, fill_ratio = 0.003,
@ -81,7 +81,7 @@ minetest.register_decoration({
name = 'everness:crystal_forest_deep_ocean_coral_3', name = 'everness:crystal_forest_deep_ocean_coral_3',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:crystal_forest_deep_ocean_sand' }, place_on = { 'everness:crystal_forest_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.003, fill_ratio = 0.003,
@ -104,7 +104,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:crystal_forest_deep_ocean_sand_with_crack' }, decoration = { 'everness:crystal_forest_deep_ocean_sand_with_crack' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -127,7 +127,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_1' }, decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_1' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -150,7 +150,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_2' }, decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_2' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -173,7 +173,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_3' }, decoration = { 'everness:crystal_forest_deep_ocean_coral_plant_3' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -181,7 +181,7 @@ minetest.register_decoration({
-- On Generated -- On Generated
-- --
local c_water_source = minetest.get_content_id('everness_mapgen_water_source') local c_water_source = minetest.get_content_id('default:water_source')
local c_crystal_forest_deep_ocean_sand = minetest.get_content_id('everness:crystal_forest_deep_ocean_sand') local c_crystal_forest_deep_ocean_sand = minetest.get_content_id('everness:crystal_forest_deep_ocean_sand')
-- Localize data buffer table outside the loop, to be re-used for all -- Localize data buffer table outside the loop, to be re-used for all
@ -249,7 +249,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
local water_source_positions = minetest.find_nodes_in_area( local water_source_positions = minetest.find_nodes_in_area(
vector.new(s_pos.x - (ruins_size.x / 2), s_pos.y, s_pos.z - (ruins_size.z / 2)), vector.new(s_pos.x - (ruins_size.x / 2), s_pos.y, s_pos.z - (ruins_size.z / 2)),
vector.new(s_pos.x + (ruins_size.x / 2), s_pos.y + ruins_size.y, s_pos.z + (ruins_size.z / 2)), vector.new(s_pos.x + (ruins_size.x / 2), s_pos.y + ruins_size.y, s_pos.z + (ruins_size.z / 2)),
{ 'everness_mapgen_water_source' } { 'default:water_source' }
) )
if #water_source_positions > (ruins_volume - ruins_volume / 3) then if #water_source_positions > (ruins_volume - ruins_volume / 3) then

View File

@ -33,9 +33,9 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:crystal_sand', node_riverbed = 'everness:crystal_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:crystal_sand', node_riverbed = 'everness:crystal_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 35, heat_point = 35,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:crystal_sand', node_riverbed = 'everness:crystal_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 35, heat_point = 35,

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_crystal_forest_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_crystal_forest_under', name = 'everness_crystal_forest_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 35, heat_point = 35,
@ -44,7 +44,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:crystal_forest_under_floors', name = 'everness:crystal_forest_under_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
place_offset_y = -1, place_offset_y = -1,
fill_ratio = 10, fill_ratio = 10,
@ -61,7 +61,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:crystal_forest_under_ceilings', name = 'everness:crystal_forest_under_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_crystal_forest_under' }, biomes = { 'everness_crystal_forest_under' },
@ -204,7 +204,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:crystal_forest_under_crystal_cyan_ceiling', name = 'everness:crystal_forest_under_crystal_cyan_ceiling',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0, offset = 0,

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:cursed_brick', node_dungeon = 'everness:cursed_brick',
node_dungeon_alt = 'everness:cursed_brick_with_growth', node_dungeon_alt = 'everness:cursed_brick_with_growth',
node_dungeon_stair = 'everness_mapgen_stair_cursed_brick', node_dungeon_stair = 'stairs:stair_cursed_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:cursed_lands_deep_ocean_sand', node_riverbed = 'everness:cursed_lands_deep_ocean_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:cursed_lands_deep_ocean_sandstone_block', node_dungeon = 'everness:cursed_lands_deep_ocean_sandstone_block',
node_dungeon_alt = 'everness:cursed_lands_deep_ocean_sandstone_brick', node_dungeon_alt = 'everness:cursed_lands_deep_ocean_sandstone_brick',
node_dungeon_stair = 'everness_mapgen_stair_cursed_lands_deep_ocean_sandstone_block', node_dungeon_stair = 'stairs:stair_cursed_lands_deep_ocean_sandstone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,
@ -51,7 +51,7 @@ minetest.register_decoration({
name = 'everness:forsaken_lands_deep_ocean_coral_alcyonacea', name = 'everness:forsaken_lands_deep_ocean_coral_alcyonacea',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:cursed_lands_deep_ocean_sand' }, place_on = { 'everness:cursed_lands_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -66,7 +66,7 @@ minetest.register_decoration({
name = 'everness:forsaken_lands_deep_ocean_coral_ostracod', name = 'everness:forsaken_lands_deep_ocean_coral_ostracod',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:cursed_lands_deep_ocean_sand' }, place_on = { 'everness:cursed_lands_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -81,7 +81,7 @@ minetest.register_decoration({
name = 'everness:forsaken_lands_deep_ocean_coral_octocurse', name = 'everness:forsaken_lands_deep_ocean_coral_octocurse',
deco_type = 'schematic', deco_type = 'schematic',
place_on = { 'everness:cursed_lands_deep_ocean_sand' }, place_on = { 'everness:cursed_lands_deep_ocean_sand' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
sidelen = 16, sidelen = 16,
fill_ratio = 0.002, fill_ratio = 0.002,
@ -104,7 +104,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:cursed_lands_deep_ocean_sand_with_crack' }, decoration = { 'everness:cursed_lands_deep_ocean_sand_with_crack' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -127,7 +127,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_anemone' }, decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_anemone' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -150,7 +150,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_darkilluma' }, decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_darkilluma' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -173,7 +173,7 @@ minetest.register_decoration({
y_min = y_min, y_min = y_min,
flags = 'force_placement', flags = 'force_placement',
decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_demon' }, decoration = { 'everness:cursed_lands_deep_ocean_coral_plant_demon' },
spawn_by = 'everness_mapgen_water_source', spawn_by = 'default:water_source',
num_spawn_by = 8, num_spawn_by = 8,
}) })
@ -181,7 +181,7 @@ minetest.register_decoration({
-- On Generated -- On Generated
-- --
local c_water_source = minetest.get_content_id('everness_mapgen_water_source') local c_water_source = minetest.get_content_id('default:water_source')
local c_cursed_lands_deep_ocean_sand = minetest.get_content_id('everness:cursed_lands_deep_ocean_sand') local c_cursed_lands_deep_ocean_sand = minetest.get_content_id('everness:cursed_lands_deep_ocean_sand')
-- Localize data buffer table outside the loop, to be re-used for all -- Localize data buffer table outside the loop, to be re-used for all
@ -250,7 +250,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
local water_source_positions = minetest.find_nodes_in_area( local water_source_positions = minetest.find_nodes_in_area(
vector.new(s_pos.x - 5, s_pos.y, s_pos.z - 5), vector.new(s_pos.x - 5, s_pos.y, s_pos.z - 5),
vector.new(s_pos.x + 5, s_pos.y + 11, s_pos.z + 5), vector.new(s_pos.x + 5, s_pos.y + 11, s_pos.z + 5),
{ 'everness_mapgen_water_source' } { 'default:water_source' }
) )
if #water_source_positions > skull_volume / 3 then if #water_source_positions > skull_volume / 3 then

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:cursed_sandstone_brick', node_dungeon = 'everness:cursed_sandstone_brick',
node_dungeon_alt = 'everness:cursed_sandstone_block', node_dungeon_alt = 'everness:cursed_sandstone_block',
node_dungeon_stair = 'everness_mapgen_stair_cursed_sandstone_brick', node_dungeon_stair = 'stairs:stair_cursed_sandstone_brick',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,

View File

@ -33,10 +33,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:cursed_stone', node_riverbed = 'everness:cursed_stone',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:cursed_lands_deep_ocean_sandstone_block', node_dungeon = 'everness:cursed_lands_deep_ocean_sandstone_block',
node_dungeon_alt = 'everness:cursed_lands_deep_ocean_sandstone_brick', node_dungeon_alt = 'everness:cursed_lands_deep_ocean_sandstone_brick',
node_dungeon_stair = 'everness_mapgen_stair_cursed_lands_deep_ocean_sandstone_block', node_dungeon_stair = 'stairs:stair_cursed_lands_deep_ocean_sandstone_block',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:cursed_sandstone_brick', node_dungeon = 'everness:cursed_sandstone_brick',
node_dungeon_alt = 'everness:cursed_sandstone_block', node_dungeon_alt = 'everness:cursed_sandstone_block',
node_dungeon_stair = 'everness_mapgen_stair_cursed_sandstone_brick', node_dungeon_stair = 'stairs:stair_cursed_sandstone_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_cursed_lands_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_cursed_lands_under', name = 'everness_cursed_lands_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness:cursed_brick', node_dungeon = 'everness:cursed_brick',
node_dungeon_alt = 'everness:cursed_brick_with_growth', node_dungeon_alt = 'everness:cursed_brick_with_growth',
node_dungeon_stair = 'everness_mapgen_stair_cursed_brick', node_dungeon_stair = 'stairs:stair_cursed_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 45, heat_point = 45,
@ -44,7 +44,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:cursed_lands_under_soul_sandstone_floors', name = 'everness:cursed_lands_under_soul_sandstone_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
place_offset_y = -1, place_offset_y = -1,
sidelen = 16, sidelen = 16,
fill_ratio = 10, fill_ratio = 10,
@ -60,7 +60,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:cursed_lands_under_mold_stone_ceilings', name = 'everness:cursed_lands_under_mold_stone_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_cursed_lands_under' }, biomes = { 'everness_cursed_lands_under' },

View File

@ -36,7 +36,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:forsaken_desert_brick', node_dungeon = 'everness:forsaken_desert_brick',
node_dungeon_alt = 'everness:forsaken_desert_brick_red', node_dungeon_alt = 'everness:forsaken_desert_brick_red',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_desert_brick', node_dungeon_stair = 'stairs:stair_forsaken_desert_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 100, heat_point = 100,

View File

@ -39,7 +39,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:forsaken_desert_brick', node_dungeon = 'everness:forsaken_desert_brick',
node_dungeon_alt = 'everness:forsaken_desert_brick_red', node_dungeon_alt = 'everness:forsaken_desert_brick_red',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_desert_brick', node_dungeon_stair = 'stairs:stair_forsaken_desert_brick',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 100, heat_point = 100,

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_forsaken_desert_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_forsaken_desert_under', name = 'everness_forsaken_desert_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness_mapgen_cobble', node_dungeon = 'default:cobble',
node_dungeon_alt = 'everness_mapgen_mossycobble', node_dungeon_alt = 'default:mossycobble',
node_dungeon_stair = 'everness_mapgen_stair_cobblestair_cobble', node_dungeon_stair = 'stairs:stair_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 100, heat_point = 100,
@ -44,7 +44,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:forsaken_desert_under_floors', name = 'everness:forsaken_desert_under_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
place_offset_y = -1, place_offset_y = -1,
fill_ratio = 10, fill_ratio = 10,

View File

@ -36,7 +36,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:forsaken_tundra_cobble', node_dungeon = 'everness:forsaken_tundra_cobble',
node_dungeon_alt = 'everness:forsaken_tundra_brick', node_dungeon_alt = 'everness:forsaken_tundra_brick',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_tundra_cobble', node_dungeon_stair = 'stairs:stair_forsaken_tundra_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 10, heat_point = 10,
@ -53,7 +53,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:sulfur_stone', ore = 'everness:sulfur_stone',
wherein = { 'everness_mapgen_stone', 'everness:forsaken_tundra_stone' }, wherein = { 'default:stone', 'everness:forsaken_tundra_stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -35,7 +35,7 @@ minetest.register_biome({
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:forsaken_tundra_cobble', node_dungeon = 'everness:forsaken_tundra_cobble',
node_dungeon_alt = 'everness:forsaken_tundra_brick', node_dungeon_alt = 'everness:forsaken_tundra_brick',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_tundra_cobble', node_dungeon_stair = 'stairs:stair_forsaken_tundra_cobble',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
@ -53,7 +53,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:sulfur_stone', ore = 'everness:sulfur_stone',
wherein = { 'everness_mapgen_stone', 'everness:forsaken_tundra_stone' }, wherein = { 'default:stone', 'everness:forsaken_tundra_stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -34,10 +34,10 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_riverbed = 'everness:forsaken_tundra_beach_sand', node_riverbed = 'everness:forsaken_tundra_beach_sand',
depth_riverbed = 2, depth_riverbed = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:forsaken_tundra_cobble', node_dungeon = 'everness:forsaken_tundra_cobble',
node_dungeon_alt = 'everness:forsaken_tundra_brick', node_dungeon_alt = 'everness:forsaken_tundra_brick',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_tundra_cobble', node_dungeon_stair = 'stairs:stair_forsaken_tundra_cobble',
vertical_blend = 1, vertical_blend = 1,
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
@ -55,7 +55,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:sulfur_stone', ore = 'everness:sulfur_stone',
wherein = { 'everness_mapgen_stone', 'everness:forsaken_tundra_stone' }, wherein = { 'default:stone', 'everness:forsaken_tundra_stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_forsaken_tundra_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_forsaken_tundra_under', name = 'everness_forsaken_tundra_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness:forsaken_tundra_cobble', node_dungeon = 'everness:forsaken_tundra_cobble',
node_dungeon_alt = 'everness:forsaken_tundra_brick', node_dungeon_alt = 'everness:forsaken_tundra_brick',
node_dungeon_stair = 'everness_mapgen_stair_forsaken_tundra_cobble', node_dungeon_stair = 'stairs:stair_forsaken_tundra_cobble',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 10, heat_point = 10,
@ -47,7 +47,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:sulfur_stone', ore = 'everness:sulfur_stone',
wherein = { 'everness_mapgen_stone', 'everness:forsaken_tundra_stone' }, wherein = { 'default:stone', 'everness:forsaken_tundra_stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,
@ -71,7 +71,7 @@ minetest.register_ore({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:forsaken_tundra_under_mold_stone_floors', name = 'everness:forsaken_tundra_under_mold_stone_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
place_offset_y = -1, place_offset_y = -1,
fill_ratio = 10, fill_ratio = 10,
@ -87,7 +87,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:forsaken_tundra_under_mold_stone_ceilings', name = 'everness:forsaken_tundra_under_mold_stone_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_forsaken_tundra_under' }, biomes = { 'everness_forsaken_tundra_under' },
@ -102,7 +102,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:forsaken_tundra_under_obsidian_floors', name = 'everness:forsaken_tundra_under_obsidian_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone', 'everness:mold_stone_with_moss' }, place_on = { 'default:stone', 'everness:mold_stone_with_moss' },
sidelen = 16, sidelen = 16,
place_offset_y = -1, place_offset_y = -1,
fill_ratio = 0.02, fill_ratio = 0.02,
@ -120,7 +120,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:forsaken_tundra_under_obsidian_ceilings', name = 'everness:forsaken_tundra_under_obsidian_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone', 'everness:moss_block' }, place_on = { 'default:stone', 'everness:moss_block' },
sidelen = 16, sidelen = 16,
place_offset_y = -1, place_offset_y = -1,
fill_ratio = 0.02, fill_ratio = 0.02,

View File

@ -36,11 +36,11 @@ minetest.register_biome({
node_water_top = 'everness:frosted_ice', node_water_top = 'everness:frosted_ice',
depth_water_top = 2, depth_water_top = 2,
node_river_water = 'everness:frosted_ice', node_river_water = 'everness:frosted_ice',
node_riverbed = 'everness_mapgen_gravel', node_riverbed = 'default:gravel',
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = 'everness:icecobble', node_dungeon = 'everness:icecobble',
node_dungeon_alt = 'everness:snowcobble', node_dungeon_alt = 'everness:snowcobble',
node_dungeon_stair = 'everness_mapgen_stair_ice', node_dungeon_stair = 'stairs:stair_ice',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 0, heat_point = 0,

View File

@ -27,16 +27,16 @@ local y_min = Everness.settings.biomes.everness_frosted_icesheet_ocean.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_frosted_icesheet_ocean', name = 'everness_frosted_icesheet_ocean',
node_top = 'everness_mapgen_sand', node_top = 'default:sand',
depth_top = 1, depth_top = 1,
node_filler = 'everness_mapgen_sand', node_filler = 'default:sand',
depth_filler = 3, depth_filler = 3,
node_water_top = 'everness:frosted_ice', node_water_top = 'everness:frosted_ice',
depth_water_top = 2, depth_water_top = 2,
node_cave_liquid = 'everness_mapgen_water_source', node_cave_liquid = 'default:water_source',
node_dungeon = 'everness:icecobble', node_dungeon = 'everness:icecobble',
node_dungeon_alt = 'everness:snowcobble', node_dungeon_alt = 'everness:snowcobble',
node_dungeon_stair = 'everness_mapgen_stair_ice', node_dungeon_stair = 'stairs:stair_ice',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 0, heat_point = 0,
@ -52,7 +52,7 @@ minetest.register_biome({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:frosted_icesheet_ocean_corals', name = 'everness:frosted_icesheet_ocean_corals',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_sand' }, place_on = { 'default:sand' },
place_offset_y = -1, place_offset_y = -1,
sidelen = 4, sidelen = 4,
noise_params = { noise_params = {

View File

@ -27,10 +27,10 @@ local y_min = Everness.settings.biomes.everness_frosted_icesheet_under.y_min
minetest.register_biome({ minetest.register_biome({
name = 'everness_frosted_icesheet_under', name = 'everness_frosted_icesheet_under',
node_cave_liquid = { 'everness_mapgen_water_source', 'everness_mapgen_lava_source' }, node_cave_liquid = { 'default:water_source', 'default:lava_source' },
node_dungeon = 'everness:icecobble', node_dungeon = 'everness:icecobble',
node_dungeon_alt = 'everness:snowcobble', node_dungeon_alt = 'everness:snowcobble',
node_dungeon_stair = 'everness_mapgen_stair_ice', node_dungeon_stair = 'stairs:stair_ice',
y_max = y_max, y_max = y_max,
y_min = y_min, y_min = y_min,
heat_point = 0, heat_point = 0,
@ -47,7 +47,7 @@ minetest.register_biome({
minetest.register_ore({ minetest.register_ore({
ore_type = 'blob', ore_type = 'blob',
ore = 'everness:bone', ore = 'everness:bone',
wherein = { 'everness_mapgen_stone' }, wherein = { 'default:stone' },
clust_scarcity = 16 * 16 * 16, clust_scarcity = 16 * 16 * 16,
clust_size = 5, clust_size = 5,
y_max = y_max, y_max = y_max,
@ -71,7 +71,7 @@ minetest.register_ore({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:frosted_icesheet_under_floors', name = 'everness:frosted_icesheet_under_floors',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
place_offset_y = -1, place_offset_y = -1,
sidelen = 16, sidelen = 16,
fill_ratio = 10, fill_ratio = 10,
@ -91,7 +91,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
name = 'everness:frosted_icesheet_under_ceilings', name = 'everness:frosted_icesheet_under_ceilings',
deco_type = 'simple', deco_type = 'simple',
place_on = { 'everness_mapgen_stone' }, place_on = { 'default:stone' },
sidelen = 16, sidelen = 16,
fill_ratio = 0.4, fill_ratio = 0.4,
biomes = { 'everness_frosted_icesheet_under' }, biomes = { 'everness_frosted_icesheet_under' },

92
minetest.example.mcl.conf Normal file
View File

@ -0,0 +1,92 @@
everness_coral_forest = true
everness_coral_forest_y_max = 194
everness_coral_forest_y_min = 6
everness_coral_forest_dunes = true
everness_coral_forest_dunes_y_max = 5
everness_coral_forest_dunes_y_min = 4
everness_coral_forest_ocean = true
everness_coral_forest_ocean_y_max = 3
everness_coral_forest_ocean_y_min = -10
everness_coral_forest_deep_ocean = true
everness_coral_forest_deep_ocean_y_max = -11
everness_coral_forest_deep_ocean_y_min = -62
everness_coral_forest_under = true
everness_coral_forest_under_y_max = -28939
everness_coral_forest_under_y_min = -29067
everness_frosted_icesheet = true
everness_frosted_icesheet_y_max = 194
everness_frosted_icesheet_y_min = -8
everness_frosted_icesheet_ocean = true
everness_frosted_icesheet_ocean_y_max = -9
everness_frosted_icesheet_ocean_y_min = -62
everness_frosted_icesheet_under = true
everness_frosted_icesheet_under_y_max = -28939
everness_frosted_icesheet_under_y_min = -29067
everness_cursed_lands = true
everness_cursed_lands_y_max = 194
everness_cursed_lands_y_min = 6
everness_cursed_lands_dunes = true
everness_cursed_lands_dunes_y_max = 5
everness_cursed_lands_dunes_y_min = 1
everness_cursed_lands_swamp = true
everness_cursed_lands_swamp_y_max = 0
everness_cursed_lands_swamp_y_min = -1
everness_cursed_lands_ocean = true
everness_cursed_lands_ocean_y_max = -2
everness_cursed_lands_ocean_y_min = -10
everness_cursed_lands_deep_ocean = true
everness_cursed_lands_deep_ocean_y_max = -11
everness_cursed_lands_deep_ocean_y_min = -62
everness_cursed_lands_under = true
everness_cursed_lands_under_y_max = -28939
everness_cursed_lands_under_y_min = -29067
everness_crystal_forest = true
everness_crystal_forest_y_max = 194
everness_crystal_forest_y_min = 6
everness_crystal_forest_dunes = true
everness_crystal_forest_dunes_y_max = 5
everness_crystal_forest_dunes_y_min = 1
everness_crystal_forest_shore = true
everness_crystal_forest_shore_y_max = 0
everness_crystal_forest_shore_y_min = -1
everness_crystal_forest_ocean = true
everness_crystal_forest_ocean_y_max = 2
everness_crystal_forest_ocean_y_min = -10
everness_crystal_forest_deep_ocean = true
everness_crystal_forest_deep_ocean_y_max = -11
everness_crystal_forest_deep_ocean_y_min = -62
everness_crystal_forest_under = true
everness_crystal_forest_under_y_max = -28939
everness_crystal_forest_under_y_min = -29067
everness_bamboo_forest = true
everness_bamboo_forest_y_max = 194
everness_bamboo_forest_y_min = 1
everness_bamboo_forest_under = true
everness_bamboo_forest_under_y_max = -28939
everness_bamboo_forest_under_y_min = -29067
everness_forsaken_desert = true
everness_forsaken_desert_y_max = 194
everness_forsaken_desert_y_min = 4
everness_forsaken_desert_ocean = true
everness_forsaken_desert_ocean_y_max = 3
everness_forsaken_desert_ocean_y_min = -8
everness_forsaken_desert_under = true
everness_forsaken_desert_under_y_max = -28939
everness_forsaken_desert_under_y_min = -29067
everness_baobab_savanna = true
everness_baobab_savanna_y_max = 194
everness_baobab_savanna_y_min = 1
everness_forsaken_tundra = true
everness_forsaken_tundra_y_max = 194
everness_forsaken_tundra_y_min = 2
everness_forsaken_tundra_beach = true
everness_forsaken_tundra_beach_y_max = 1
everness_forsaken_tundra_beach_y_min = -3
everness_forsaken_tundra_ocean = true
everness_forsaken_tundra_ocean_y_max = -4
everness_forsaken_tundra_ocean_y_min = -15
everness_forsaken_tundra_under = true
everness_forsaken_tundra_under_y_max = -28939
everness_forsaken_tundra_under_y_min = -29067
everness_feature_sneak_pickup = false
everness_feature_skybox = true

View File

@ -1,6 +1,6 @@
name = everness name = everness
description = Never ending discovery in Everness mapgen. description = Never ending discovery in Everness mapgen.
depends = depends =
optional_depends = default, xpanes, doors, stairs, walls, x_obsidianmese, x_tumbleweed, x_farming, x_clay optional_depends = default, xpanes, doors, stairs, walls, x_obsidianmese, x_tumbleweed, x_farming, x_clay, mcl_core, mcl_fences, mcl_walls, mcl_stairs, mcl_util, mcl_autogroup, mcl_doors, mcl_mapgen_core, rp_default
supported_games = minetest_game supported_games = minetest_game
min_minetest_version = 5.4 min_minetest_version = 5.4

938
mod_support_mcl.lua Normal file
View File

@ -0,0 +1,938 @@
--[[
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
--]]
local S = minetest.get_translator(minetest.get_current_modname())
---
-- Fence / Gates
---
-- Dry Wood
mcl_fences.register_fence_and_fence_gate(
'fence_dry_wood',
S('Dry Wood Fence'),
S('Dry Wood Fence Gate'),
'everness_fence_dry_wood.png',
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
2,
15,
{ 'group:fence_wood' },
Everness.node_sound_wood_defaults()
)
-- Bamboo Wood
mcl_fences.register_fence_and_fence_gate(
'fence_bamboo_wood',
S('Bamboo Wood Fence'),
S('Bamboo Wood Fence Gate'),
'everness_fence_bamboo_wood.png',
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
2,
15,
{ 'group:fence_wood' },
Everness.node_sound_wood_defaults()
)
mcl_fences.register_fence_and_fence_gate(
'gate_crystal_wood',
S('Crystal Wood Fence'),
S('Crystal Wood Fence Gate'),
'everness_crystal_wood.png',
{ handy = 1, axey = 1, flammable = 2, fence_wood = 1, fire_encouragement = 5, fire_flammability = 20 },
2,
15,
{ 'group:fence_wood' },
Everness.node_sound_wood_defaults()
)
---
-- Walls
---
mcl_walls.register_wall(
'everness:coraldesertcobblewall',
S('Coral Cobblestone Wall'),
'everness:coral_desert_cobble',
{ 'everness_coral_desert_cobble.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:coraldesertmossycobblewall',
S('Coral Mossy Cobblestone Wall'),
'everness:coral_desert_mossy_cobble',
{ 'everness_coral_desert_mossy_cobble.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:cursedbrickwall',
S('Cursed Brick Wall'),
'everness:cursed_brick',
{ 'everness_cursed_brick.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:cursedbrickwithgrowthwall',
S('Cursed Brick with Growth Wall'),
'everness:cursed_brick_with_growth',
{ 'everness_cursed_brick_with_growth.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:forsakentundracobblewall',
S('Forsaken Tundra Cobblestone Wall'),
'everness:forsaken_tundra_cobble',
{ 'everness_forsaken_tundra_cobblestone.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:forsakentundrastonewall',
S('Forsaken Tundra Stone Wall'),
'everness:forsaken_tundra_stone',
{ 'everness_forsaken_tundra_stone.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:forsakentundrabrickwall',
S('Forsaken Tundra Brick Wall'),
'everness:forsaken_tundra_brick',
{ 'everness_forsaken_tundra_brick.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:magmacobblewall',
S('Magma Cobblestone Wall'),
'everness:magmacobble',
{
{
name = 'everness_magmacobble_animated.png',
animation = {
type = 'vertical_frames',
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
},
},
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:volcanicrockwall',
S('Volcanic Rock Wall'),
'everness:volcanic_rock',
{ 'everness_volcanic_rock.png' },
nil,
nil,
Everness.node_sound_stone_defaults()
)
mcl_walls.register_wall(
'everness:volcanicrockwithmagmawall',
S('Volcanic Rock with Magma Wall'),
'everness:volcanic_rock_with_magma',
{
{
name = 'everness_volcanic_rock_with_magma_animated.png',
animation = {
type = 'vertical_frames',
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
},
},
nil,
nil,
Everness.node_sound_stone_defaults()
)
---
-- Stairs and Slabs
---
mcl_stairs.register_stair_and_slab(
'coral_desert_stone',
'everness:coral_desert_stone',
{ pickaxey = 3 },
{ 'everness_coral_desert_stone.png' },
S('Coral Desert Stone Stair'),
S('Coral Desert Stone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Desert Stone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_desert_cobble',
'everness:coral_desert_cobble',
{ pickaxey = 3 },
{ 'everness_coral_desert_cobble.png' },
S('Coral Desert Cobblestone Stair'),
S('Coral Desert Cobblestone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Desert Cobblestone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_desert_mossy_cobble',
'everness:coral_desert_mossy_cobble',
{ pickaxey = 3 },
{ 'everness_coral_desert_mossy_cobble.png' },
S('Coral Mossy Cobblestone Stair'),
S('Coral Mossy Cobblestone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Mossy Cobblestone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'cursed_brick',
'everness:cursed_brick',
{ pickaxey = 2 },
{ 'everness_cursed_brick.png' },
S('Cursed Brick Stair'),
S('Cursed Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Cursed Brick Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'cursed_brick_with_growth',
'everness:cursed_brick_with_growth',
{ pickaxey = 2 },
{ 'everness_cursed_brick_with_growth.png' },
S('Cursed Brick with Growth Stair'),
S('Cursed Brick with Growth Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Cursed Brick with Growth Slab'),
nil
)
-- Quartz
mcl_stairs.register_stair_and_slab(
'quartz_block',
'everness:quartz_block',
{ pickaxey = 2 },
{
'everness_quartz_block_top.png',
'everness_quartz_block_bottom.png',
'everness_quartz_block_side.png',
},
S('Quartz Block Stair'),
S('Quartz Block Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Quartz Block Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'quartz_chiseled',
'everness:quartz_chiseled',
{ pickaxey = 2 },
{
'everness_quartz_block_chiseled_top.png',
'everness_quartz_block_chiseled_top.png',
'everness_quartz_block_chiseled.png',
},
S('Quartz Chiseled Stair'),
S('Quartz Chiseled Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Quartz Chiseled Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'quartz_pillar',
'everness:quartz_pillar',
{ pickaxey = 2 },
{
'everness_quartz_block_lines_top.png',
'everness_quartz_block_lines_top.png',
'everness_quartz_block_lines.png',
},
S('Quartz Pillar Stair'),
S('Quartz Pillar Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Quartz Pillar Slab'),
nil
)
-- Dry Wood
mcl_stairs.register_stair_and_slab(
'dry_wood',
'everness:dry_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_dry_wood.png' },
S('Dry Wood Stair'),
S('Dry Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Dry Wood Slab'),
nil
)
-- Bamboo Wood
mcl_stairs.register_stair_and_slab(
'bamboo_wood',
'everness:bamboo_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_dry_bamboo_block_side.png' },
S('Bamboo Wood Stair'),
S('Bamboo Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Bamboo Wood Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'bamboo_mosaic_wood',
'everness:bamboo_mosaic_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_bamboo_mosaic.png' },
S('Bamboo Mosaic Wood Stair'),
S('Bamboo Mosaic Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Bamboo Mosaic Wood Slab'),
nil
)
-- Forsaken stone
mcl_stairs.register_stair_and_slab(
'forsaken_desert_brick',
'everness:forsaken_desert_brick',
{ pickaxey = 2, stone = 1 },
{ 'everness_forsaken_desert_brick.png' },
S('Forsaken Desert Brick Stair'),
S('Forsaken Desert Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Desert Brick Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'forsaken_desert_brick_red',
'everness:forsaken_desert_brick_red',
{ pickaxey = 2, stone = 1 },
{ 'everness_forsaken_desert_brick_red.png' },
S('Forsaken Desert Brick Red Stair'),
S('Forsaken Desert Brick Red Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Desert Brick Red Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'forsaken_desert_chiseled_stone',
'everness:forsaken_desert_chiseled_stone',
{ pickaxey = 2, stone = 1 },
{ 'everness_forsaken_desert_chiseled_stone_side.png' },
S('Forsaken Desert Chiseled Stone Stair'),
S('Forsaken Desert Chiseled Stone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Desert Chiseled Stone Slab'),
nil
)
-- Baobab Wood
mcl_stairs.register_stair_and_slab(
'baobab_wood',
'everness:baobab_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_baobab_wood.png' },
S('Baobab Wood Stair'),
S('Baobab Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Baobab Wood Slab'),
nil
)
-- Sequoia Wood
mcl_stairs.register_stair_and_slab(
'sequoia_wood',
'everness:sequoia_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_sequoia_wood.png' },
S('Sequoia Wood Stair'),
S('Sequoia Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Sequoia Wood Slab'),
nil
)
-- Forsaken Tundra
mcl_stairs.register_stair_and_slab(
'forsaken_tundra_cobble',
'everness:forsaken_tundra_cobble',
{ pickaxey = 3, stone = 2 },
{ 'everness_forsaken_tundra_cobblestone.png' },
S('Forsaken Tundra Cobblestone Stair'),
S('Forsaken Tundra Cobblestone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Tundra Cobblestone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'forsaken_tundra_stone',
'everness:forsaken_tundra_stone',
{ pickaxey = 3, stone = 1 },
{ 'everness_forsaken_tundra_stone.png' },
S('Forsaken Tundra Stone Stair'),
S('Forsaken Tundra Stone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Tundra Stone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'forsaken_tundra_brick',
'everness:forsaken_tundra_brick',
{ pickaxey = 2, stone = 1 },
{ 'everness_forsaken_tundra_brick.png' },
S('Forsaken Tundra Brick Stair'),
S('Forsaken Tundra Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Forsaken Tundra Brick Slab'),
nil
)
-- Willow Wood
mcl_stairs.register_stair_and_slab(
'willow_wood',
'everness:willow_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_willow_wood.png' },
S('Willow Wood Stair'),
S('Willow Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Willow Wood Slab'),
nil
)
-- Magma Cobble
mcl_stairs.register_stair_and_slab(
'magmacobble',
'everness:magmacobble',
{ pickaxey = 3, stone = 1 },
{
{
name = 'everness_magmacobble_animated.png',
animation = {
type = 'vertical_frames',
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
}
},
S('Magma Cobblestone Stair'),
S('Magma Cobblestone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Magma Cobblestone Slab'),
nil
)
-- Volcanic rock
mcl_stairs.register_stair_and_slab(
'volcanic_rock',
'everness:volcanic_rock',
{ pickaxey = 1, stone = 2 },
{ 'everness_volcanic_rock.png' },
S('Volcanic Rock Stair'),
S('Volcanic Rock Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Volcanic Rock Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'volcanic_rock_with_magma',
'everness:volcanic_rock_with_magma',
{ pickaxey = 1, stone = 2 },
{
{
name = 'everness_volcanic_rock_with_magma_animated.png',
animation = {
type = 'vertical_frames',
aspect_w = 16,
aspect_h = 16,
length = 3.0,
},
},
},
S('Volcanic Rock with Magma Stair'),
S('Volcanic Rock with Magma Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Volcanic Rock with Magma Slab'),
nil
)
-- Coral Forest Deep Ocean
mcl_stairs.register_stair_and_slab(
'coral_deep_ocean_sandstone_block',
'everness:coral_deep_ocean_sandstone_block',
{ pickaxey = 2 },
{ 'everness_deep_ocean_sandstone_block.png' },
S('Coral Depp Ocean Sandstone Block Stair'),
S('Coral Depp Ocean Sandstone Block Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Depp Ocean Sandstone Block Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_deep_ocean_sandstone_brick',
'everness:coral_deep_ocean_sandstone_brick',
{ pickaxey = 2 },
{ 'everness_deep_ocean_sandstone_brick.png' },
S('Coral Depp Ocean Sandstone Brick Stair'),
S('Coral Depp Ocean Sandstone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Depp Ocean Sandstone Brick Slab'),
nil
)
-- Coral White Sandstone
mcl_stairs.register_stair_and_slab(
'coral_white_sandstone',
'everness:coral_white_sandstone',
{ pickaxey = 2 },
{ 'everness_coral_white_sandstone.png' },
S('Coral White Sandstone Stair'),
S('Coral White Sandstone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral White Sandstone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_white_sandstone_pillar',
'everness:coral_white_sandstone_pillar',
{ pickaxey = 2 },
{
'everness_coral_white_sandstone.png',
'everness_coral_white_sandstone.png',
'everness_coral_white_sandstone_pillar.png',
},
S('Coral White Sandstone Pillar Stair'),
S('Coral White Sandstone Pillar Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral White Sandstone Pillar Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_white_sandstone_brick',
'everness:coral_white_sandstone_brick',
{ pickaxey = 2 },
{ 'everness_coral_white_sandstone_brick.png' },
S('Coral White Sandstone Brick Stair'),
S('Coral White Sandstone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral White Sandstone Brick Slab'),
nil
)
-- Coral Desert Stone
mcl_stairs.register_stair_and_slab(
'coral_desert_stone_block',
'everness:coral_desert_stone_block',
{ pickaxey = 2 },
{ 'everness_coral_desert_stone_block.png' },
S('Coral Desert Stone Block Stair'),
S('Coral Desert Stone Block Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Desert Stone Block Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_desert_stone_brick',
'everness:coral_desert_stone_brick',
{ pickaxey = 2 },
{ 'everness_coral_desert_stone_brick.png' },
S('Coral Desert Stone Brick Stair'),
S('Coral Desert Stone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Desert Stone Brick Slab'),
nil
)
-- Coral Sandstone
mcl_stairs.register_stair_and_slab(
'coral_sandstone',
'everness:coral_sandstone',
{ pickaxey = 2 },
{ 'everness_coral_sandstone.png' },
S('Coral Sandstone Stair'),
S('Coral Sandstone Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Sandstone Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_sandstone_brick',
'everness:coral_sandstone_brick',
{ pickaxey = 2 },
{ 'everness_coral_sandstone_brick.png' },
S('Coral Sandstone Brick Stair'),
S('Coral Sandstone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Sandstone Brick Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_sandstone_chiseled',
'everness:coral_sandstone_chiseled',
{ pickaxey = 2 },
{ 'everness_coral_sandstone_chiseled.png' },
S('Coral Sandstone Chiseled Stair'),
S('Coral Sandstone Chiseled Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Sandstone Chiseled Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'coral_sandstone_carved_1',
'everness:coral_sandstone_carved_1',
{ pickaxey = 2 },
{ 'everness_coral_sandstone_carved_1.png' },
S('Coral Sandstone Carved Stair'),
S('Coral Sandstone Carved Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Coral Sandstone Carved Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'cursed_lands_deep_ocean_sandstone_block',
'everness:cursed_lands_deep_ocean_sandstone_block',
{ pickaxey = 2 },
{ 'everness_cursed_lands_deep_ocean_sandblock.png' },
S('Cursed Lands Deep Ocean Sandstone Block Stair'),
S('Cursed Lands Deep Ocean Sandstone Block Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Cursed Lands Deep Ocean Sandstone Block Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'cursed_lands_deep_ocean_sandstone_brick',
'everness:cursed_lands_deep_ocean_sandstone_brick',
{ pickaxey = 2 },
{ 'everness_cursed_lands_deep_ocean_sand_brick.png' },
S('Cursed Lands Deep Ocean Sandstone Brick Stair'),
S('Cursed Lands Deep Ocean Sandstone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Cursed Lands Deep Ocean Sandstone Brick Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'crystal_forest_deep_ocean_sandstone_block',
'everness:crystal_forest_deep_ocean_sandstone_block',
{ pickaxey = 2 },
{ 'everness_crystal_forest_deep_ocean_sandstone_block.png' },
S('Crystal Forest Deep Ocean Sandstone Block Stair'),
S('Crystal Forest Deep Ocean Sandstone Block Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Crystal Forest Deep Ocean Sandstone Block Slab'),
nil
)
mcl_stairs.register_stair_and_slab(
'crystal_forest_deep_ocean_sandstone_brick',
'everness:crystal_forest_deep_ocean_sandstone_brick',
{ pickaxey = 2 },
{ 'everness_crystal_forest_deep_ocean_sandstone_brick.png' },
S('Crystal Forest Deep Ocean Sandstone Brick Stair'),
S('Crystal Forest Deep Ocean Sandstone Brick Slab'),
Everness.node_sound_stone_defaults(),
6,
2,
S('Double Crystal Forest Deep Ocean Sandstone Brick Slab'),
nil
)
-- Crystal Wood
mcl_stairs.register_stair_and_slab(
'crystal_wood',
'everness:crystal_wood',
{ choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 },
{ 'everness_crystal_wood.png' },
S('Crystal Wood Stair'),
S('Crystal Wood Slab'),
Everness.node_sound_wood_defaults(),
6,
2,
S('Double Crystal Wood Slab'),
nil
)
---
-- Doors
---
mcl_doors:register_door('everness:door_bamboo', {
description = S('Bamboo Door'),
inventory_image = 'everness_door_bamboo_item.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
tiles_bottom = { 'everness_mcl_doors_door_bamboo_lower.png', 'everness_mcl_doors_door_bamboo_side_upper.png' },
tiles_top = { 'everness_mcl_doors_door_bamboo_upper.png', 'everness_mcl_doors_door_bamboo_side_upper.png' },
sounds = Everness.node_sound_bamboo_defaults({
dug = { name = 'everness_bamboo_hit', gain = 1.25 }
}),
sound_open = 'everness_door_bamboo_open',
sound_close = 'everness_door_bamboo_open',
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:door_bamboo 3',
recipe = {
{ 'everness:bamboo_wood', 'everness:bamboo_wood' },
{ 'everness:bamboo_wood', 'everness:bamboo_wood' },
{ 'everness:bamboo_wood', 'everness:bamboo_wood' }
}
})
mcl_doors:register_trapdoor('everness:trapdoor_bamboo', {
description = S('Bamboo Trapdoor'),
tile_front = 'everness_door_trapdoor_bamboo.png',
tile_side = 'everness_mcl_doors_trapdoor_bamboo_side.png',
wield_image = 'everness_door_trapdoor_bamboo.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
sounds = Everness.node_sound_bamboo_defaults({
dug = { name = 'everness_bamboo_hit', gain = 1.25 }
}),
sound_open = 'everness_door_bamboo_open',
sound_close = 'everness_door_bamboo_open',
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:trapdoor_bamboo',
recipe = {
{ 'everness:bamboo_wood', 'everness:bamboo_wood' },
{ 'everness:bamboo_wood', 'everness:bamboo_wood' },
}
})
mcl_doors:register_door('everness:door_bone_pyrite', {
description = S('Bone Pyrit Door'),
inventory_image = 'everness_door_bone_pyrite_item.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
tiles_bottom = { 'everness_mcl_doors_door_bone_pyrite_lower.png', 'everness_mcl_doors_door_bone_pyrite_side_upper.png' },
tiles_top = { 'everness_mcl_doors_door_bone_pyrite_upper.png', 'everness_mcl_doors_door_bone_pyrite_side_upper.png' },
sounds = Everness.node_sound_wood_defaults(),
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:door_bone_pyrite 3',
recipe = {
{ 'everness:pyrite_ingot', 'everness:bone' },
{ 'everness:pyrite_ingot', 'everness:bone' },
{ 'everness:pyrite_ingot', 'everness:bone' }
}
})
mcl_doors:register_door('everness:door_willow', {
description = S('Willow Door'),
inventory_image = 'everness_door_willow_item.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
tiles_bottom = { 'everness_mcl_doors_door_willow_lower.png', 'everness_mcl_doors_door_willow_side_lower.png' },
tiles_top = { 'everness_mcl_doors_door_willow_upper.png', 'everness_mcl_doors_door_willow_side_upper.png' },
sounds = Everness.node_sound_wood_defaults(),
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:door_willow 3',
recipe = {
{ 'everness:willow_wood', 'everness:willow_wood' },
{ 'everness:willow_wood', 'everness:willow_wood' },
{ 'everness:willow_wood', 'everness:willow_wood' }
}
})
mcl_doors:register_door('everness:door_crystal_wood', {
description = S('Crystal Wood Door'),
inventory_image = 'everness_door_crystal_wood_item.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
tiles_bottom = { 'everness_mcl_doors_door_crystal_wood_lower.png', 'everness_mcl_doors_door_crystal_wood_side_lower.png' },
tiles_top = { 'everness_mcl_doors_door_crystal_wood_upper.png', 'everness_mcl_doors_door_crystal_wood_side_upper.png' },
sounds = Everness.node_sound_glass_defaults(),
sound_open = 'everness_door_glass_open',
sound_close = 'everness_door_glass_close',
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:door_crystal_wood 3',
recipe = {
{ 'everness:crystal_wood', 'everness:crystal_wood' },
{ 'everness:crystal_wood', 'everness:crystal_wood' },
{ 'everness:crystal_wood', 'everness:crystal_wood' }
}
})
mcl_doors:register_trapdoor('everness:trapdoor_crystal_wood', {
description = S('Crystal Wood Trapdoor'),
tile_front = 'everness_door_trapdoor_crystal_wood.png',
tile_side = 'everness_mcl_doors_trapdoor_crystal_wood_side.png',
wield_image = 'everness_door_trapdoor_crystal_wood.png',
groups = { handy = 1, axey = 1, material_wood = 1, flammable = -1 },
sounds = Everness.node_sound_glass_defaults(),
sound_open = 'everness_door_glass_open',
sound_close = 'everness_door_glass_close',
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
})
minetest.register_craft({
output = 'everness:trapdoor_crystal_wood',
recipe = {
{ 'everness:crystal_wood', 'everness:crystal_wood' },
{ 'everness:crystal_wood', 'everness:crystal_wood' },
}
})

185
mod_support_mcl_aliases.lua Normal file
View File

@ -0,0 +1,185 @@
--[[
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('default:water_source', 'mcl_core:water_source')
minetest.register_alias('default:dirt_with_rainforest_litter', 'mcl_core:dirt_with_grass')
minetest.register_alias('default:dirt_with_snow', 'mcl_core:dirt_with_grass_snow')
minetest.register_alias('default:dirt_with_coniferous_litter', 'mcl_core:podzol')
minetest.register_alias('default:dirt_with_grass', 'mcl_core:dirt_with_grass')
minetest.register_alias('default:stick', 'mcl_core:stick')
minetest.register_alias('default:paper', 'mcl_core:paper')
minetest.register_alias('default:book', 'mcl_books:book')
minetest.register_alias('default:skeleton_key', 'mcl_core:gold_nugget')
minetest.register_alias('default:flint', 'mcl_core:flint')
minetest.register_alias('default:obsidian_shard', 'mcl_core:prismarine_shard')
minetest.register_alias('default:clay_brick', 'mcl_core:brick')
minetest.register_alias('default:mese_crystal_fragment', 'mcl_amethyst:amethyst_shard')
-- Ingots
minetest.register_alias('default:gold_ingot', 'mcl_core:gold_ingot')
minetest.register_alias('default:bronze_ingot', 'mcl_copper:copper_ingot')
minetest.register_alias('default:tin_ingot', 'mcl_core:iron_ingot')
minetest.register_alias('default:copper_ingot', 'mcl_copper:copper_ingot')
minetest.register_alias('default:steel_ingot', 'mcl_core:iron_ingot')
minetest.register_alias('default:coal_lump', 'mcl_core:coal_lump')
-- Tools
minetest.register_alias('default:pick_stone', 'mcl_tools:pick_stone')
minetest.register_alias('default:pick_bronze', 'mcl_tools:pick_gold')
minetest.register_alias('default:pick_steel', 'mcl_tools:pick_iron')
minetest.register_alias('default:shovel_stone', 'mcl_tools:shovel_stone')
minetest.register_alias('default:shovel_bronze', 'mcl_tools:shovel_gold')
minetest.register_alias('default:shovel_steel', 'mcl_tools:shovel_iron')
minetest.register_alias('default:axe_stone', 'mcl_tools:axe_stone')
minetest.register_alias('default:axe_bronze', 'mcl_tools:axe_gold')
minetest.register_alias('default:axe_steel', 'mcl_tools:axe_iron')
minetest.register_alias('default:sword_stone', 'mcl_tools:sword_stone')
minetest.register_alias('default:sword_bronze', 'mcl_tools:sword_gold')
minetest.register_alias('default:sword_steel', 'mcl_tools:sword_iron')
-- Items / Nodes
minetest.register_alias('default:bookshelf', 'mcl_books:bookshelf')
minetest.register_alias('default:sign_wall_wood', 'mcl_signs:wall_sign')
minetest.register_alias('default:ladder_wood', 'mcl_core:ladder')
minetest.register_alias('default:ladder_steel', 'mcl_core:ladder')
minetest.register_alias('default:glass', 'mcl_core:glass')
minetest.register_alias('default:obsidian_glass', 'mcl_core:glass')
-- Trees
minetest.register_alias('default:tree', 'mcl_core:tree')
minetest.register_alias('default:jungletree', 'mcl_core:jungletree')
minetest.register_alias('default:pine_tree', 'mcl_core:sprucetree')
minetest.register_alias('default:cactus', 'mcl_core:cactus')
minetest.register_alias('default:large_cactus_seedling', 'mcl_core:cactus')
minetest.register_alias('default:papyrus', 'mcl_core:reeds')
minetest.register_alias('default:junglegrass', 'mcl_flowers:double_grass')
minetest.register_alias('default:blueberry_bush_sapling', 'mcl_flowers:rose_bush')
minetest.register_alias('default:sapling', 'mcl_core:sapling')
minetest.register_alias('default:junglesapling', 'mcl_core:junglesapling')
minetest.register_alias('default:pine_sapling', 'mcl_core:sprucesapling')
minetest.register_alias('default:acacia_sapling', 'mcl_core:acaciasapling')
minetest.register_alias('default:aspen_sapling', 'mcl_core:birchsapling')
minetest.register_alias('default:clay_lump', 'mcl_core:clay_lump')
minetest.register_alias('default:tin_lump', 'mcl_raw_ores:raw_gold')
minetest.register_alias('default:copper_lump', 'mcl_copper:raw_copper')
minetest.register_alias('default:iron_lump', 'mcl_raw_ores:raw_iron')
minetest.register_alias('default:coalblock', 'mcl_core:coalblock')
minetest.register_alias('default:steelblock', 'mcl_core:ironblock')
minetest.register_alias('default:copperblock', 'mcl_copper:block')
minetest.register_alias('default:tinblock', 'mcl_core:goldblock')
minetest.register_alias('default:bronzeblock', 'mcl_copper:block')
minetest.register_alias('default:mese', 'mesecons_torch:redstoneblock')
minetest.register_alias('default:meselamp', 'mesecons_lightstone:lightstone_off')
minetest.register_alias('default:obsidian', 'mcl_core:obsidian')
minetest.register_alias('default:mese_crystal', 'mcl_ocean:prismarine_crystals')
minetest.register_alias('default:diamond', 'mcl_core:diamond')
minetest.register_alias('default:pick_mese', 'mcl_tools:pick_diamond')
minetest.register_alias('default:shovel_mese', 'mcl_tools:shovel_diamond')
minetest.register_alias('default:axe_mese', 'mcl_tools:axe_diamond')
minetest.register_alias('default:sword_mese', 'mcl_tools:sword_diamond')
minetest.register_alias('default:snowblock', 'mcl_core:snowblock')
minetest.register_alias('default:ice', 'mcl_core:ice')
minetest.register_alias('default:torch', 'mcl_torches:torch')
minetest.register_alias('default:cobble', 'mcl_core:cobble')
minetest.register_alias('default:chest', 'mcl_chests:chest')
minetest.register_alias('default:snow', 'mcl_core:snow')
minetest.register_alias('default:stone', 'mcl_core:stone')
minetest.register_alias('default:sand', 'mcl_core:sand')
minetest.register_alias('default:gravel', 'mcl_core:gravel')
minetest.register_alias('default:stone_with_coal', 'mcl_core:stone_with_coal')
minetest.register_alias('default:stone_with_iron', 'mcl_core:stone_with_iron')
minetest.register_alias('default:stone_with_tin', 'mcl_core:stone_with_copper')
minetest.register_alias('default:stone_with_gold', 'mcl_core:stone_with_gold')
minetest.register_alias('default:stone_with_mese', 'mcl_core:stone_with_redstone')
minetest.register_alias('default:stone_with_diamond', 'mcl_core:stone_with_diamond')
minetest.register_alias('default:lava_source', 'mcl_core:lava_source')
minetest.register_alias('default:mossycobble', 'mcl_core:mossycobble')
minetest.register_alias('default:clay', 'mcl_colorblocks:hardened_clay')
minetest.register_alias('default:grass_1', 'mcl_flowers:tallgrass')
minetest.register_alias('default:grass_2', 'mcl_flowers:tallgrass')
minetest.register_alias('default:grass_3', 'mcl_flowers:tallgrass')
minetest.register_alias('default:grass_4', 'mcl_flowers:tallgrass')
minetest.register_alias('default:grass_5', 'mcl_flowers:tallgrass')
minetest.register_alias('default:dry_dirt_with_dry_grass', 'mcl_core:dirt_with_grass')
minetest.register_alias('default:dry_dirt', 'mcl_core:coarse_dirt')
minetest.register_alias('default:coral_skeleton', 'mcl_core:bone_block')
minetest.register_alias('default:lava_flowing', 'mcl_core:lava_flowing')
minetest.register_alias('everness:cursed_brick_with_growth_wall', 'everness:cursedbrickwithgrowthwall')
minetest.register_alias('stairs:slab_cursed_brick_with_growth', 'mcl_stairs:slab_cursed_brick_with_growth')
minetest.register_alias('default:fence_wood', 'mcl_fences:fence')
minetest.register_alias('default:torch_wall', 'mcl_torches:torch_wall')
minetest.register_alias('default:wood', 'mcl_core:wood')
minetest.register_alias('default:junglewood', 'mcl_core:junglewood')
minetest.register_alias('default:pine_wood', 'mcl_core:sprucewood')
minetest.register_alias('default:mese_post_light_pine_wood', 'mcl_torches:torch')
minetest.register_alias_force('default:acacia_tree', 'mcl_core:acaciatree')
minetest.register_alias('default:dry_grass_4', 'mcl_core:deadbush')
minetest.register_alias('default:dry_grass_2', 'mcl_core:deadbush')
minetest.register_alias('default:dry_shrub', 'mcl_core:deadbush')
minetest.register_alias('default:stonebrick', 'mcl_core:stonebrick')
minetest.register_alias('default:jungleleaves', 'mcl_core:jungleleaves')
minetest.register_alias('default:torch_ceiling', 'mcl_torches:torch_wall')
minetest.register_alias('default:goldblock', 'mcl_core:goldblock')
minetest.register_alias('stairs:stair_coral_white_sandstone', 'mcl_stairs:stair_coral_white_sandstone')
minetest.register_alias('stairs:slab_coral_white_sandstone', 'mcl_stairs:slab_coral_white_sandstone')
minetest.register_alias('stairs:stair_coral_deep_ocean_sandstone_block', 'mcl_stairs:stair_coral_deep_ocean_sandstone_block')
minetest.register_alias('stairs:slab_coral_deep_ocean_sandstone_block', 'mcl_stairs:slab_coral_deep_ocean_sandstone_block')
minetest.register_alias('stairs:slab_coral_deep_ocean_sandstone_brick', 'mcl_stairs:slab_coral_deep_ocean_sandstone_brick')
minetest.register_alias('stairs:slab_coral_sandstone_brick', 'mcl_stairs:slab_coral_sandstone_brick')
minetest.register_alias('stairs:stair_coral_deep_ocean_sandstone_brick', 'mcl_stairs:stair_coral_deep_ocean_sandstone_brick')
minetest.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_block')
minetest.register_alias('stairs:stair_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:stair_crystal_forest_deep_ocean_sandstone_brick')
minetest.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_block', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_block')
minetest.register_alias('stairs:slab_crystal_forest_deep_ocean_sandstone_brick', 'mcl_stairs:slab_crystal_forest_deep_ocean_sandstone_brick')
minetest.register_alias('stairs:stair_forsaken_desert_brick_red', 'mcl_stairs:stair_forsaken_desert_brick_red')
minetest.register_alias('stairs:stair_forsaken_desert_chiseled_stone', 'mcl_stairs:stair_forsaken_desert_chiseled_stone')
minetest.register_alias('stairs:slab_forsaken_desert_chiseled_stone', 'mcl_stairs:slab_forsaken_desert_chiseled_stone')
minetest.register_alias('stairs:stair_junglewood', 'mcl_stairs:stair_junglewood')
minetest.register_alias('stairs:slab_junglewood', 'mcl_stairs:slab_junglewood')
minetest.register_alias('stairs:slab_dry_wood', 'mcl_stairs:slab_dry_wood')
minetest.register_alias('stairs:stair_dry_wood', 'mcl_stairs:stair_dry_wood')
minetest.register_alias('stairs:stair_wood', 'mcl_stairs:stair_wood')
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_outer_stonebrick', 'mcl_stairs:stair_stonebrick_outer')
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_mossycobble', 'mcl_stairs:stair_mossycobble')
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_inner_quartz_chiseled', 'mcl_stairs:stair_quartz_chiseled_inner')
minetest.register_alias('stairs:slab_quartz_chiseled', 'mcl_stairs:slab_quartz_chiseled')
minetest.register_alias('stairs:stair_coral_desert_stone_block', 'mcl_stairs:stair_coral_desert_stone_block')
minetest.register_alias('everness:cursed_brick_wall', 'everness:cursedbrickwall')
minetest.register_alias('walls:cobble', 'mcl_walls:cobble')
minetest.register_alias('xpanes:trapdoor_steel_bar', 'mcl_doors:iron_trapdoor')
minetest.register_alias('doors:trapdoor_open', 'mcl_doors:trapdoor_open')
minetest.register_alias('doors:trapdoor', 'mcl_doors:trapdoor')
minetest.register_alias('doors:door_wood_a', 'mcl_doors:wooden_door')
minetest.register_alias('doors:hidden', 'air')
minetest.register_alias('everness:cobweb', 'mcl_core:cobweb')
minetest.register_alias('flowers:rose', 'mcl_flowers:wither_rose')
minetest.register_alias('flowers:tulip', 'mcl_flowers:tulip_orange')
minetest.register_alias('flowers:dandelion_yellow', 'mcl_flowers:dandelion')
minetest.register_alias('flowers:geranium', 'mcl_flowers:allium')
minetest.register_alias('flowers:viola', 'mcl_flowers:azure_bluet')
minetest.register_alias('flowers:tulip_black', 'mcl_flowers:tulip_white')
minetest.register_alias('flowers:dandelion_white', 'mcl_flowers:tulip_pink')
minetest.register_alias('flowers:chrysanthemum_green', 'mcl_flowers:tulip_white')

4165
nodes.lua

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 254 B

View File

@ -32,6 +32,13 @@ minetest.register_tool('everness:vine_shears', {
wool = { times = { [3] = 0.2 }, uses = 30, maxlevel = 3 } wool = { times = { [3] = 0.2 }, uses = 30, maxlevel = 3 }
} }
}, },
-- MCL
_mcl_toollike_wield = true,
_mcl_diggroups = {
shearsy = { speed = 1.5, level = 1, uses = 238 },
shearsy_wool = { speed = 5, level = 1, uses = 238 },
shearsy_cobweb = { speed = 15, level = 1, uses = 238 }
},
}) })
minetest.register_tool('everness:pick_illuminating', { minetest.register_tool('everness:pick_illuminating', {
@ -124,6 +131,11 @@ minetest.register_tool('everness:pick_illuminating', {
return itemstack return itemstack
end, end,
-- MCL
_mcl_toollike_wield = true,
_mcl_diggroups = {
pickaxey = { speed = 8, level = 5, uses = 1562 }
},
}) })
minetest.register_tool('everness:shovel_silk', { minetest.register_tool('everness:shovel_silk', {
@ -144,6 +156,11 @@ minetest.register_tool('everness:shovel_silk', {
}, },
-- no `shovel` group so it cannot be enchanted -- no `shovel` group so it cannot be enchanted
-- groups = { shovel = 1 } -- groups = { shovel = 1 }
-- MCL
_mcl_toollike_wield = true,
_mcl_diggroups = {
shovely = { speed = 8, level = 5, uses = 1562 }
},
}) })
local old_handle_node_drops = minetest.handle_node_drops local old_handle_node_drops = minetest.handle_node_drops
@ -192,4 +209,6 @@ minetest.register_tool('everness:shell_of_underwater_breathing', {
on_secondary_use = function(itemstack, user, pointed_thing) on_secondary_use = function(itemstack, user, pointed_thing)
return Everness:use_shell_of_underwater_breathing(itemstack, user, pointed_thing) return Everness:use_shell_of_underwater_breathing(itemstack, user, pointed_thing)
end, end,
-- MCL
_mcl_toollike_wield = true,
}) })

1001
vines.lua

File diff suppressed because it is too large Load Diff