Is this what you're talking about, and if so, what do I do with it? Let's pretend for argument sake that I'm not familiar with the module system and have limited my tweaking of the game to text tweaks...
I think the original modification took the code from giving troops to Lords, but didn't provide the script for the farmer piece other than the below.
Thanks.
[
anyone|plyr,
"village_farmer_talk",
[
(eq, "$g_encountered_party_faction", "$players_kingdom"),
],
"I'm leaving some of my soldiers with you, to escort you.",
"farmers_give_troops",
[],
],
[
anyone,
"farmers_give_troops",
[],
"Thank you, {sir/madam}.",
"do_farmers_give_troops",
[
#(change_screen_give_members),
(change_screen_exchange_members),
],
],
[
anyone,
"do_farmers_give_troops",
[],
"Anything else, {sir/madam}?",
"village_farmer_talk",
[],
],