- Dec 4, 2018
- Reaction score
- First Language
- Primarily Uses
I've decided to make a mechanic in my game where you gain one "Death Coin" (just a placeholder name) when a party member dies. However, if everyone dies, you must reload a save as usual and lose the gained coins. This would encourage the player to play dangerously, getting to the brink of defeat, and coming back with good use of strategy and coordination. However, I don't know how to do this. Can this be done with events, or is a script needed? How would I go about this? I have Yanfly's more currencies plugin, so I can integrate that if it helps.
@Wavelength I'm using base troop events to do what you suggested. Everything's working as intended!
@M.I.A. afaik, setting the base troop event to "battle" scale only allows it to activate once per battle, eliminating the chance for multiple coins from one actor. That being said, I'll allow the player to keep their coin and revive. The coins themselves are just for a special shop.
This has been solved! Thank you everyone so much for the help!
Basically, I set up the base troop events as Wavelength specified. I'm using Yanfly's More Currencies plugin to use a variable as the currency. So when an actor dies, that variable goes up by 1.
Quick Edit: @Wavelength yes, I'll have to add a balancing mechanic. Perhaps once so many turns have passed, you can no longer earn tokens. I'm not sure, I'll have to think about it. Good point. Healing in my game is already taxing, so maybe that will be enough.
Also, I just thought of a name: Crypt O Currency.