Kaiserreich / Kaiserreich-4-Bug-Reports

Issue tracker for Kaiserreich for Hearts of Iron 4
110 stars 40 forks source link

SHX, CHI, YUN, GXC, SZC, FNG - SHX has about 9% chance to decline the alliance with the governement they _are_ set to join in game rules #22213

Closed Admiral-Boysen closed 1 year ago

Admiral-Boysen commented 1 year ago

Quick questions OS: Win 10 HOI4 version: 1.12.11 Kaiserreich version:0.24.1, 0.24.2 (code didn't change) List any other mods used: de loc, ru loc, soviet vps, official music (not cat), official models, some flag mods Were you using Steam? Y Were you in multiplayer? N Which expansions do you NOT have? Sabaton v.2, allied speeches

Save file

Logs (At least game and error log)

Explanation of the issue: SHX (particularly Feng's SHX) has a low (exactly 1/11) chance to refuse alliance with a government they are set to join in game rules in event china_event.7

Steps to reproduce:

  1. Set SHX to join some non-QIE government in particular
  2. Start and play as said government (tried as Fed GXC)
  3. Be Unlucky

Possible cause: SHX has an elaborate trigger for weight 0 to accepting an alliance with a government they're not set to join. Their ai logic to refuse an alliance is a flat weight 10 if any "foreign" policy is set at all, including for joining the government they are set join

Screenshots:

ghost commented 1 year ago

question: did you offer them alliance or did you demand their submission? because if you did the latter they will refuse because they are a potential goverment, its unrelated to game rules

anyhow I fixed the china_events.7 part but don't have much to do with the former, its not related to game rules