Example #1
0
 public static void OnLoad()
 {
     // Combat
     KeyBindings.RegisterAction(RestAll, () => CheatsCombat.RestAll());
     KeyBindings.RegisterAction(RestSelected, () => Cheats.RestSelected());
     KeyBindings.RegisterAction(Empowered, () => CheatsCombat.Empowered(""));
     KeyBindings.RegisterAction(FullBuffPlease, () => CheatsCombat.FullBuffPlease(""));
     KeyBindings.RegisterAction(GoddesBuffs, () => CheatsCombat.Iddqd(""));
     KeyBindings.RegisterAction(RemoveBuffs, () => Actions.RemoveAllBuffs());
     KeyBindings.RegisterAction(RemoveDeathsDoor, () => CheatsCombat.DetachDebuff());
     KeyBindings.RegisterAction(KillAllEnemies, () => CheatsCombat.KillAll());
     //KeyBindings.RegisterAction(SummonZoo, () => CheatsCombat.SpawnInspectedEnemiesUnderCursor(""));
     KeyBindings.RegisterAction(LobotomizeAllEnemies, () => Actions.LobotomizeAllEnemies());
     // Common
     KeyBindings.RegisterAction(TeleportPartyToYou, () => Teleport.TeleportPartyToPlayer());
     KeyBindings.RegisterAction(GoToGlobalMap, () => Teleport.TeleportToGlobalMap());
     KeyBindings.RegisterAction(RerollPerception, () => Actions.RunPerceptionTriggers());
     KeyBindings.RegisterAction(RerollInteractionSkillChecks, () => Actions.RerollInteractionSkillChecks());
     KeyBindings.RegisterAction(ChangeParty, () => { Actions.ChangeParty(); });
     KeyBindings.RegisterAction(ChangWeather, () => CheatsCommon.ChangeWeather(""));
     // Other
     KeyBindings.RegisterAction(TimeScaleMultToggle, () => {
         settings.useAlternateTimeScaleMultiplier = !settings.useAlternateTimeScaleMultiplier;
         Actions.ApplyTimeScale();
     });
     KeyBindings.RegisterAction(PreviewDialogResults, () => {
         settings.previewDialogResults = !settings.previewDialogResults;
         var dialogController          = Game.Instance.DialogController;
     });
     KeyBindings.RegisterAction(ResetAdditionalCameraAngles, () => {
         Main.resetExtraCameraAngles = true;
     });
 }