dfcaverns/df_underworld_items/dependencies.lua

27 lines
1.2 KiB
Lua
Raw Normal View History

df_underworld_items.abm_neighbors = {}
-- common nodes that can be found next to pit plasma, triggering matter degradation
-- don't trigger on air, that's for sparkle generation
df_underworld_items.abm_neighbors.pit_plasma = {"group:stone", "df_underworld_items:glow_amethyst", "group:lava", "group:water"}
2022-08-02 05:38:01 +02:00
df_underworld_items.sounds = {}
df_underworld_items.sounds.glass = df_dependencies.sound_glass
df_underworld_items.sounds.stone = df_dependencies.sound_stone
df_underworld_items.sounds.slade = df_dependencies.sound_stone({ footstep = { name = "bedrock2_step", gain = 1 } })
df_underworld_items.sounds.slade_gravel = df_dependencies.sound_gravel({footstep = {name = df_dependencies.soundfile_gravel_footstep, gain = 0.45},})
df_underworld_items.nodes = {}
df_underworld_items.nodes.lava_source = df_dependencies.node_name_lava_source
df_underworld_items.nodes.mese_crystal = df_dependencies.node_name_mese_crystal
df_underworld_items.textures = {}
df_underworld_items.textures.meselamp = df_dependencies.texture_meselamp
2022-08-02 05:38:01 +02:00
-- This stuff should only be used during initialization
minetest.after(0, function()
df_underworld_items.abm_neighbors = nil
2022-08-02 05:40:43 +02:00
df_underworld_items.sounds = nil
df_underworld_items.nodes = nil
df_underworld_items.textures = nil
end)