state _event
Details
Fires a state event.
Example:
state_event = {
id = usa.61 # The event to fire.
# Optional Fields:
hours = 12 # The number of hours to wait before firing the event.
days = 5 # The number of days to wait before firing the event.
months = 1 # The number of months to wait before firing the event, where a month is treated as 30 days.
# Note: hours, days, and months can all be used and will simply be added together.
random_hours = 18 # A random amount of hours to be added to the delay before firing, from 0 up to but not including random_hours.
random_days = 2 # A random amount of days to be added to the delay before firing, from 0 up to but one hour less than random_days.
# Note: random_hours and random_days can both be used and will simply be added together.
random = 6 # Equivalent to random_hours; preserverd for backwards compatibility.
random = { chance = 50 ... } # Specify a set of child effects to execute as part of this effect, with a percentage chance of randomly happening or not (as a group, not individually).
tooltip = usa.61.t # Manually specify which tooltip to use for this effect.
trigger_for = GER # Indicate which country this state effect applies to. Value can be any of the following:
# controller - The country that currently controls the state.
# owner - The country that currently owns the state.
# occupied - The country that has been occupied in the state by the current controller.
# from - The country of the from scope.
# prev - The country of the prev scope.
# root - The country of the root scope.
# TAG - A hard-coded country tag such as GER or ENG.
}Source: Effects Documentation
- Name
- Type
- Effect
- Supported Targets
none