Page 1 of 1

[1.21u] Typo in chk for alien mercs

Posted: Wed Oct 18, 2023 4:41 pm
by Magirot
I'm unsure if this has any effect, but I noticed a minor typo in:

SE_Diplomatic
463) Alien Minor Diplomacy Gustav Import
Scheduled meeting with Alien natives (row 7)

DECISION4_IF (row7,col119)
TARGETREGIMEKEY.alienMercsRound<ROUND; TARGETWAR==0; TEMP8=chk(249,33,REGIMEID,0); TEMP8>0; hk(249,34,TEMP8)>0;

Reads hk instead of chk.

As said I'm not sure what it checks. Documentation says chk 249, 33 is "Loc ID of Regime" and 34 is "Coord of Loc ID (returns
a value that represents a coord we’ll call XY-value)".

Re: [1.21u] Typo in chk for alien mercs

Posted: Mon Oct 23, 2023 10:42 am
by Vic
Typo's need to be fixed right. I think it will only affect some rare cases. But thanks none the less.