[1.2.1] Need additional check for "PRC reclaims part of China" event

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

npic

Sergeant
40 Badges
Sep 5, 2016
81
79
  • Crusader Kings II: Charlemagne
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Prison Architect
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
In my playthrough, the Chinese United Front faction was created to fight Japan. I was part of a different faction that also fought Japan. I took a bunch of states in northern parts of China for myself during the peace conference. Some time later, the game froze for a bit, and I noticed that the PRC got my land in northern China without any notification.
I think this is wrong: I'm in a different faction, I'm not even a chinese country, I don't really care about PRC claims, and I spent my hard earned war score points to get these states - just to lose everything without any notice.
I've taken a look in the events files, and it seems that this happens because of china.111 event.
Code:
# China and Japan no longer at war - Break up faction and Mao claims his part of China
country_event = {
   id = china.111
   title = china.111.t
   desc = china.111.d
   picture = GFX_report_event_generic_sign_treaty1

   is_triggered_only = yes

   option = {
       name = china.111.a
       CHI = {
           dismantle_faction = yes
           hidden_effect = {
               remove_opinion_modifier = { target = PRC modifier = unstable_alliance }
           }
       }
       hidden_effect = {
           PRC = { remove_opinion_modifier = { target = CHI modifier = unstable_alliance } }
       }
       custom_effect_tooltip = china.107_tt
       hidden_effect = {
           every_state = {
               limit = {
                   NOT = { is_owned_by = JAP }
                   OR = {
                       owner = {
                           is_puppet = no
                       }
                       owner = {
                           is_puppet_of = CHI
                       }
                   }
                   is_core_of = PRC
                   OR = {
                       region = 143
                       region = 155
                   }
                   NOT = { state = 525 }
                   NOT = { state = 527 }               
               }
               ROOT = { transfer_state = PREV }
           }           
       }
   }
}
Maybe the "limit" check could also include a condition that a state should be owned by a country in the same faction as PRC? That would be somewhat reasonable (though it's still not ideal, because a player has no clue about that during the peace conference). What do you think?
 
  • 1
Reactions:
Upvote 0

npic

Sergeant
40 Badges
Sep 5, 2016
81
79
  • Crusader Kings II: Charlemagne
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Prison Architect
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
Steps to reproduce (no 100% guarantee though - got this working on my second try).

1) Start in 1939 when the Chinese front is already formed.

hoi4_11.png

2) Annex the Japan and Mengukuo
Code:
annex MEN
annex JAP

hoi4_12.png

3) Wait a little bit

hoi4_13.png
 
  • 1
Reactions:

ForzaA

Thalassic QA
Paradox Staff
QA
69 Badges
Apr 1, 2001
10.288
1.546
  • Rome Gold
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • King Arthur II
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Starvoid
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Imperator: Rome Sign Up
  • Dungeonland
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • A Game of Dwarves
  • East India Company Collection
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
Thank you for your report. Can't say I can immediately come up with an "ideal" solution either - but the current one is certainly not the best we can do.
 
  • 1
Reactions: