>>538052451
>https://github.com/Pathoschild/StardewMods/blob/develop/ContentPatcher/docs/author-guide/tokens.md
Use picture related if you want things to happen on the day of the festival in general, or the bit below for things to happen inside the festivals exclusively.
>"LocationName" : "Town, temp"
>"Update": "OnLocationChanged"
Replace Town with Forest or Beach for the flower dance or luau etc, the temp is also necessary so your edits only trigger in the festival maps, which are also temporary maps. OnLocationChanged is obligatory, LocationName conditions will fail silently without this. Check out the Morgan mod for usage examples.