[mutter] How would I love to have CK event engine for this... [/mutter]
event = {
id = XXXX
trigger = {
ai = no # AI don't need Revolutions.

atwar = no # During wars, people are generally more unified
countrysize = 20 # Small country revolutions are not world shaking
NOT = { stability = 0 } # There has to be unhappiness
infra = 8 # Infra includes advances in laws and all that groundwork
domestic = { type = aristocracy value = 7 } # Revolution needs targets...
domestic = { type = centralization value = 6 } # Revolution needs targets...
domestic = { type = innovative value = 6 } # Obvious...
domestic = { type = serfdom value = 2 } # Free people don't revolt
NOT = { domestic = { type = serfdom value = 9 } } # Neither do too opressed
year = 1750
}
random = yes
name = "Revolution raises it's head..."
desc = "Blah blah about enlightened authors making critical literary works against the state and it sparking a revolution and blah blah"
action_a = {
name = "Crush this puny rebellion!"
command = { type = revolt which = -2 }
command = { type = revolt which = -2 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = revolt which = -1 }
command = { type = domestic which = aristocracy value = 2 }
command = { type = domestic which = centralization value = 1 }
command = { type = domestic which = innovative value = -2 }
command = { type = domestic which = serfdom value = 2 }
command = { type = stability value = -1 } # Is on negative already
}
action_b = {
name = "Give in to revolutionaries and reform"
command = { type = stability value = 3 }
command = { type = revolt value = -1 } # Some are always unhappy
command = { type = VP value = -100 } # Like fall of govt
command = { type = domestic which = aristocracy value = -4 }
command = { type = domestic which = centralization value = -2 }
command = { type = domestic which = innovative value = 2 }
command = { type = domestic which = serfdom value = -3 }
}
}