Skip to content

Commit

Permalink
4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iiDk committed Jul 27, 2024
1 parent 305f157 commit 1b411bb
Show file tree
Hide file tree
Showing 18 changed files with 948 additions and 335 deletions.
2 changes: 1 addition & 1 deletion Classes/ColorChanger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public override void Update()
}
else
{
if (!GorillaTagger.Instance.offlineVRRig.mainSkin.material.name.Contains("fected"))
if (!Menu.Main.PlayerIsTagged(GorillaTagger.Instance.offlineVRRig))
{
gameObjectRenderer.material.color = GorillaTagger.Instance.offlineVRRig.mainSkin.material.color;
} else
Expand Down
314 changes: 231 additions & 83 deletions Menu/Main.cs

Large diffs are not rendered by default.

219 changes: 172 additions & 47 deletions Mods/Advantages.cs

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions Mods/Battle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void BattleStartGame()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.StartBattle();
}
}
Expand All @@ -42,7 +42,7 @@ public static void BattleEndGame()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.BattleEnd();
}
}
Expand All @@ -58,7 +58,7 @@ public static void BattleRestartGame()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.BattleEnd();
lol.StartBattle();
}
Expand All @@ -75,7 +75,7 @@ public static void BattleBalloonSpamSelf()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[PhotonNetwork.LocalPlayer.ActorNumber] = UnityEngine.Random.Range(0, 4);
}
}
Expand All @@ -91,7 +91,7 @@ public static void BattleBalloonSpam()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
foreach (Photon.Realtime.Player loln in PhotonNetwork.PlayerList)
{
lol.playerLives[loln.ActorNumber] = UnityEngine.Random.Range(0, 4);
Expand Down Expand Up @@ -122,7 +122,7 @@ public static void BattleKillGun()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[owner.ActorNumber] = 0;
}
}
Expand All @@ -141,7 +141,7 @@ public static void BattleKillSelf()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[PhotonNetwork.LocalPlayer.ActorNumber] = 0;
}
}
Expand All @@ -157,7 +157,7 @@ public static void BattleKillAll()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
foreach (Photon.Realtime.Player loln in PhotonNetwork.PlayerList)
{
lol.playerLives[loln.ActorNumber] = 0;
Expand Down Expand Up @@ -188,7 +188,7 @@ public static void BattleReviveGun()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[owner.ActorNumber] = 4;
}
}
Expand All @@ -207,7 +207,7 @@ public static void BattleReviveSelf()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[PhotonNetwork.LocalPlayer.ActorNumber] = 4;
}
}
Expand All @@ -223,7 +223,7 @@ public static void BattleReviveAll()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
foreach (Photon.Realtime.Player loln in PhotonNetwork.PlayerList)
{
lol.playerLives[loln.ActorNumber] = 4;
Expand All @@ -242,7 +242,7 @@ public static void BattleGodMode()
}
else
{
GorillaBattleManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaBattleManager>();
GorillaPaintbrawlManager lol = GameObject.Find("Gorilla Battle Manager").GetComponent<GorillaPaintbrawlManager>();
lol.playerLives[PhotonNetwork.LocalPlayer.ActorNumber] = 4;
GorillaLocomotion.Player.Instance.disableMovement = false;
}
Expand Down
Loading

0 comments on commit 1b411bb

Please sign in to comment.