Try this:
Just save it in a text file and put it in the game files. Or, even better, grab a mod folder and .mod file and put the file in there under events.Code:character_event = { id = 1000187002 desc = EVTDESC1000187002 trigger = { ai = yes NOT = { has_global_flag = startup_done } } mean_time_to_happen = { days = 1 modifier = { factor = 0.01 always = yes } } immediate = { set_global_flag = startup_done any_independent_ruler = { any_realm_title = { location = { remove_province_modifier = religious_unrest } } } ROOT = { any_realm_title = { location = { remove_province_modifier = religious_unrest } } } } option = { name = EVTOPTA1000187002 } }
You could just use the mod folder and .mod file of my own mod and just clear every file in the folder, so you only add in this event file.
(Changing game files can be tricky, so I recommend using a mod folder and file placed in the documents ck2 mod folder.)
I tried both ways, but it doesn't seem to be working in game. Or at least not as intended? I start up the game, load up my character and show the Revolt Map. I fast forward and no event fires for me. There was only one instance (When I put it in a mod file) that only one of my neighboring empires seemed to suddenly lose most of its revolt risk after day 1 but after a good year, nothing else happens for the rest of the world.
It's most likely just me doing something wrong. But I save it in a text format, place it in an empty mod folder (Your DD lite mod) and load it all up via the launcher. I then select my savegame, play, and wait. Nothing.