Can someone explain what the i turn sentences mean?

rigger trigger_lucilius
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= academy
and IsGeneral
and I_TurnNumber >= 220
and I_TurnNumber <= 336

AcquireAncillary lucilius chance 80

ta