This is the line of error.
It should look like this:
EXT. GRAVEYARD - DAY with HALF CASKET with effect RAIN
To add a weather effect, the format is “with effect WEATHER” and weather effects should always go at the end of the line. So background name first, then overlays, then weather effects.