Help make castling 4 squares instead of two
Yes, they have additional cells on the side. I made them based on Gothic chess, which uses an archbishop and a chancellor, plus two pawns and new squares added to each side. I decided to add an Amazon (a mixture of a queen and a knight) and a bull (a mixture of a horse and a camel). And I had a problem, castling is done as in the original chess, on two squares, which is quite useless in this version of chess. Therefore, I want to ask people who understand chess editor scripts to help me fix this problem.
I made my own version of chess based on Gothic chess, only with two additional squares on the sides. And I had one problem: castling is done on only two squares, consider it useless. Can you advise me on how to make castling for four squares? Here's the code:
R-0,1,0,1-1,1,1,1-1,1,1,1-0,0,0,0-0-{'pawnBaseRank':5,'wb':true,'dim':'12x8'}-
x,x,x,x,x,x,x,x,x,x,x,x,x,x/
x,x,x,x,x,x,x,x,x,x,x,x,x,x/
x,x,x,x,x,x,x,x,x,x,x,x,x,x/
x,yR,yN,yB,yV,yA,yE,yK,yH,yQ,yB,yN,yR,x/
x,yP,yP,yP,yP,yP,yP,yP,yP,yP,yP,yP,yP,x/
x,12,x/
x,12,x/
x,12,x/
x,12,x/
x,rP,rP,rP,rP,rP,rP,rP,rP,rP,rP,rP,rP,x/
x,rR,rN,rB,rV,rA,rE,rK,rH,rQ,rB,rN,rR,x/
x,x,x,x,x,x,x,x,x,x,x,x,x,x/
x,x,x,x,x,x,x,x,x,x,x,x,x,x/
x,x,x,x,x,x,x,x,x,x,x,x,x,x