Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###########################
- # Nuclear Bomb Events
- ###########################
- add_namespace = nuke_dropped
- # Hidden event to set flag on nuke dropped
- news_event = {
- id = nuke_dropped.0
- picture = GFX_news_event_nuke
- major = yes
- is_triggered_only = yes
- hidden = yes
- fire_only_once = yes
- immediate = {
- if = {
- limit = {
- tag = ITA
- has_government = fascism
- FROM = { state = 378 }
- }
- set_country_flag = duce_nukedem_flag
- }
- news_event = { id = nuke_dropped.1 days = 1 }
- }
- option = {
- name = dummy_nuke_option
- }
- }
- # Nuclear Attack PLACEHOLDER
- news_event = {
- id = nuke_dropped.1
- title = nuke_dropped.1.t
- desc = nuke_dropped.1.d
- picture = GFX_news_event_nuke
- major = yes
- is_triggered_only = yes
- trigger = {
- NOT = {
- FROM = {
- state = 529
- }
- FROM = {
- state = 528
- }
- FROM = {
- state = 64
- }
- FROM = {
- state = 126
- }
- FROM = {
- state = 531
- }
- FROM = {
- state = 282
- }
- FROM = {
- state = 361
- }
- FROM = {
- state = 2
- }
- FROM = {
- state = 16
- }
- FROM = {
- state = 219
- }
- FROM = {
- state = 37
- }
- FROM = {
- state = 141
- }
- }
- }
- option = {
- name = nuke_dropped.1.a
- trigger = {
- NOT = { FROM = { FROM = { is_owned_by = ROOT } } }
- }
- }
- option = {
- name = nuke_dropped.1.b
- trigger = {
- FROM = { FROM = { is_owned_by = ROOT } }
- }
- }
- }
- # Nuclear Attack on Hiroshima
- news_event = {
- id = nuke_dropped.2
- title = nuke_dropped.2.t
- desc = nuke_dropped.2.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 529 }
- }
- option = {
- name = nuke_dropped.2.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.2.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Nagasaki
- news_event = {
- id = nuke_dropped.3
- title = nuke_dropped.3.t
- desc = nuke_dropped.3.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 528 }
- }
- option = {
- name = nuke_dropped.3.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.3.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Berlin
- news_event = {
- id = nuke_dropped.4
- title = nuke_dropped.4.t
- desc = nuke_dropped.4.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = {
- state = 64
- is_owned_by = GER
- }
- }
- option = {
- name = nuke_dropped.4.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.4.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on London
- news_event = {
- id = nuke_dropped.5
- title = nuke_dropped.5.t
- desc = nuke_dropped.5.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 126 }
- }
- option = {
- name = nuke_dropped.5.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.5.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Kyoto (Kansai)
- news_event = {
- id = nuke_dropped.6
- title = nuke_dropped.6.t
- desc = nuke_dropped.6.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 531 }
- }
- option = {
- name = nuke_dropped.6.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.6.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Tokyo
- news_event = {
- id = nuke_dropped.7
- title = nuke_dropped.7.t
- desc = nuke_dropped.7.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 282 }
- }
- option = {
- name = nuke_dropped.7.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.7.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Washington D.C.
- news_event = {
- id = nuke_dropped.8
- title = nuke_dropped.8.t
- desc = nuke_dropped.8.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 361 }
- }
- option = {
- name = nuke_dropped.8.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.8.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Rome
- news_event = {
- id = nuke_dropped.9
- title = nuke_dropped.9.t
- desc = nuke_dropped.9.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 2 }
- }
- option = {
- name = nuke_dropped.9.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.9.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Paris
- news_event = {
- id = nuke_dropped.10
- title = nuke_dropped.10.t
- desc = nuke_dropped.10.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 16 }
- }
- option = {
- name = nuke_dropped.10.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.10.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Moscow
- news_event = {
- id = nuke_dropped.11
- title = nuke_dropped.11.t
- desc = nuke_dropped.11.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 219 }
- }
- option = {
- name = nuke_dropped.11.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.11.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- # Nuclear Attack on Copenhagen
- news_event = {
- id = nuke_dropped.12
- title = nuke_dropped.12.t
- desc = nuke_dropped.12.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 37 }
- }
- option = {
- name = nuke_dropped.12.a
- trigger = {
- OR = {
- AND = {
- tag = SWE
- NOT = { has_war_with = DEN }
- }
- AND = {
- NOT = { owns_state = FROM }
- NOT = { tag = SWE }
- NOT = { has_war_with = DEN }
- }
- }
- }
- }
- option = {
- name = nuke_dropped.12.b
- trigger = {
- owns_state = FROM
- }
- }
- option = {
- name = nuke_dropped.12.c
- trigger = {
- NOT = { owns_state = FROM }
- tag = SWE
- has_war_with = DEN
- }
- }
- }
- # Nuclear Attack on Stockholm
- news_event = {
- id = nuke_dropped.13
- title = nuke_dropped.13.t
- desc = nuke_dropped.13.d
- picture = GFX_news_event_nuke
- is_triggered_only = yes
- fire_only_once = yes
- trigger = {
- FROM = { state = 141 }
- }
- option = {
- name = nuke_dropped.13.a
- trigger = {
- NOT = { owns_state = FROM }
- }
- }
- option = {
- name = nuke_dropped.13.b
- trigger = {
- owns_state = FROM
- }
- }
- }
- news_event = {
- id = nuke_dropped.50
- picture = GFX_news_event_nuke
- major = yes
- is_triggered_only = yes
- hidden = yes
- immediate = {
- if = {
- limit = {
- always = yes
- }
- every_enemy_country = {
- limit = { owns_state = FROM }
- }
- FROM = {
- remove_building = { type = infrastructure level = 5 }
- remove_building = { type = air_base level = 5 }
- remove_building = { type = arms_factory level = 5 }
- remove_building = { type = industrial_complex level = 5 }
- }
- }
- if = {
- limit = {
- always = yes
- }
- FROM = {
- if = {
- limit = {
- has_state_category = enclave
- }
- set_state_category = wasteland
- }
- if = {
- limit = {
- has_state_category = pastoral
- }
- set_state_category = wasteland
- }
- if = {
- limit = {
- has_state_category = tiny_island
- }
- set_state_category = wasteland
- }
- if = {
- limit = {
- has_state_category = small_island
- }
- set_state_category = tiny_island
- }
- if = {
- limit = {
- has_state_category = rural
- }
- set_state_category = wasteland
- }
- if = {
- limit = {
- has_state_category = town
- }
- set_state_category = rural
- }
- if = {
- limit = {
- has_state_category = large_town
- }
- set_state_category = town
- }
- if = {
- limit = {
- has_state_category = city
- }
- set_state_category = town
- }
- if = {
- limit = {
- has_state_category = large_city
- }
- set_state_category = town
- }
- if = {
- limit = {
- has_state_category = metropolis
- }
- set_state_category = city
- }
- if = {
- limit = {
- has_state_category = megalopolis
- }
- set_state_category = city
- }
- }
- }
- if = {
- limit = {
- FROM = {
- state_population > 500
- NOT = { state_population > 12500 }
- }
- }
- FROM = {
- add_manpower = -3250
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 12500
- NOT = { state_population > 25000 }
- }
- }
- FROM = {
- add_manpower = -9375
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 25000
- NOT = { state_population > 50000 }
- }
- }
- FROM = {
- add_manpower = -18750
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 50000
- NOT = { state_population > 75000 }
- }
- }
- FROM = {
- add_manpower = -31250
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 75000
- NOT = { state_population > 100000 }
- }
- }
- FROM = {
- add_manpower = -43750
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 100000
- NOT = { state_population > 150000 }
- }
- }
- FROM = {
- add_manpower = -62500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 150000
- NOT = { state_population > 200000 }
- }
- }
- FROM = {
- add_manpower = -87500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 200000
- NOT = { state_population > 300000 }
- }
- }
- FROM = {
- add_manpower = -125000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 300000
- NOT = { state_population > 400000 }
- }
- }
- FROM = {
- add_manpower = -175000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 400000
- NOT = { state_population > 500000 }
- }
- }
- FROM = {
- add_manpower = -225000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 500000
- NOT = { state_population > 600000 }
- }
- }
- FROM = {
- add_manpower = -275000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 600000
- NOT = { state_population > 700000 }
- }
- }
- FROM = {
- add_manpower = -325000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 700000
- NOT = { state_population > 800000 }
- }
- }
- FROM = {
- add_manpower = -375000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 800000
- NOT = { state_population > 900000 }
- }
- }
- FROM = {
- add_manpower = -425000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 900000
- NOT = { state_population > 1000000 }
- }
- }
- FROM = {
- add_manpower = -475000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 1000000
- NOT = { state_population > 1250000 }
- }
- }
- FROM = {
- add_manpower = -562500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 1250000
- NOT = { state_population > 1500000 }
- }
- }
- FROM = {
- add_manpower = -687500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 1500000
- NOT = { state_population > 1750000 }
- }
- }
- FROM = {
- add_manpower = -812500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 1750000
- NOT = { state_population > 2000000 }
- }
- }
- FROM = {
- add_manpower = -937500
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 2000000
- NOT = { state_population > 2500000 }
- }
- }
- FROM = {
- add_manpower = -1125000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 2500000
- NOT = { state_population > 3000000 }
- }
- }
- FROM = {
- add_manpower = -1375000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 3000000
- NOT = { state_population > 3500000 }
- }
- }
- FROM = {
- add_manpower = -1625000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 3500000
- NOT = { state_population > 4000000 }
- }
- }
- FROM = {
- add_manpower = -1875000
- }
- break = yes
- }
- if = {
- limit = {
- FROM = {
- state_population > 4000000
- }
- }
- FROM = {
- add_manpower = -2100000
- }
- break = yes
- option = {
- name = dummy_nuke_option
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement