Made Letters Translatable, fixes #58

This commit is contained in:
Vegapnk 2023-07-27 08:14:46 +02:00
parent 051f67af55
commit 70a15dbfed
5 changed files with 17 additions and 4 deletions

View file

@ -85,7 +85,7 @@ namespace RJW_Genes
if(colonyJoiners.Contains(pawn))
{
RecruitUtility.Recruit(pawn, Faction.OfPlayer);
Find.LetterStack.ReceiveLetter("Guest Joins", string.Format("{0} enjoys it here and has decided to stay", xxx.get_pawnname(pawn)), LetterDefOf.PositiveEvent, pawn, null, null, null, null);
Find.LetterStack.ReceiveLetter("rjw_genes_succubus_joins_letter_label".Translate(), string.Format("rjw_genes_succubus_joins_letter_description".Translate(), xxx.get_pawnname(pawn)), LetterDefOf.PositiveEvent, pawn, null, null, null, null);
}
else
{