capturing suzerain boni

Aldollin

Chieftain
Joined
Mar 7, 2017
Messages
87
so im thinking of making it so one of my costum leaders gets the suzerain boni from a citystate after capturing it.
after looking at gameeffects and modifiers i guess i could do it by using the new
MODIFIER_PLAYER_CAPTURED_CITY_ATTACH_MODIFIER
to attach the suzerain modifier, with a Requirementset testing if it it the right citystate(probably with a dummy building, since REQUIREMENT_LEADER_TYPE_MATCHES does not work)

but that would mean id have to make a modifier, a requirement and a dummybuilding for each specific citystate,
any ideas how to do that simpler/faster?
 
Have you tried playing with REQUIREMENT_PLAYER_OWNS_OBJECT? Not sure how it works or what it refers to (there appear to be no arguments to flesh it out), but maybe it's a reflexive requirement, like REQUIREMENT_PLAYER_IS_SUZERAIN and can be attached to the captured City State. If it works, it would require that player own the city state in question for the modifier to work.

As for conveying the suzerain bonōs on a civilization, you don't need dummy buildings for that. There are plenty of mod examples out there that grant suzerain bonōs to civilizations directly. Use this example, for instance.
 

Attachments

Last edited:
Back
Top Bottom