Function added for the "Rituel book" button

This commit is contained in:
jadis0x
2023-01-10 22:45:13 +03:00
committed by GitHub
parent 81dce606f1
commit 5c14210fd4

View File

@@ -443,12 +443,12 @@ namespace DevourClient
if (GUI.Button(new Rect(Settings.Settings.x + 730, Settings.Settings.y + 280, 110, 20), "Bleach") && Player.IsInGameOrLobby())
{
Hacks.Misc.CarryObject("SurvivalBleach");
}
if (GUI.Button(new Rect(Settings.Settings.x + 730, Settings.Settings.y + 310, 110, 20), "Ritual Book") && Player.IsInGameOrLobby())
{
BoltNetwork.Instantiate(BoltPrefabs.SurvivalRitualBook, Player.GetPlayer().transform.position, Quaternion.identity);
Hacks.Misc.CarryObject("RitualBook-Active-1");
}
if (GUI.Button(new Rect(Settings.Settings.x + 730, Settings.Settings.y + 340, 110, 20), "Matchbox") && Player.IsInGameOrLobby())