From b28c50268e02cb3e4b744b756ddac6b04bdf2dc4 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Fri, 7 Mar 2025 20:35:46 -0600 Subject: [PATCH] More Cirrus yapping. --- .../en-US/Mods.CalamityMod.NPCs.hjson | 15 ++++-- NPCs/TownNPCs/FAP.cs | 46 +++++++++++++++---- 2 files changed, 47 insertions(+), 14 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.NPCs.hjson b/Localization/en-US/Mods.CalamityMod.NPCs.hjson index 89d5c32b52..31a45cf1c7 100644 --- a/Localization/en-US/Mods.CalamityMod.NPCs.hjson +++ b/Localization/en-US/Mods.CalamityMod.NPCs.hjson @@ -355,18 +355,25 @@ FAP: { BloodMoon3: I'm trying to not be bitchy tonight, but it's hard when everyone else won't shut up. BloodMoonSlap1: Sorry, I have no moral compass at the moment. BloodMoonSlap2: I could slap you... but you've done more for me than most. What do you need? - Normal1: I HATE WALMART! ...Anyway, what do you want this time? - Normal2: Drink something that turns you into a magical flying unicorn so you can be just like me. - Normal3: Deals so good I'll [$$!$] myself! ...Sorry, just had a minor stroke! + Normal1: What do you want this time? I have an appointment to get my nails done in 5 minutes, make it quick. + Normal1Alt: Whaddya need? I have candles and alcohols galore! + Normal2: Maybe you should drink something that turns you into a magical flying unicorn, so you can be just like me. + Normal2Alt: Sometimes I think about returning to nature for a while to escape from all of this chaos. + Normal3: Deals so good I'll [$$!$] myself! ...Sorry, I may have just had a minor stroke! + Normal3Alt: I've been thinking more about the future lately. I can't say I'm not worried, but I'll be trying my best to make it better. Normal4: Did anyone ever tell you that large assets cause back pain? Well, they were right. + Normal4Alt: Do you have any idea how much extra money I make so {0} can afford her super fancy hair products? The back pain is worth it. Archmage: "{0} can share a drink with me any time! ...Or maybe not, I'm not sure his old heart could take it." BrimstoneWitch: The abuse {0} went through is something I can hardly comprehend. I'd offer her a drink, but I don't think she'd enjoy it. Tavernkeep1: My booze will always be better than {0}'s, and nobody can convince me otherwise. Tavernkeep2: Tell {0} to stop calling me. He's not wanted. Tavernkeep3: I've had to tell baldie where my eyes are so many times that I've lost count. - Stylist1: Ever since {0} moved in I haven't been drinking as much... a strange but not unwelcome feeling. + Stylist1: Ever since {0} moved in I haven't been drinking as much... a strange, but not unwelcome, feeling. + Stylist1Alt: I've stopped drinking almost entirely, thanks to {0} and... you. Thank you, for making this world a safer place. Stylist2: You can't stop me from trying to move in with {0}. + Stylist2Alt: If you have {0} and I housed in one of those so-called 'NPC prisons'... we WILL find you, and we WILL bring the scissors... Stylist3: I love it when {0}'s hands get sticky from all that... wax. + Stylist3Alt: {0} and I will be building wax figures tonight. And no, there's nothing weird about that. Day1: I'm literally balls drunk off my sass right now, what do you want? Day2: I'm either laughing because I'm drunk or because I've lost my mind, probably both. Day3: When I'm drunk I'm way happier... at least until the talking worms start to appear. diff --git a/NPCs/TownNPCs/FAP.cs b/NPCs/TownNPCs/FAP.cs index 6f871a1778..fc9b67ed9a 100644 --- a/NPCs/TownNPCs/FAP.cs +++ b/NPCs/TownNPCs/FAP.cs @@ -688,7 +688,8 @@ namespace CalamityMod.NPCs.TownNPCs int wife = NPC.FindFirstNPC(NPCID.Stylist); bool wifeIsAround = wife != -1; - bool beLessDrunk = wifeIsAround && NPC.downedMoonlord; + bool respectPlayer = NPC.downedMoonlord; + bool beLessDrunk = wifeIsAround && respectPlayer; if (Main.bloodMoon) { @@ -708,11 +709,24 @@ namespace CalamityMod.NPCs.TownNPCs WeightedRandom dialogue = new WeightedRandom(); - dialogue.Add(this.GetLocalizedValue("Chat.Normal1")); - dialogue.Add(this.GetLocalizedValue("Chat.Normal2")); - dialogue.Add(this.GetLocalizedValue("Chat.Normal3")); - if (ChildSafety.Disabled) - dialogue.Add(this.GetLocalizedValue("Chat.Normal4")); + if (!beLessDrunk) + { + dialogue.Add(this.GetLocalizedValue("Chat.Normal1")); + dialogue.Add(this.GetLocalizedValue("Chat.Normal2")); + dialogue.Add(this.GetLocalizedValue("Chat.Normal3")); + + if (ChildSafety.Disabled) + dialogue.Add(this.GetLocalizedValue("Chat.Normal4")); + } + else + { + dialogue.Add(this.GetLocalizedValue("Chat.Normal1Alt")); + dialogue.Add(this.GetLocalizedValue("Chat.Normal2Alt")); + dialogue.Add(this.GetLocalizedValue("Chat.Normal3Alt")); + + if (ChildSafety.Disabled) + dialogue.Add(this.GetLocalization("Chat.Normal4Alt").Format(Main.npc[wife].GivenName)); + } int tavernKeep = NPC.FindFirstNPC(NPCID.DD2Bartender); if (tavernKeep != -1) @@ -734,11 +748,23 @@ namespace CalamityMod.NPCs.TownNPCs if (wifeIsAround) { - dialogue.Add(this.GetLocalization("Chat.Stylist1").Format(Main.npc[wife].GivenName)); - if (ChildSafety.Disabled) + if (respectPlayer) { - dialogue.Add(this.GetLocalization("Chat.Stylist2").Format(Main.npc[wife].GivenName)); - dialogue.Add(this.GetLocalization("Chat.Stylist3").Format(Main.npc[wife].GivenName)); + dialogue.Add(this.GetLocalization("Chat.Stylist1Alt").Format(Main.npc[wife].GivenName)); + if (ChildSafety.Disabled) + { + dialogue.Add(this.GetLocalization("Chat.Stylist2Alt").Format(Main.npc[wife].GivenName)); + dialogue.Add(this.GetLocalization("Chat.Stylist3Alt").Format(Main.npc[wife].GivenName)); + } + } + else + { + dialogue.Add(this.GetLocalization("Chat.Stylist1").Format(Main.npc[wife].GivenName)); + if (ChildSafety.Disabled) + { + dialogue.Add(this.GetLocalization("Chat.Stylist2").Format(Main.npc[wife].GivenName)); + dialogue.Add(this.GetLocalization("Chat.Stylist3").Format(Main.npc[wife].GivenName)); + } } }