Hello. There is no standard way to apply modifier in lua. I've came up with approach that allows it for player (and city maybe):
- add dummy building
- add requrement "REQUIREMENT_PLAYER_HAS_BUILDING"
- add modifier that depends on this requrement
- in lua create dummy building in any city (capital for example)