Is there any way to make my trait only work while at peace?

mariovstoad

Chieftain
Joined
Jun 24, 2015
Messages
9
I want my civ to have a trait where it has 50% less unhappiness but only while at peace, however, adding the <RequiresPeace>true</RequiresPeace> causes the trait to no longer work. Is there any possible way to make this work or am i going to have to come up with another trait?


PS: If i have to use LUA to make my trait work, then there's no point, as i want to be able to use my mod in multiplayer with my friends and you can't get mods to work in multiplayer if they have LUA coding in them, which is a shame.
 
PS: If i have to use LUA to make my trait work, then there's no point, as i want to be able to use my mod in multiplayer with my friends and you can't get mods to work in multiplayer if they have LUA coding in them, which is a shame.
... What? Are you using MPMPM?
 
I don't know what you mean by MPMPM, I'm using modbuddy to make my mod, Writing using XML

Edit: Googled it. All i ever did was put the multiplayer mods into the expansion2 folder, then edit the expansion 2 file in notepad++ to add gamedata and textdata tags for the XML files contained in the mod.
 
Back
Top Bottom