2020-11-15 23:06:20 +01:00
|
|
|
--This file contains references to external dependencies, in hopes of making it easier to make those optional in the future
|
|
|
|
|
|
|
|
df_primordial_items.node_names = {}
|
|
|
|
|
2022-08-02 01:37:41 +02:00
|
|
|
df_primordial_items.node_names.dirt = df_dependencies.node_name_dirt
|
|
|
|
df_primordial_items.node_names.dry_shrub = df_dependencies.node_name_dry_shrub
|
|
|
|
df_primordial_items.node_names.dry_grass_3 = df_dependencies.node_name_dry_grass_3
|
|
|
|
df_primordial_items.node_names.dry_grass_4 = df_dependencies.node_name_dry_grass_4
|
|
|
|
df_primordial_items.node_names.junglewood = df_dependencies.node_name_junglewood
|
2020-11-15 23:06:20 +01:00
|
|
|
|
|
|
|
df_primordial_items.sounds = {}
|
|
|
|
|
2022-08-02 01:37:41 +02:00
|
|
|
df_primordial_items.sounds.leaves = df_dependencies.sound_leaves()
|
|
|
|
df_primordial_items.sounds.wood = df_dependencies.sound_wood()
|
|
|
|
df_primordial_items.sounds.glass = df_dependencies.sound_glass()
|
|
|
|
df_primordial_items.sounds.dirt = df_dependencies.sound_dirt()
|
2020-11-15 23:06:20 +01:00
|
|
|
|
2022-08-02 01:37:41 +02:00
|
|
|
df_primordial_items.register_leafdecay = df_dependencies.register_leafdecay
|
|
|
|
df_primordial_items.after_place_leaves = df_dependencies.after_place_leaves
|
2020-11-15 23:06:20 +01:00
|
|
|
|
2022-08-02 05:51:53 +02:00
|
|
|
df_primordial_items.textures = {}
|
|
|
|
df_primordial_items.textures.wood = df_dependencies.texture_wood
|
|
|
|
|
2020-11-15 23:06:20 +01:00
|
|
|
-- This stuff should only be used during initialization
|
|
|
|
minetest.after(0, function()
|
|
|
|
df_primordial_items.node_names = nil
|
|
|
|
df_primordial_items.sounds = nil
|
2022-08-02 05:51:53 +02:00
|
|
|
df_primordial_items.textures = nil
|
2020-11-15 23:06:20 +01:00
|
|
|
end)
|