DataDrifter
Chieftain
- Joined
- Apr 14, 2023
- Messages
- 1
Hi!
I'm currently making my first mod and adding my own civ but I have an idea I don't know how to do, or if it's even possible.
The leader ability I want to make is similar to Cyrus' surprise war trait but I want the ability to trigger on a broken promise to counter out the grievance gained from it once per game.
I tried looking into Cyrus' trait but I can't figure out the trigger mechanism, I guess what I need to do is use MODIFIER_PLAYER_ADJUST_GRIEVANCE_DECAY with amount 200 once and permanent but how can I trigger this at the right moment?
Any help would be greatly appreciated.
I'm currently making my first mod and adding my own civ but I have an idea I don't know how to do, or if it's even possible.
The leader ability I want to make is similar to Cyrus' surprise war trait but I want the ability to trigger on a broken promise to counter out the grievance gained from it once per game.
I tried looking into Cyrus' trait but I can't figure out the trigger mechanism, I guess what I need to do is use MODIFIER_PLAYER_ADJUST_GRIEVANCE_DECAY with amount 200 once and permanent but how can I trigger this at the right moment?
Any help would be greatly appreciated.