Triggering a positive diplo effect?

Charsi

Chieftain
Joined
Mar 18, 2015
Messages
45
Hi,

In my scenario (Barbarian Lands) the Barbarians can found cities. When you as the player mouse over these cities, the game informs you that there is a warmonger penalty attached to taking the city.

I would very much like to write something into my mod such that when you take a Barbarian city, even if you raze it, you get either a Liberation bonus or some third diplomatic effect (i.e. killing of Barbarians is looked on as a good thing). Everyone's already at war with Barbarians so I think the warmonger penalty is halved, but it doesn't really make sense anyway...

I know where to attach it, SerialEventCityCreated or SerialEventCityCaptured. I'm just not sure if it's possible and couldn't find any method in the Lua that seemed to make sense... any advice?
 
Back
Top Bottom