From 321a502ef0922ff083193e2bb6aeba3128dd7bed Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Wed, 1 Mar 2023 12:21:37 -0500 Subject: [PATCH] Add x_obsidianmese paths support --- .luacheckrc | 1 + .luarc.json | 3 +- README.md | 1 + init.lua | 7 + mod.conf | 2 +- mod_support_x_obsidianmese.lua | 508 +++++++++++++++++++++++++++++++++ mod_support_x_tumbleweed.lua | 5 + 7 files changed, 525 insertions(+), 2 deletions(-) create mode 100644 mod_support_x_obsidianmese.lua diff --git a/.luacheckrc b/.luacheckrc index 3c6946c..bffcc44 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -74,4 +74,5 @@ read_globals = { "doors", "xpanes", "XTumbleweed", + "x_obsidianmese", } diff --git a/.luarc.json b/.luarc.json index cc9eb6e..ab6ba88 100644 --- a/.luarc.json +++ b/.luarc.json @@ -108,7 +108,8 @@ "Everness", "walls", "stairs", - "XTumbleweed" + "XTumbleweed", + "x_obsidianmese" ] } } diff --git a/README.md b/README.md index 83473d1..21ca09d 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ https://bitbucket.org/minetest_gamers/everness/issues - doors - stairs - walls +- x_obsidianmese (for paths) ## License diff --git a/init.lua b/init.lua index 07adde3..72be55f 100644 --- a/init.lua +++ b/init.lua @@ -186,6 +186,13 @@ if minetest.get_modpath('x_tumbleweed') and minetest.global_exists('XTumbleweed' dofile(path .. '/mod_support_x_tumbleweed.lua') end +if minetest.get_modpath('x_obsidianmese') + and minetest.global_exists('x_obsidianmese') + and x_obsidianmese.register_path_node +then + dofile(path .. '/mod_support_x_obsidianmese.lua') +end + local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000 print('[Mod] everness loaded.. [' .. mod_end_time .. 's]') diff --git a/mod.conf b/mod.conf index 2103d96..750d28e 100644 --- a/mod.conf +++ b/mod.conf @@ -1,6 +1,6 @@ name = everness description = Never ending discovery in Everness mapgen. depends = default -optional_depends = xpanes, doors, stairs, walls +optional_depends = xpanes, doors, stairs, walls, x_obsidianmese supported_games = minetest_game min_minetest_version = 5.4 diff --git a/mod_support_x_obsidianmese.lua b/mod_support_x_obsidianmese.lua new file mode 100644 index 0000000..4e99bc3 --- /dev/null +++ b/mod_support_x_obsidianmese.lua @@ -0,0 +1,508 @@ +--[[ + Everness. Never ending discovery in Everness mapgen. + Copyright (C) 2023 SaKeL + + 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 mod_start_time = minetest.get_us_time() + +-- Bamboo Forest + +local path_nodes_bamboo_forest = { + ['everness:dirt_with_grass_1'] = { + name = 'dirt_with_grass_1', + mod_origin = 'everness', + descritption = 'Dirt with Grass Path', + drop = 'everness:dirt_1', + tiles = { + 'x_obsidianmese_path_dirt_base.png^(everness_grass_top_1.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png', + 'x_obsidianmese_dirt_path_side.png' + } + }, + ['everness:dirt_with_grass_2'] = { + name = 'dirt_with_grass_2', + mod_origin = 'everness', + descritption = 'Dirt with Grass Path', + drop = 'everness:dirt_1', + tiles = { + 'x_obsidianmese_path_dirt_base.png^(everness_grass_top_2.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png', + 'x_obsidianmese_dirt_path_side.png' + } + }, + ['everness:dirt_with_grass_extras_1'] = { + name = 'dirt_with_grass_extras_1', + mod_origin = 'everness', + descritption = 'Dirt with Grass Path', + drop = 'everness:dirt_1', + tiles = { + 'x_obsidianmese_path_dirt_base.png^(everness_grass_top_1.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png', + 'x_obsidianmese_dirt_path_side.png' + } + }, + ['everness:dirt_with_grass_extras_2'] = { + name = 'dirt_with_grass_extras_2', + mod_origin = 'everness', + descritption = 'Dirt with Grass Path', + drop = 'everness:dirt_1', + tiles = { + 'x_obsidianmese_path_dirt_base.png^(everness_grass_top_2.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png', + 'x_obsidianmese_dirt_path_side.png' + } + }, + ['everness:dirt_1'] = { + name = 'dirt_1', + mod_origin = 'everness', + descritption = 'Dirt Path', + drop = 'everness:dirt_1', + tiles = { + 'x_obsidianmese_path_dirt_base.png^(everness_dirt_1.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png', + 'x_obsidianmese_dirt_path_side.png' + } + }, +} + +-- Crystal Forest + +local path_nodes_crystal_forest = { + ['everness:dirt_with_crystal_grass'] = { + name = 'dirt_with_crystal_grass', + mod_origin = 'everness', + descritption = 'Dirt with Crystal Grass Path', + drop = 'everness:crystal_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#755069:127^(everness_crystal_grass.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#755069:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#755069:127' + } + }, + ['everness:crystal_dirt'] = { + name = 'crystal_dirt', + mod_origin = 'everness', + descritption = 'Crystal Dirt Path', + drop = 'everness:crystal_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#755069:127^(everness_crystal_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#755069:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#755069:127' + } + }, +} + +local path_nodes_crystal_forest_dunes = { + ['everness:crystal_sand'] = { + name = 'crystal_sand', + mod_origin = 'everness', + descritption = 'Crystal Sand Path', + drop = 'everness:crystal_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170^(everness_crystal_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#845D88:170' + } + }, +} + +local path_nodes_crystal_forest_shore = { + ['everness:crystal_sand'] = { + name = 'crystal_sand', + mod_origin = 'everness', + descritption = 'Crystal Sand Path', + drop = 'everness:crystal_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170^(everness_crystal_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#845D88:170' + } + }, +} + +local path_nodes_crystal_forest_ocean = { + ['everness:crystal_sand'] = { + name = 'crystal_sand', + mod_origin = 'everness', + descritption = 'Crystal Sand Path', + drop = 'everness:crystal_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170^(everness_crystal_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#845D88:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#845D88:170' + } + }, +} + +local path_nodes_crystal_forest_under = { + ['everness:crystal_cave_dirt_with_moss'] = { + name = 'crystal_cave_dirt_with_moss', + mod_origin = 'everness', + descritption = 'Crystal Cave Dirt with Moss Path', + drop = 'everness:crystal_cave_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#EEDDB2:127^(everness_crystal_cave_dirt_top.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#EEDDB2:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#EEDDB2:127' + } + }, + ['everness:crystal_cave_dirt'] = { + name = 'crystal_cave_dirt', + mod_origin = 'everness', + descritption = 'Crystal Cave Dirt', + drop = 'everness:crystal_cave_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#EEDDB2:127^(everness_crystal_cave_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#EEDDB2:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#EEDDB2:127' + } + }, +} + +-- Forsaken Tundra + +local path_nodes_forsaken_tundra = { + ['everness:forsaken_tundra_dirt_with_grass'] = { + name = 'forsaken_tundra_dirt_with_grass', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Dirt with Grass Path', + drop = 'everness:forsaken_tundra_dirt_with_grass', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#151611:170^(everness_forsaken_tundra_grass.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#151611:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#151611:170' + } + }, + ['everness:forsaken_tundra_dirt'] = { + name = 'forsaken_tundra_dirt', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Dirt Path', + drop = 'everness:forsaken_tundra_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#151611:170^(everness_forsaken_tundra_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#151611:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#151611:170' + } + }, + ['everness:forsaken_tundra_beach_sand'] = { + name = 'forsaken_tundra_beach_sand', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Beach Sand Path', + drop = 'everness:forsaken_tundra_beach_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170^(everness_forsaken_tundra_beach_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#4C4341:170' + } + }, +} + +local path_nodes_forsaken_tundra_beach = { + ['everness:forsaken_tundra_beach_sand'] = { + name = 'forsaken_tundra_beach_sand', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Beach Sand Path', + drop = 'everness:forsaken_tundra_beach_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170^(everness_forsaken_tundra_beach_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#4C4341:170' + } + }, + ['everness:forsaken_tundra_beach_sand_with_shells'] = { + name = 'forsaken_tundra_beach_sand_with_shells', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Beach Sand with Shells', + drop = 'everness:forsaken_tundra_beach_sand_with_shells', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170^(everness_forsaken_tundra_beach_sand_with_shells.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#4C4341:170' + } + }, +} + +local path_nodes_forsaken_tundra_ocean = { + ['everness:forsaken_tundra_beach_sand'] = { + name = 'forsaken_tundra_beach_sand', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Beach Sand Path', + drop = 'everness:forsaken_tundra_beach_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170^(everness_forsaken_tundra_beach_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#4C4341:170' + } + }, + ['everness:forsaken_tundra_beach_sand_with_shells'] = { + name = 'forsaken_tundra_beach_sand_with_shells', + mod_origin = 'everness', + descritption = 'Forsaken Tundra Beach Sand with Shells', + drop = 'everness:forsaken_tundra_beach_sand_with_shells', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170^(everness_forsaken_tundra_beach_sand_with_shells.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#4C4341:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#4C4341:170' + } + }, +} + +-- Forsaken Desert + +local path_nodes_forsaken_desert = { + ['everness:forsaken_desert_sand'] = { + name = 'forsaken_desert_sand', + mod_origin = 'everness', + descritption = 'Forsaken Desert Sand Path', + drop = 'everness:forsaken_desert_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#D1906A:170^(everness_forsaken_desert_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#D1906A:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#D1906A:170' + } + } +} + +local path_nodes_forsaken_desert_ocean = { + ['everness:dry_ocean_dirt'] = { + name = 'dry_ocean_dirt', + mod_origin = 'everness', + descritption = 'Dry Ocean Dirt Path', + drop = 'everness:dry_ocean_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#AB7D54:127^(everness_forsaken_desert_dry_ocean_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#AB7D54:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#AB7D54:127' + } + } +} + +local path_nodes_forsaken_desert_under = { + ['everness:forsaken_desert_sand'] = { + name = 'forsaken_desert_sand', + mod_origin = 'everness', + descritption = 'Forsaken Desert Sand Path', + drop = 'everness:forsaken_desert_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#D1906A:170^(everness_forsaken_desert_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#D1906A:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#D1906A:170' + } + } +} + +-- Cursed Lands + +local path_nodes_cursed_lands_and_dunes_ocean = { + ['everness:dirt_with_cursed_grass'] = { + name = 'dirt_with_cursed_grass', + mod_origin = 'everness', + descritption = 'Dirt with Cursed Grass Path', + drop = 'everness:cursed_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#696151:170^(everness_cursed_grass.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#696151:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#696151:170' + } + }, + ['everness:cursed_dirt'] = { + name = 'cursed_dirt', + mod_origin = 'everness', + descritption = 'Cursed Dirt Path', + drop = 'everness:cursed_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#696151:170^(everness_cursed_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#696151:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#696151:170' + } + }, + ['everness:cursed_sand'] = { + name = 'cursed_sand', + mod_origin = 'everness', + descritption = 'Cursed Sand Path', + drop = 'everness:cursed_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#856F58:170^(everness_cursed_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#856F58:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#856F58:170' + } + }, +} + +-- Coral Forest + +local path_nodes_coral_forest_and_dunes = { + ['everness:dirt_with_coral_grass'] = { + name = 'dirt_with_coral_grass', + mod_origin = 'everness', + descritption = 'Dirt with Coral Grass Path', + drop = 'everness:coral_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#AA683F:127^(everness_coral_grass.png^[mask:x_obsidianmese_path_overlay.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#AA683F:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#AA683F:127' + } + }, + ['everness:coral_dirt'] = { + name = 'coral_dirt', + mod_origin = 'everness', + descritption = 'Coral Dirt Path', + drop = 'everness:coral_dirt', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#AA683F:127^(everness_coral_dirt.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#AA683F:127', + 'x_obsidianmese_dirt_path_side.png^[colorize:#AA683F:127' + } + }, + ['everness:coral_sand'] = { + name = 'coral_sand', + mod_origin = 'everness', + descritption = 'Coral Sand Path', + drop = 'everness:coral_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#AB633D:170^(everness_coral_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#AB633D:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#AB633D:170' + } + }, + ['everness:coral_white_sand'] = { + name = 'coral_white_sand', + mod_origin = 'everness', + descritption = 'Coral White Sand Path', + drop = 'everness:coral_white_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#F9F4FB:170^(everness_coral_white_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#F9F4FB:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#F9F4FB:170' + } + }, +} + +local path_nodes_coral_forest_ocean = { + ['everness:coral_white_sand'] = { + name = 'coral_white_sand', + mod_origin = 'everness', + descritption = 'Coral White Sand Path', + drop = 'everness:coral_white_sand', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#F9F4FB:170^(everness_coral_white_sand.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#F9F4FB:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#F9F4FB:170' + } + }, +} + +-- Frosted Icesheet + +local path_nodes_frosted_icesheet = { + ['everness:frosted_snowblock'] = { + name = 'frosted_snowblock', + mod_origin = 'everness', + descritption = 'Frosted Snow Block Path', + drop = 'everness:frosted_snowblock', + tiles = { + 'x_obsidianmese_path_dirt_base.png^[colorize:#FCFCFC:170^(everness_frosted_snow.png^[mask:x_obsidianmese_path_overlay_2.png)', + 'x_obsidianmese_path_dirt_base.png^[colorize:#FCFCFC:170', + 'x_obsidianmese_dirt_path_side.png^[colorize:#FCFCFC:170' + } + }, +} + +-- Bamboo Forest + +if Everness.settings.biomes.everness_bamboo_forest.enabled then + x_obsidianmese:register_path_node(path_nodes_bamboo_forest) +end + +-- Crystal Forest + +if Everness.settings.biomes.everness_crystal_forest.enabled then + x_obsidianmese:register_path_node(path_nodes_crystal_forest) +end + +if Everness.settings.biomes.everness_crystal_forest_dunes.enabled then + x_obsidianmese:register_path_node(path_nodes_crystal_forest_dunes) +end + +if Everness.settings.biomes.everness_crystal_forest_shore.enabled then + x_obsidianmese:register_path_node(path_nodes_crystal_forest_shore) +end + +if Everness.settings.biomes.everness_crystal_forest_ocean.enabled then + x_obsidianmese:register_path_node(path_nodes_crystal_forest_ocean) +end + +if Everness.settings.biomes.everness_crystal_forest_under.enabled then + x_obsidianmese:register_path_node(path_nodes_crystal_forest_under) +end + +-- Forsaken Tundra + +if Everness.settings.biomes.everness_forsaken_tundra.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_tundra) +end + +if Everness.settings.biomes.everness_forsaken_tundra_beach.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_tundra_beach) +end + +if Everness.settings.biomes.everness_forsaken_tundra_ocean.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_tundra_ocean) +end + +-- Cursed Lands + +if Everness.settings.biomes.everness_cursed_lands.enabled + or Everness.settings.biomes.everness_cursed_lands_dunes.enabled + or Everness.settings.biomes.everness_cursed_lands_ocean.enabled +then + x_obsidianmese:register_path_node(path_nodes_cursed_lands_and_dunes_ocean) +end + +-- Coral Forest + +if Everness.settings.biomes.everness_coral_forest.enabled + or Everness.settings.biomes.everness_coral_forest_dunes.enabled +then + x_obsidianmese:register_path_node(path_nodes_coral_forest_and_dunes) +end + +if Everness.settings.biomes.everness_coral_forest_ocean.enabled then + x_obsidianmese:register_path_node(path_nodes_coral_forest_ocean) +end + +-- Forsaken Desert + +if Everness.settings.biomes.everness_forsaken_desert.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_desert) +end + +if Everness.settings.biomes.everness_forsaken_desert_ocean.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_desert_ocean) +end + +if Everness.settings.biomes.everness_forsaken_desert_under.enabled then + x_obsidianmese:register_path_node(path_nodes_forsaken_desert_under) +end + +-- Frosted Icesheet +if Everness.settings.biomes.everness_frosted_icesheet.enabled then + x_obsidianmese:register_path_node(path_nodes_frosted_icesheet) +end + +local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000 + +print('[Mod] everness: x_obsidianmese support loaded.. [' .. mod_end_time .. 's]') diff --git a/mod_support_x_tumbleweed.lua b/mod_support_x_tumbleweed.lua index 869f638..39bccc5 100644 --- a/mod_support_x_tumbleweed.lua +++ b/mod_support_x_tumbleweed.lua @@ -16,6 +16,8 @@ License along with this library; if not, write to juraj.vajda@gmail.com --]] +local mod_start_time = minetest.get_us_time() + local allowed_biomes = {} if Everness.settings.biomes.everness_forsaken_desert.enabled then @@ -38,3 +40,6 @@ if #allowed_biomes > 0 then XTumbleweed:add_allowed_biomes(allowed_biomes) end +local mod_end_time = (minetest.get_us_time() - mod_start_time) / 1000000 + +print('[Mod] everness: x_tumbleweed support loaded.. [' .. mod_end_time .. 's]')