[1.21u] Typo in chk for alien mercs
Posted: Wed Oct 18, 2023 4:41 pm
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)".
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)".