SS uses such system, i dunno if RR\RC does.
Basically you add this to the EDB for every core_settlement and core_castle_settlement:
Code:
construction_cost_bonus_stone bonus 90 requires event_counter is_the_ai 1
construction_cost_bonus_wooden bonus 90 requires event_counter is_the_ai 1
I haven't tested trying 100, but its easy to check.
In the campaign script you need to add:
Code:
;===================== Is the AI? =======================
monitor_event PreFactionTurnStart FactionIsLocal
set_event_counter is_the_ai 0
end_monitor
monitor_event PreFactionTurnStart not FactionIsLocal
set_event_counter is_the_ai 1
end_monitor
But that should already be inside RR\RC.
@Squid
FactionType requires an event which exports a faction, so you can't use it in an if, same for SettlementBuildingFinished which requires a settlement.