Add tutorial system. Fox bugs raised by the group chat
This commit is contained in:
@@ -46,15 +46,15 @@ public class GuardManager : MonoBehaviour, IDescribable
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (isfocussed == 2 && focusLight.intensity < 200)
|
||||
if (isfocussed == 2 && focusLight.intensity < 250)
|
||||
{
|
||||
focusLight.intensity += Time.deltaTime * 100;
|
||||
}
|
||||
else if (isfocussed == 1 && focusLight.intensity < 100)
|
||||
else if (isfocussed == 1 && focusLight.intensity < 150)
|
||||
{
|
||||
focusLight.intensity += Time.deltaTime * 100;
|
||||
}
|
||||
else if (isfocussed == 0 && focusLight.intensity > 60)
|
||||
else if (isfocussed == 0 && focusLight.intensity > 100)
|
||||
{
|
||||
focusLight.intensity -= Time.deltaTime * 100;
|
||||
}
|
||||
@@ -148,24 +148,39 @@ public class GuardManager : MonoBehaviour, IDescribable
|
||||
|
||||
public string GetName()
|
||||
{
|
||||
return type;
|
||||
if (type == "TRUTHER")
|
||||
{
|
||||
return "Veritas";
|
||||
}
|
||||
else if (type == "LIAR")
|
||||
{
|
||||
return "Vesper";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Jester";
|
||||
}
|
||||
}
|
||||
|
||||
public string GetDescribeName()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(mod))
|
||||
{
|
||||
return mod;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "plain guard";
|
||||
}
|
||||
return GetUnknownDescription().CapitalizeFirstLetter();
|
||||
}
|
||||
|
||||
public string GetDescription()
|
||||
{
|
||||
return "Describe " + type;
|
||||
if (type == "TRUTHER")
|
||||
{
|
||||
return "Sworn by oath to always tell the truth, at all costs.";
|
||||
}
|
||||
else if (type == "LIAR")
|
||||
{
|
||||
return "Cursed to always tell the opposite of the truth, no matter his real intentions.";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Things are slow in the King's chamber, comes down here for laughs.";
|
||||
}
|
||||
}
|
||||
|
||||
public string GetUnknownDescription()
|
||||
|
||||
Reference in New Issue
Block a user