I'm making the first game on solarus with 2 player co-op multiplay, but to begin with, and to learn Lua, I will start to code a character selection screen over the next few weeks.. I will post updates here.
(https://static.giantbomb.com/uploads/original/0/4737/451348-ffspecial.jpg)
something quite simple like this will do fine. only going to use 4 characters for now.
although I was going to use the 'tunic1, tunic2, tunic3' there is no tunic4, hopefully I can figure out what I need to do instead.
You can make as many tunics you want, tunic1 ... 3 is only used for MoS DX, game:set_ability("tunic", x) does not have limits I guess
You should change the tunic sprite with hero:set_tunic_sprite_id(sprite_id), and not the level of the tunic (that is an ability for the defense, if I am not wrong). You can have as many tunic sprites as you want.