1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-07-15 14:50:26 +02:00

properly detect and use sounds from default/mcl

This commit is contained in:
tenplus1
2024-08-11 08:47:26 +01:00
parent a74a29c849
commit cdac09a8f4
44 changed files with 119 additions and 91 deletions

21
api.txt
View File

@ -70,3 +70,24 @@ A handy function that starts a crops timer with a randomly selected time set by
stage_length setting. This is mostly used for special functions or 3rd party mods.
farming.start_seed_timer(pos)
Node Sounds
-----------
Farming Redo will detect wether the Default mod or MineClone/VoxeLibre mod is active and
store whichever sound set is available inside the following to save any other farming
mods from having to detect it themselves:
farming.node_sound_defaults()
farming.node_sound_stone_defaults()
farming.node_sound_dirt_defaults()
farming.node_sound_sand_defaults()
farming.node_sound_gravel_defaults()
farming.node_sound_wood_defaults()
farming.node_sound_leaves_defaults()
farming.node_sound_ice_defaults()
farming.node_sound_metal_defaults()
farming.node_sound_water_defaults()
farming.node_sound_snow_defaults()
farming.node_sound_glass_defaults()