Re: Bonus in city order depending on uni garrisoned?
I'm not sure if it would work with captain led armies, but give the unit you want the bonus to apply for a unique attribute in EDU and then check for the percentage of units with that attribute in all armies in a settlement and set an event to true if the attribute is present and then have a law bonus in EDB linked to the event. You'd need a distinct event for each settlement which would make the code very long. The bonus may not appear until the next turn.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein