adjust pit plasma abm conditions

This commit is contained in:
FaceDeer 2022-08-13 17:53:53 -06:00
parent b4e9cfaa4c
commit 8f2a800e60
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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"})

View File

@ -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",