コード例 #1
0
ファイル: Lang.cs プロジェクト: egshels/Sources
        public static string BestiaryGirlChat(NPC npc)
        {
            object obj        = CreateDialogSubstitutionObject(npc);
            string startsWith = "BestiaryGirlChatter.";

            if (npc.ShouldBestiaryGirlBeLycantrope())
            {
                startsWith = "BestiaryGirlLycantropeChatter.";
            }
            return(Language.SelectRandom(CreateDialogFilter(startsWith, obj)).FormatWith(obj));
        }
コード例 #2
0
        public static string BestiaryGirlChat(NPC npc)
        {
            object substitutionObject = Lang.CreateDialogSubstitutionObject(npc);
            string startsWith         = "BestiaryGirlChatter.";

            if (npc.ShouldBestiaryGirlBeLycantrope())
            {
                startsWith = "BestiaryGirlLycantropeChatter.";
            }
            return(Language.SelectRandom(Lang.CreateDialogFilter(startsWith, substitutionObject), (UnifiedRandom)null).FormatWith(substitutionObject));
        }