moretrim / ccHFM

Community Curated HFM
14 stars 3 forks source link

Bugfix and player protection for the Tonghak Rebellion #141

Open rogerburks opened 2 years ago

rogerburks commented 2 years ago

References #37

Fixed a bug in event 85020, "Tonghak Rebellion," which caused it to fire repeatedly. The problems included the lack of fire_only_once, and the second possibility in the trigger not specifying an uncivilized KOR. This would cause the event to fire many times for a KOR that had long since westernized without Japanese involvement. It would even fire multiple times during a war against Japan itself.

Added a primarily player option that allowed the player to refuse to ask the owner of Peking province for help, but at the cost of giving a make_puppet casus belli to both Qing and Japan. This possibility was also given to the ai in the highly unlikely event that it had gained its independence from Qing without recently losing a war, therefore giving the ai a "unicorn" option. This was done to address the automatic puppeting of KOR by the chain of events following 85020, which gave KOR no option to fight back.