[Request] Shadows of Doubt
Posted: Tue Apr 25, 2023 10:53 pm
God Mode
Edit/Infinite Coins
Edit/Infinite Lock Picks
Invisibility/Stealth Mode
Freeze Time
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Code: Select all
using Il2Cpp;
using MelonLoader;
using ShadowsMod;
using UnityEngine;
[assembly: MelonInfo(typeof(ModClass), "Shadows of Doubt Mod", "1.0.0", "")]
[assembly: MelonGame("ColePowered Games", "Shadows of Doubt")]
namespace ShadowsMod
{
public class ModClass : MelonMod
{
public static ModClass instance;
public override void OnInitializeMelon()
{
instance = this;
instance.LoggerInstance.Msg("Shadows of Doubt mod init");
}
public override void OnLateUpdate()
{
Game gameInst = Game._instance;
if (gameInst == null)
{
return;
}
if (Input.GetKeyDown(KeyCode.F7))
{
bool status = !gameInst.devMode;
gameInst.devMode = status;
instance.LoggerInstance.Msg($"Devmode: {status}");
}
if (Input.GetKeyDown(KeyCode.F8))
{
gameInst.Give100Lockpicks();
}
if (Input.GetKeyDown(KeyCode.F9))
{
gameInst.GiveAllUpgrades();
}
if (Input.GetKeyDown(KeyCode.F10))
{
bool status = !gameInst.invisiblePlayer;
gameInst.invisiblePlayer = status;
gameInst.inaudiblePlayer = status;
instance.LoggerInstance.Msg($"Player invisible: {status}");
}
}
}
}