Code:
monitor_event FactionTurnStart FactionType scythia
and not FactionIsLocal
if RandomPercent < 3
spawn_army
faction scythia
character Kudurmabug, general, age 30, , x 314, y 122
unit sarmatian noble cavalry exp 0 armour 1 weapon_lvl 1
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
end
end_if
if RandomPercent > 98
spawn_army
faction scythia
character Kudurmabug, general, age 30, , x 316, y 122
unit sarmatian noble cavalry exp 0 armour 1 weapon_lvl 1
unit sarmatian noble cavalry exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
unit sarmatian horse archer exp 0 armour 0 weapon_lvl 0
end
end_if
if I_SettlementOwner Merv = thrace
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia thrace war
end_if
if I_SettlementOwner Merv = seleucid
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia seleucid war
end_if
if I_SettlementOwner Merv = parthia
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia parthia war
end_if
if I_SettlementOwner Merv = armenia
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia armenia war
end_if
if I_SettlementOwner Merv = romans_julii
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia romans_julii war
end_if
if I_SettlementOwner Merv = egypt
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia egypt war
end_if
if I_SettlementOwner Merv = dacia
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia dacia war
end_if
if I_SettlementOwner Merv = pontus
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia pontus war
end_if
if I_SettlementOwner Merv = macedon
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia macedon war
end_if
if I_SettlementOwner Merv = carthage
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia carthage war
end_if
if I_SettlementOwner Merv = romans_scipii
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia romans_scipii war
end_if
if I_SettlementOwner Merv = romans_brutii
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia romans_brutii war
end_if
if I_SettlementOwner Merv = greek_cities
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia greek_cities war
end_if
if I_SettlementOwner Merv = spain
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia spain war
end_if
if I_SettlementOwner Merv = gauls
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia gauls war
end_if
if I_SettlementOwner Merv = germans
and I_CharacterTypeNearTile scythia general, 10 316,117
console_command diplomatic_stance scythia germans war
end_if
end_monitor