2020-11-15 23:37:42 +01:00
|
|
|
df_farming.sounds = {}
|
|
|
|
|
2022-08-02 01:37:41 +02:00
|
|
|
df_farming.sounds.leaves = df_dependencies.sound_leaves()
|
|
|
|
df_farming.sounds.syrup = df_dependencies.sound_water()
|
|
|
|
|
|
|
|
if minetest.get_modpath("oil") then
|
|
|
|
df_farming.sounds.syrup.footstep = {name = "oil_oil_footstep", gain = 0.2}
|
|
|
|
end
|
2020-11-15 23:37:42 +01:00
|
|
|
|
|
|
|
df_farming.node_names = {}
|
|
|
|
|
2022-08-02 01:37:41 +02:00
|
|
|
df_farming.node_names.dirt = df_dependencies.node_name_dirt
|
|
|
|
df_farming.node_names.dirt_wet = df_dependencies.node_name_dirt_wet
|
|
|
|
df_farming.node_names.mortar_pestle = df_dependencies.node_name_mortar_pestle
|
|
|
|
df_farming.node_names.bucket = df_dependencies.node_name_bucket_empty
|
|
|
|
df_farming.node_names.wool_white = df_dependencies.node_name_wool_white
|
|
|
|
df_farming.node_names.string = df_dependencies.node_name_string
|
|
|
|
|
2020-11-15 23:37:42 +01:00
|
|
|
df_farming.node_names.dirt_moss = "df_farming:dirt_with_cave_moss"
|
|
|
|
df_farming.node_names.floor_fungus = "df_farming:cobble_with_floor_fungus"
|
|
|
|
|
|
|
|
-- these are only for initialization
|
|
|
|
minetest.after(0, function()
|
|
|
|
df_farming.sounds = nil
|
|
|
|
df_farming.node_names = nil
|
|
|
|
end)
|