- Added a home position for the phone to reset to.
- Improved round 2 explanations during the chain and phone call segments. - Improved functionality of the phone call.
This commit is contained in:
@@ -320,6 +320,21 @@ public class CaseManager : UdonSharpBehaviour
|
||||
return "[[ERROR]]";
|
||||
}
|
||||
|
||||
public string ContinentToString(ContinentMap Continent)
|
||||
{
|
||||
switch (Continent)
|
||||
{
|
||||
case ContinentMap.Africa: return "Africa";
|
||||
case ContinentMap.Asia: return "Asia";
|
||||
case ContinentMap.Europe: return "Europe";
|
||||
case ContinentMap.NorthAmerica: return "North America";
|
||||
case ContinentMap.Oceania: return "Oceania";
|
||||
case ContinentMap.SouthAmerica: return "South America";
|
||||
}
|
||||
|
||||
return "[[ERROR]]";
|
||||
}
|
||||
|
||||
public string GetAccusedCrook()
|
||||
{
|
||||
return CrookToString(_AccusedCrook);
|
||||
|
||||
@@ -265,9 +265,14 @@ public class GameManagerRound2 : GameManagerBase
|
||||
|
||||
private void RoundWinner()
|
||||
{
|
||||
HostCardRecoverTheLootEndInterface EndRecoverTheLootInterface =
|
||||
(HostCardRecoverTheLootEndInterface)GetHostCardInterface(RoundSegmentType.EndRecoverTheLoot);
|
||||
EndRecoverTheLootInterface.HeaderUI.text = "END";
|
||||
HostCardBetweenRoundsInterface BetweenRoundsInterface =
|
||||
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
|
||||
BetweenRoundsInterface.HeaderUI.text = "Winner: " + _CaseManager.GetCurrentWinningPlayers()[0];
|
||||
BetweenRoundsInterface.CommentUI.text =
|
||||
"- You recovered " + _CaseManager.GetLoot() + "\n" +
|
||||
"- You captured " + _CaseManager.GetCrookName() + "\n" +
|
||||
"- Now all you have to do is pull on that chain and put " + _CaseManager.GetCrookName() + " in jail\n\n" +
|
||||
"- We should be receiving a phone call from " + _CaseManager.GetCrookName() + " shortly...";
|
||||
|
||||
_JailChain.Show = true;
|
||||
|
||||
@@ -277,6 +282,11 @@ public class GameManagerRound2 : GameManagerBase
|
||||
|
||||
private void PhoneCall()
|
||||
{
|
||||
HostCardBetweenRoundsInterface BetweenRoundsInterface =
|
||||
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
|
||||
BetweenRoundsInterface.HeaderUI.text = "Phone Call: " + _CaseManager.GetCrookName();
|
||||
BetweenRoundsInterface.CommentUI.text = "- You and I are going to " + _CaseManager.ContinentToString(_CaseManager.GetFinalRoundContinent());
|
||||
|
||||
_JailPhone.Activate = true;
|
||||
|
||||
EnableInteraction("Go To The Map");
|
||||
|
||||
Reference in New Issue
Block a user