Scripted Effect
block_disaster_temporarily_effect
Disables the
disaster_type:$type$ Disaster from happening for years yearsSet variable
- Name:
blocked_disaster_$type$ - Days: years in days
- Value: yes
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$years$$type$$years_in_days$
Used by 2
The End of the Country Adjective Revolutiontype = revolution_disaster · years = 20 · years_in_days = 7300Option- The Parliamenttype = revolution_disaster · years = 10 · years_in_days = 3650Option 1
custom_description = {
text = block_disaster_temporarily_effect_text
value = $years$
object = disaster_type:$type$
set_variable = {
name = blocked_disaster_$type$
days = $years_in_days$
value = yes
}
}