diff --git a/DevourClient/DevourClient.csproj b/DevourClient/DevourClient.csproj
index ffc73e4..554a4b9 100644
--- a/DevourClient/DevourClient.csproj
+++ b/DevourClient/DevourClient.csproj
@@ -38,6 +38,10 @@
D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\Assembly-CSharp.dll
+
+ False
+ D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\BehaviorDesigner.Runtime.dll
+
False
D:\Jeux\steamapps\common\Devour\MelonLoader\Managed\bolt.dll
diff --git a/DevourClient/Hacks/Misc.cs b/DevourClient/Hacks/Misc.cs
index e443a39..fcf36b2 100644
--- a/DevourClient/Hacks/Misc.cs
+++ b/DevourClient/Hacks/Misc.cs
@@ -96,8 +96,19 @@ namespace DevourClient.Hacks
_azazel.gameObject.GetComponent().Spawn();
}
-
- public static void AutoRespawn()
+
+ public static void SpawnGoatOrRat(PrefabId _goatPrefabID)
+ {
+ GameObject _goat;
+ Vector3 pos = Player.GetPlayer().transform.position;
+
+ _goat = BoltNetwork.Instantiate(_goatPrefabID, new Vector3(pos.x, pos.y, pos.z + 1f), Quaternion.identity);
+ _goat.gameObject.GetComponent().Spawn();
+ BehaviorDesigner.Runtime.Behavior goat_behavior = _goat.gameObject.GetComponent().m_mainBehaviour;
+ goat_behavior.EnableBehavior();
+ }
+
+ public static void AutoRespawn()
{
NolanBehaviour nb = Player.GetPlayer();
diff --git a/DevourClient/MelonMain.cs b/DevourClient/MelonMain.cs
index 32f7c73..fd38884 100644
--- a/DevourClient/MelonMain.cs
+++ b/DevourClient/MelonMain.cs
@@ -370,12 +370,7 @@ namespace DevourClient
BoltNetwork.Instantiate(BoltPrefabs.SurvivalInmate, Player.GetPlayer().transform.position, Quaternion.identity);
}
- if (GUI.Button(new Rect(Settings.Settings.x + 580, Settings.Settings.y + 250, 120, 20), "Spider") && Player.IsInGameOrLobby())
- {
- BoltNetwork.Instantiate(BoltPrefabs.Spider, Player.GetPlayer().transform.position, Quaternion.identity);
- }
-
- if (GUI.Button(new Rect(Settings.Settings.x + 580, Settings.Settings.y + 280, 120, 20), "Zara") && Player.IsInGameOrLobby())
+ if (GUI.Button(new Rect(Settings.Settings.x + 580, Settings.Settings.y + 250, 120, 20), "Zara") && Player.IsInGameOrLobby())
{
BoltNetwork.Instantiate(BoltPrefabs.AzazelZara, Player.GetPlayer().transform.position, Quaternion.identity);
}
@@ -431,6 +426,23 @@ namespace DevourClient
{
BoltNetwork.Instantiate(BoltPrefabs.SurvivalMatchbox, Player.GetPlayer().transform.position, Quaternion.identity);
}
+
+ GUI.Label(new Rect(Settings.Settings.x + 880, Settings.Settings.y + 40, 120, 30), "Animals");
+
+ if (GUI.Button(new Rect(Settings.Settings.x + 880, Settings.Settings.y + 70, 110, 20), "Rat") && Player.IsInGameOrLobby())
+ {
+ Hacks.Misc.SpawnGoatOrRat((PrefabId)BoltPrefabs.SurvivalRat);
+ }
+
+ if (GUI.Button(new Rect(Settings.Settings.x + 880, Settings.Settings.y + 100, 110, 20), "Goat") && Player.IsInGameOrLobby())
+ {
+ Hacks.Misc.SpawnGoatOrRat((PrefabId)BoltPrefabs.SurvivalGoat);
+ }
+
+ if (GUI.Button(new Rect(Settings.Settings.x + 880, Settings.Settings.y + 130, 110, 20), "Spider") && Player.IsInGameOrLobby())
+ {
+ BoltNetwork.Instantiate(BoltPrefabs.Spider, Player.GetPlayer().transform.position, Quaternion.identity);
+ }
}
}
}