This commit is contained in:
AquaSG committed 2024-05-10 00:58:46 -04:00
commit e304bc9e37
3 files changed
+14 -1

No files matched your search

@@ -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
@@ -183,7 +183,15 @@ namespace CalamityMod.UI.DraedonSummoning
/// <summary>
/// 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.
/// </summary>
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);
}
}
/// <summary>
/// The text of the previously hovered topic option. This is used to ensure hover clicking sounds only play if the sound type changes.
+1
View File
@@ -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