Add level selection system. Add levels upto jester

This commit is contained in:
WillJeynes
2026-08-27 10:49:57 +01:00
parent e24539fbb1
commit 0767961bc0
50 changed files with 5381 additions and 68 deletions
+14 -2
View File
@@ -69,12 +69,24 @@ public class SpeechManager : Singleton<SpeechManager>
private void NextText()
{
var item = textBuffer.Dequeue();
speaker = item.Value;
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "GUARD")
{
Debug.LogError("HORSE");
mainText.text = item.Key;
playerPanel.SetActive(false);
otherPanel.SetActive(false);
AudioManager.Instance.PlaySound("Horse");
return;
}
Status = "TALKING";
AudioManager.Instance.PlaySound("Select");
var item = textBuffer.Dequeue();
ccoroutine = StartCoroutine(TypeTextUncapped(item.Key));
speaker = item.Value;
if (speaker == "PLAYER")
{