Heres a different thought. Anyone know of a way to make creation of a building dependant upon a governor without doing it with the auto manage?
What I mean is this, I want the player to be able to control everything as normal with the Manage All Settlements checked, except for one or two buildings I only want to be able to create with a governor in the city.
I know I can, and indeed have, created buildings through scripts and triggers with all kinds of requirements. I am looking for something I can add to the EDB file.
Solution
Ever wanted to make it impossible for only certain kinds of buildings to be built when no governor is present? Even when Manage All Settlements is selected? Do this:
In the EDB file:
This sets a requirement on the building for an event to be present.Code:and event_counter governor_present 1
In campaign_script.txt
alpaca figured out how to shorten it up so you dont have to script it for each settlement.Code:monitor_event FactionTurnEnd FactionIsLocal set_event_counter governor_present 1 end_monitor monitor_event SettlementSelected GovernorInResidence set_event_counter governor_present 1 end_monitor monitor_event SettlementSelected not GovernorInResidence and FactionIsLocal set_event_counter governor_present 0 end_monitor
You can move a character back and forth all day as long as you have movement points, and the building will come and go every time. THis only effects the player, the AI can still build everything, the player can build everything except the buildings with this line in the requrements section:
and event_counter governor_present 1



Reply With Quote








