Open GrimPixel opened 1 year ago
Hmm... the thing is, this mechanic would be very specific to certain games. I could see this being implemented for specific games via a scripting API once one is added (hence the label), but I'm not 100% sure if there should be a "generic" solution.
Maybe it can be specified in the cfg file. Certain pieces have an attribute, which is a list of pieces to change to.
In chess, a pawn may promote. In other games, there are also similar situations where a piece needs to be exchanged. So, it would be easy to simply right-click on the piece, open a pre-defined list and do the change.