Skip to content
Snippets Groups Projects
Commit 6ba56208 authored by Salomo309's avatar Salomo309
Browse files

feat: add cheats

parent c1f3cd6b
No related merge requests found
//using Nightmare;
//using System.Collections.Generic; //using System.Collections.Generic;
//using Unity.VisualScripting; //using Unity.VisualScripting;
//using UnityEngine; //using UnityEngine;
...@@ -36,42 +37,42 @@ ...@@ -36,42 +37,42 @@
// { // {
// NO_DAMAGE = new DebugCommand("no_damage", "Player Has No Damage.", "no_damage", () => // NO_DAMAGE = new DebugCommand("no_damage", "Player Has No Damage.", "no_damage", () =>
// { // {
// FindObjectOfType<PlayerHealth>().CheatNoDamage();
// }); // });
// ONE_HIT_KILL = new DebugCommand("one_hit_kill", "Player Can Kill Enemy with One Hit.", "one_hit_kill", () => // ONE_HIT_KILL = new DebugCommand("one_hit_kill", "Player Can Kill Enemy with One Hit.", "one_hit_kill", () =>
// { // {
// FindObjectOfType<PlayerShooting>().CheatOneHitKill();
// }); // });
// MOTHERLODE = new DebugCommand("motherlode", "Gain Resources.", "motherlode", () => // MOTHERLODE = new DebugCommand("motherlode", "Gain Resources.", "motherlode", () =>
// { // {
// FindObjectOfType<PlayerGold>().CheatMotherlode();
// }); // });
// DOUBLE_SPEED = new DebugCommand("double_speed", "Double Player Speed.", "double_speed", () => // DOUBLE_SPEED = new DebugCommand("double_speed", "Double Player Speed.", "double_speed", () =>
// { // {
// FindObjectOfType<PlayerMovement>().CheatDoubleSpeed();
// }); // });
// PET_FULL_HP = new DebugCommand("pet_full_hp", "Restore Pet's Health to Full.", "pet_full_hp", () => // PET_FULL_HP = new DebugCommand("pet_full_hp", "Restore Pet's Health to Full.", "pet_full_hp", () =>
// { // {
// FindObjectOfType<PetHeatlh>().CheatPetFullHP();
// }); // });
// KILL_PET = new DebugCommand("kill_pet", "Kill Pet.", "kill_pet", () => // KILL_PET = new DebugCommand("kill_pet", "Kill Pet.", "kill_pet", () =>
// { // {
// FindObjectOfType<PlayerShooting>().CheatKillPet();
// }); // });
// ORB = new DebugCommand("orb", "Spawn Orb.", "orb", () => // ORB = new DebugCommand("orb", "Spawn Orb.", "orb", () =>
// { // {
// FindObjectOfType<PlayerShooting>().CheatOrb();
// }); // });
// SKIP_LEVEL = new DebugCommand("skip_level", "Skip Current Level.", "skip_level", () => // SKIP_LEVEL = new DebugCommand("skip_level", "Skip Current Level.", "skip_level", () =>
// { // {
// FindObjectOfType<PlayerShooting>().CheatSkipLevel();
// }); // });
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment