Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- focus = {
- id = test_the_chinese_focus
- icon = GFX_goal_generic_political_pressure
- available = {
- is_puppet = no
- }
- bypass = {
- 608 = {
- NOT = {
- is_controlled_by = CHI
- is_controlled_by = PRC
- is_controlled_by = SHX
- }
- }
- 597 = {
- NOT = {
- is_controlled_by = CHI
- is_controlled_by = PRC
- is_controlled_by = SHX
- }
- }
- 614 = {
- NOT = {
- is_controlled_by = CHI
- is_controlled_by = PRC
- is_controlled_by = SHX
- }
- }
- OR = {
- NOT = { country_exists = CHI }
- has_global_flag = KMT_pro_japanese
- }
- }
- x = 5
- y = 0
- cost = 10
- will_lead_to_war_with = CHI
- ai_will_do = {
- factor = 10
- modifier = {
- factor = 0
- date < 1937.1.1
- }
- }
- completion_reward = {
- if = {
- limit = {
- CHI = { #if CHI owns one of these states, they get the event
- OR = {
- controls_state = 608
- controls_state = 597
- controls_state = 614
- }
- }
- }
- CHI = {
- country_event = china.1
- }
- }
- if = {
- limit = {
- PRC = { #only fires the event for PRC if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
- AND = {
- controls_state = 608
- controls_state = 597
- controls_state = 614
- }
- }
- }
- PRC = {
- country_event = china.1
- }
- }
- if = {
- limit = {
- SHX = { #only fires the event for SHX if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
- AND = {
- controls_state = 608
- controls_state = 597
- controls_state = 614
- }
- }
- }
- SHX = {
- country_event = china.1
- }
- }
- add_named_threat = { threat = 1 name = test_the_chinese_focus }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement