Всё проблема решена следующим скриптом.
(
"town_hire_farmers",0,
"Their clothing is tattered and their pockets are empty, but their bravery has no boundaries. They have been driven out of their lands for different reasons and their husbands have been killed in the wars, and now the only way for these women make a living is to join a mercenary band. 100 denars each refugee.",
"none",
[],
[
("farmer1",[(store_troop_gold,":total_money","trp_player"),(ge, ":total_money",100),
(party_get_free_companions_capacity, ":free_capacity", "p_main_party"),
(ge, ":free_capacity",1),
],"1 Refugee.",
[
(party_add_members, "p_main_party", "trp_refugee", 1),
(troop_remove_gold, "$g_player_troop", 100),
]),
("farmer5",[(store_troop_gold,":total_money","trp_player"),(ge, ":total_money",500),
(party_get_free_companions_capacity, ":free_capacity", "p_main_party"),
(ge, ":free_capacity",5),
],"5 Refugee.",
[
(party_add_members, "p_main_party", "trp_refugee", 5),
(troop_remove_gold, "$g_player_troop", 500),
]),