
Originally Posted by
TNZ
wolf-yop: Try this:
Code:
declare_counter introduction
monitor_event FactionTurnStart FactionType england
and FactionIsLocal
and I_CompareCounter introduction = 0
historic_event introduction true factions { england, }
set_counter introduction 1
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionType france
and FactionIsLocal
and I_CompareCounter introduction = 0
historic_eventintroduction true factions { france, }
set_counter introduction 1
terminate_monitor
end_monitor
monitor_conditions I_EventCounter introduction_accepted = 1
historic_event tiers true factions { england, }
terminate_monitor
end_monitor
monitor_conditions I_EventCounter introduction_accepted = 1
historic_event tiers true factions { france, }
terminate_monitor
end_monitor
thanks, then the way I made it its the shortest. I wanted to be sure.
Code:
monitor_event FactionTurnStart
set_event_counter introduction_accepted 0
set_event_counter introduction_declined 0
set_event_counter tiers_accepted 0
set_event_counter tiers_declined 0
if I_LocalFaction england
historic_event introduction true factions { england, }
end_if
if I_LocalFaction france
historic_event introduction true factions { france, }
end_if
if I_LocalFaction hre
historic_event introduction true factions { hre, }
end_if
if I_LocalFaction spain
historic_event introduction true factions { spain, }
end_if
if I_LocalFaction venice
historic_event introduction true factions { venice, }
end_if
if I_LocalFaction sicily
historic_event introduction true factions { sicily, }
end_if
if I_LocalFaction milan
historic_event introduction true factions { milan, }
end_if
if I_LocalFaction scotland
historic_event introduction true factions { scotland, }
end_if
if I_LocalFaction byzantium
historic_event introduction true factions { byzantium, }
end_if
if I_LocalFaction russia
historic_event introduction true factions { russia, }
end_if
if I_LocalFaction lithuania
historic_event introduction true factions { lithuania, }
end_if
if I_LocalFaction moors
historic_event introduction true factions { moors, }
end_if
if I_LocalFaction turks
historic_event introduction true factions { turks, }
end_if
if I_LocalFaction egypt
historic_event introduction true factions { egypt, }
end_if
if I_LocalFaction denmark
historic_event introduction true factions { denmark, }
end_if
if I_LocalFaction portugal
historic_event introduction true factions { portugal, }
end_if
if I_LocalFaction poland
historic_event introduction true factions { poland, }
end_if
if I_LocalFaction hungary
historic_event introduction true factions { hungary, }
end_if
if I_LocalFaction aztecs
historic_event introduction true factions { aztecs, }
end_if
if I_LocalFaction papal_states
historic_event introduction true factions { papal_states, }
end_if
terminate_monitor
end_monitor
;tier rule option
monitor_event EventCounter EventCounterType introduction_accepted
and EventCounter > 0
if I_LocalFaction england
historic_event tiers true factions { england, }
end_if
if I_LocalFaction france
historic_event tiers true factions { france, }
end_if
if I_LocalFaction hre
historic_event tiers true factions { hre, }
end_if
if I_LocalFaction spain
historic_event tiers true factions { spain, }
end_if
if I_LocalFaction venice
historic_event tiers true factions { venice, }
end_if
if I_LocalFaction sicily
historic_event tiers true factions { sicily, }
end_if
if I_LocalFaction milan
historic_event tiers true factions { milan, }
end_if
if I_LocalFaction scotland
historic_event tiers true factions { scotland, }
end_if
if I_LocalFaction byzantium
historic_event tiers true factions { byzantium, }
end_if
if I_LocalFaction russia
historic_event tiers true factions { russia, }
end_if
if I_LocalFaction lithuania
historic_event tiers true factions { lithuania, }
end_if
if I_LocalFaction moors
historic_event tiers true factions { moors, }
end_if
if I_LocalFaction turks
historic_event tiers true factions { turks, }
end_if
if I_LocalFaction egypt
historic_event tiers true factions { egypt, }
end_if
if I_LocalFaction denmark
historic_event tiers true factions { denmark, }
end_if
if I_LocalFaction portugal
historic_event tiers true factions { portugal, }
end_if
if I_LocalFaction poland
historic_event tiers true factions { poland, }
end_if
if I_LocalFaction hungary
historic_event tiers true factions { hungary, }
end_if
if I_LocalFaction aztecs
historic_event tiers true factions { aztecs, }
end_if
if I_LocalFaction papal_states
historic_event tiers true factions { papal_states, }
end_if
terminate_monitor
end_monitor