Hello there,
I was wondering if anyone of you know more about how the command 'freeze_recruit_pool' works.
You see, I am facing the problem that the recruitment pool gets frozen right away during the player's turn,
but as soon as I unfreeze it, it takes another turn till the units show up again in the recruitment tab of the settlement.
Does anyone know how to trigger the unfreezing right away? Especially in the context that it still takes several turns till new units are available, since the pool has to refill itself.
Code:
if I_SettlementOwner Siena = russia ; does this faction own this settlement
and I_CompareCounter exceedlimit_russia > 0 ; has this faction exceeded the upkeep limit
and I_CompareCounter Siena_frozen < 1 ; is this pool NOT frozen
freeze_recruit_pool Siena_Province true ; freeze the regional recruit pool
set_counter Siena_frozen 1 ; set the 'region' counter true
historic_event test
end_if
if I_SettlementOwner Siena = russia
and I_CompareCounter exceedlimit_russia < 1 ; is this faction below the upkeep limit
and I_CompareCounter Siena_frozen > 0 ; is this pool frozen
freeze_recruit_pool Siena_Province false ; unfreeze the pool
set_counter Siena_frozen 0 ; set the 'region' counter false
historic_event test
end_if
Best
Aneirin