From 8f2a800e60721172c93c5c1bf3d14bf66ff43a67 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sat, 13 Aug 2022 17:53:53 -0600 Subject: [PATCH] adjust pit plasma abm conditions --- df_dependencies/mapgen.lua | 6 +++++- df_dependencies/misc.lua | 2 +- df_underworld_items/crystals_amethyst.lua | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/df_dependencies/mapgen.lua b/df_dependencies/mapgen.lua index c0de9ae..68fe7a0 100644 --- a/df_dependencies/mapgen.lua +++ b/df_dependencies/mapgen.lua @@ -35,7 +35,7 @@ if minetest.get_modpath("mcl_init") then -- Mineclone 2 mcl_vars.mg_end_max = mcl_vars.mg_overworld_min - 2000 -- Important note. This doesn't change the values for the various ores and mobs and biomes and whatnot that have already been registered. - -- to keep things consistent, add dependencies to + -- TODO dofile(minetest.get_modpath(minetest.get_current_modname()).."/ores.lua") @@ -74,6 +74,10 @@ if minetest.get_modpath("mcl_mapgen") then -- Mineclone 5 if mcl_mapgen.on_settings_changed then mcl_mapgen.on_settings_changed() + else + minetest.log("error", "The installed version of the mcl_mapgen mod (part of Mineclone 5) " + .."does not have an mcl_mapgen.on_settings_changed method. This will likely result in " + .."altitudes below the original bedrock being inaccessible to players.") end end if minetest.get_modpath("mcl_worlds") then diff --git a/df_dependencies/misc.lua b/df_dependencies/misc.lua index 9d58444..8452fe7 100644 --- a/df_dependencies/misc.lua +++ b/df_dependencies/misc.lua @@ -33,7 +33,7 @@ end -- common nodes that can be found next to pit plasma, triggering matter degradation -- don't trigger on air, that's for sparkle generation -df_dependencies.abm_pit_plasma_neighbors = {"group:stone", "group:lava", "group:water"} +df_dependencies.abm_pit_plasma_neighbors = {"group:stone", "group:lava", "group:water", "group:material_stone"} df_dependencies.texture_cobble = select_required({default="default_cobble.png", mcl_core="default_cobble.png"}) df_dependencies.texture_coral_skeleton = select_required({default="default_coral_skeleton.png", mcl_ocean="mcl_ocean_dead_horn_coral_block.png"}) diff --git a/df_underworld_items/crystals_amethyst.lua b/df_underworld_items/crystals_amethyst.lua index 7788dcd..dd42fbc 100644 --- a/df_underworld_items/crystals_amethyst.lua +++ b/df_underworld_items/crystals_amethyst.lua @@ -6,7 +6,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", { _doc_items_usagehelp = df_underworld_items.doc.glow_amethyst_usage, tiles = {"dfcaverns_glow_amethyst.png"}, is_ground_content = false, - groups = {cracky=3, pit_plasma_resistant=1, pickaxey = 4, building_block = 1, material_stone=1}, + groups = {cracky=3, pit_plasma_resistant=1, pickaxey = 4, building_block = 1,}, -- deliberately not in material_stone group to keep pit plasma ABM efficient sounds = df_dependencies.sound_glass(), light_source = 6, paramtype = "light",