Fix some bugs

This commit is contained in:
WillJeynes
2026-08-28 22:02:44 +01:00
parent 63b2798432
commit 44c59c425c
22 changed files with 596 additions and 29 deletions
+5 -5
View File
@@ -27,7 +27,7 @@ public class GuardManager : MonoBehaviour, IDescribable
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
if (mod == "SHORT")
if (mod == "BLUE")
{
GetComponentInChildren<Renderer>().material = GuardMaterials.ByKey("OTHER");
}
@@ -54,7 +54,7 @@ public class GuardManager : MonoBehaviour, IDescribable
{
focusLight.intensity += Time.deltaTime * 100;
}
else if (isfocussed == 0 && focusLight.intensity > 30)
else if (isfocussed == 0 && focusLight.intensity > 60)
{
focusLight.intensity -= Time.deltaTime * 100;
}
@@ -170,9 +170,9 @@ public class GuardManager : MonoBehaviour, IDescribable
public string GetUnknownDescription()
{
if (mod == "SHORT")
if (mod == "BLUE")
{
return "the short guard";
return "the blue guard";
}
else if (mod == "HAT")
{
@@ -188,7 +188,7 @@ public class GuardManager : MonoBehaviour, IDescribable
}
else
{
return "the plain guard";
return "the red guard";
}
// add more modification here
}