Source: factory.core/ObjSound.py
Manages and provides access to the sound files indexed in sounds.yaml.
| Method | Signature | Description |
|---|---|---|
| get_sound_path | get_sound_path(key: str) -> str |
Retrieves the full path to a sound file using its short key. |
| get_all_sounds | get_all_sounds() -> dict |
Returns the entire sound index. |
| update_sound_index | update_sound_index() |
Scans the sounds directory for new .ogg files and adds them to the index. |
Scans the sounds folder and updates the sounds.yaml index with new files.