Hello! Started up Warband again after a very long time and decided to use the Diplomacy mod for the first campaign. I've run into a minor, quite hidden bug that breaks the game in a significant way. Luckily I developed a habit of saving very often so I can submit a very precise bug report.
The bug is with the '
Capture Prisoners' quest that lords give you when you are a mercenary for their faction. More precisely with the alternative solution to it introduced by Diplomacy. You can ask a lord in a castle to sell you the prisoners instead of capturing them yourself but there must be some error in the code there, because as soon as you click that dialog the '
Recruit prisoners' game menu gets broken and you can't recruit prisoners into your party any more.
https://imgur.com/HL7rAIT
When I click 'I need some X as prisoner', the prisoner recruiting menu breaks even if I don't take the lord's offer in the end and back out with 'Never mind.' on the next screen. Afterwards funny stuff like these happen:
https://imgur.com/vMzzeps
https://imgur.com/KqAGTPD
I can't mod at all but took a look into the module system and my guess is that probably some code with this quest mishandles the
s18 variable(?). I found this line in module_game_menus.py:
("camp_recruit_prisoners",0,
"You offer your prisoners freedom if they agree to join you as soldiers. {s18}",
I checked where s18 is also used and it's used in the scouting missions of companions to show the name of the kingdom they can gather intel on; it's also used to show text when recruiting volunteers in villages and for some dialog where lords name their rivals. After this bug rears its head I can't recruit from prisoners any more as instead of showing the number and type of troops willing to join me it shows a lord's name, a kingdom's name or the villager recruiting text depending on where s18 was used latest. For the example images above I recruited villagers / spoke to Artimenner about gathering intel in Durquba right before entering the 'Recruit prisoners' page through the Camp menu.
Can this be fixed mid game by editing some .py file or do I have to go back to the latest uncorrupted save and avoid this quest (or at least this option inside it) for the rest of my current playthrough?