added a comment - - edited
The change can be detected by the absence of the global function PlaySoundKitID
So we can create code that works in either 7.2.5 or 7.3 by testing for this
The sound IDs used by PlaySound are held in the SOUNDKIT table, e.g. SOUNDKIT.LOOT_WINDOW_COIN_SOUND
Proposed is something like:
PlaySound(PlaySoundKitID and "oldSoundName" or SOUNDKIT.NEWSOUNDNAME)
e.g. PlaySound(PlaySoundKitID and "igMainMenuOptionCheckBoxOn" or SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON)
Also note that SOUNDKIT only exists in 7.3 or later, so we can use that as an alternative version test.
I'll tag these with a comment to make them easier to find later: --HYBRID73
Note that where we currently play custom sounds, we should be playing through PlaySoundFile instead
Prefer using SOUNDKIT.XXX in files as this is more readable than using raw values. However some sounds are not in SOUNDKIT so we will have to use raw values there and comment accordingly.