diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 9d2b324962..ede9fc3c6a 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -159,6 +159,10 @@ DebuffSystem: { // Draedon Contact UI. Repeated newlines indicate pauses in Draedon's speaking. As a result, newline characters may be explicitly defined. // The code that interprets these strings will transform them. +CommunicationStartInitial: ... +CommunicationStartNoForge: Craft something using my Forge, then return. +CommunicationStartNormal: State your inquiry. + Communication: { WhoAreYou: { Inquiry: Introduction diff --git a/UI/DraedonSummoning/CodebreakerUI.Communication.cs b/UI/DraedonSummoning/CodebreakerUI.Communication.cs index cc1714ac74..dbaf034117 100644 --- a/UI/DraedonSummoning/CodebreakerUI.Communication.cs +++ b/UI/DraedonSummoning/CodebreakerUI.Communication.cs @@ -183,7 +183,15 @@ namespace CalamityMod.UI.DraedonSummoning /// /// The text Draedon starts off with when you interact with the codebreaker. The first time you see him he says nothing, but in successive calls he asks what your inquiry is. /// - public static string InquiryText => Main.LocalPlayer.Calamity().HasTalkedAtCodebreaker ? "State your inquiry." : "..."; + public static string InquiryText + { + get + { + var mp = Main.LocalPlayer.Calamity(); + string key = mp.HasTalkedAtCodebreaker ? (mp.HasCraftedDraedonsForge ? "UI.CommunicationStartNormal" : "UI.CommunicationStartNoForge") : "UI.CommunicationStartInitial"; + return CalamityUtils.GetTextValue(key); + } + } /// /// The text of the previously hovered topic option. This is used to ensure hover clicking sounds only play if the sound type changes. diff --git a/build.txt b/build.txt index 4ae2df0d93..e72a263356 100644 --- a/build.txt +++ b/build.txt @@ -1,6 +1,7 @@ author = Fabsol and the Dev Team version = 2.0.3.011 displayName = Calamity Mod +modReferences = CalamityModMusic homepage = https://discord.gg/calamity buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*, .github\*, LICENSE, README.md, .editorconfig, .gitignore, .gitattributes, Effects\Compiler\* hideCode = false