CU Cheats v1.9.1 (FINAL) - Casualties: Unknown


*** CU CHEATS IS RETIRED ***
This is the last version. It keeps working, but it won't get new features.
Everything it does, and much more, is in my free standalone trainer,
Ultra Paradise CU:Trainer:
  https://www.nexusmods.com/scavprototype/mods/1203
The trainer and CU Cheats don't mix: turn CU Cheats off before using it
(see RETIRED below). Mac players: keep using CU Cheats until the trainer's
macOS version is out.


A free BepInEx mod with 70+ cheats for Casualties: Unknown: God Mode, healing,
survival, movement and flying, crafting, item spawning, weapons, enemies,
traps, world and camera cheats, trader cheats, plus a set of Challenges that
make the game harder. All in one clickable, tabbed menu, with a live debug
overlay and an advanced terminal window. No time limits, no account.
Single-player only. Built for the full release of Casualties: Unknown (Steam).


WHAT YOU NEED
-------------
- Casualties: Unknown (Windows, Steam version)
- BepInEx 5 (x64). Download it here:
  https://github.com/BepInEx/BepInEx/releases
  Pick the file named "BepInEx_win_x64_5.4.x.x.zip" (version 5, NOT version 6).


HOW TO INSTALL
--------------
1. Find your game folder.
   In Steam: right-click Casualties Unknown > Manage > Browse local files.
   It's the folder that has CasualtiesUnknown.exe in it.

2. Install BepInEx (skip if you already have it):
   - Unzip the BepInEx zip straight into the game folder.
     You should now see "BepInEx", "winhttp.dll" and "doorstop_config.ini"
     next to CasualtiesUnknown.exe.
   - Start the game once and let it reach the main menu, then close it.
     This creates BepInEx's folders and config.

3. Install CU Cheats:
   - Copy the "BepInEx" folder from this zip into the game folder and
     say yes to merging. CUCheats.dll should end up in:
       <game folder>\BepInEx\plugins\CUCheats.dll

4. IMPORTANT, do this or the menu and hotkeys won't work:
   - Open <game folder>\BepInEx\config\BepInEx.cfg in Notepad.
   - Find the line:   HideManagerGameObject = false
   - Change it to:    HideManagerGameObject = true
   - Save the file.

5. Start the game. Done.

To check it loaded, look for the orange "> CUCheats.dll v1.9.1 loaded"
message in the bottom-left of the main menu, or open
<game folder>\BepInEx\LogOutput.log and look for:
  "CU Cheats loaded. F10 = cheat menu, F9 = debug overlay."

Updating from an older version: just replace CUCheats.dll.


HOTKEYS
-------
  F10  Open/close the CU Cheats menu
  F9   Debug overlay on/off

Everything is in the F10 menu, split into tabs. Click a checkbox to turn a
cheat on or off, or a button to do something once:

  PLAYER
    - God Mode, No Fall Damage, Infinite Stamina
    - No Hunger, No Thirst, No Tiredness (you can't sleep while this is on)
    - Protection: No Bleeding, No Pain, No Infection, No Sickness,
      No Radiation Sickness, Unlimited Oxygen, Stable Body Temperature,
      Faster Healing
    - Buttons: Heal All Wounds, Reattach Limbs
    - Mood: Mood Locker, Max Mood, +10, -10 and -50 buttons
    - Skills: Increased XP Gain, Strength / Resilience / Intelligence buttons

  MOVEMENT
    - Faster Movement, Faster Climbing, Higher Jumps
    - Unlimited Jumps (jump in mid-air), Unlimited Wall Jumps
    - Low Gravity, No Over-Encumbrance
    - Fly Mode, Noclip (fly through walls)
    - Middle-Click Teleport, Teleport to Layer Exit

  ITEMS
    - Free Crafting, No Crafting Failures, Show All Recipes
    - No Item Degradation, Unlimited Liquids, Unlimited Battery
    - Master Lockpicker
    - Starter Kit, Random Loadout
    - Spawn Item: search any item in the game and spawn x1, x5 or x10

  COMBAT
    - Unlimited Ammo, No Gun Jams, No Recoil
    - Increased Damage, Faster Attacks, One-Hit Kills, Instant Mine
    - Freeze Enemies, Invisibility, Disable Traps
    - Buttons: Kill All Enemies, Spider Ambush

  WORLD
    - Pause Radiation Line, Longer Escape Timer, Increased Loot
    - Previous Layer, Skip Layer
    - No Earthquakes, Start Earthquake, Fungal Downpour
    - Full Bright, Free Camera, Camera Zoom slider, Game Speed slider
    - Unlock All Characters

  TRADERS (only use these while in game, during a run, next to a survivor)
    - Max Reputation, Free Shopping
    - Trade credit buttons, Infinite credit and Refresh Inventory

  CHALLENGES (make the game harder, see below)

  SETTINGS
    - Terminal window (logs everything)

God Mode and No Fall Damage are ON by default, everything else is OFF.
A message shows in the top-left corner when you toggle a cheat, and a small
"cucheats enabled" mark sits in the bottom-right while any cheat is on.


STARTUP WARNING
---------------
Every time the game reaches the main menu, a popup suggests beating the game
without cheats first. You can:
  - Close the game and open the mod folder: the game closes and the folder
    with CUCheats.dll opens, so you can move or delete it.
  - I'm a Cheater Cheater Pumpkin Eater: closes the popup and you
    play with the mod.
Once you've beaten the game on this PC (any ending that unlocks a new
character), the popup doesn't show anymore.


RETIRED
-------
Once per game launch, after the startup warning, the main menu shows a
notice that CU Cheats is retired, with these buttons:
- GET THE TRAINER: opens the Ultra Paradise CU:Trainer page on Nexus.
- Turn CU Cheats off for me: from the next launch, CU Cheats loads nothing
  at all (no menu, no cheats, no patches), so it can't clash with the
  trainer. This sets TurnedOff = true in [General] of the config file; set it
  back to false to use CU Cheats again. You can also just delete
  BepInEx\plugins\CUCheats.dll.
- Keep using it: closes the notice. CU Cheats works as before.
- Don't show this again: also in F10 > Settings (Retirement notice), or
  ShowRetiredNotice in [General] of the config file.


SINGLE-PLAYER ONLY (MULTIPLAYER LOCK)
------------------------------------
CU Cheats turns itself off completely if it finds a multiplayer mod, like
Casualties Together (KrokMP) and its add-ons. Networking libraries (like
LiteNetLib) that other mods use don't count on their own.
A popup tells you what it found. No cheats, menu or overlay will work that
session, so it can't ruin the fun for your friends.
To use the cheats in single-player, you don't have to remove Casualties
Together: switch it off in its own menu (MP Mod Menu > Settings > General >
Deactivate Multiplayer Mod). When it's switched off, CU Cheats ignores it
and its add-ons. Switch it back on and the lock comes back. Other
multiplayer mods still have to be removed.
If you DON'T have a multiplayer mod installed, it's a false alarm: please
send a bug report right away on the Nexus page (Bugs tab), with the
"Found" line from the popup and your BepInEx\LogOutput.log file.


WHAT IT DOES
------------
No Fall Damage
  - Falls and hard impacts don't hurt you.
  - Your character still screams mid-fall and comments on hard landings,
    but takes no damage.
  - You still ragdoll on big landings.

God Mode
  - You can't die or get hurt. Health, blood, bleeding, infection,
    radiation, temperature, etc. are reset instantly every frame.
  - No broken bones or dislocations.
  - Your character doesn't complain about injuries God Mode already
    healed (glass in the foot, pain, bleeding, creature hits, ...).
  - Hunger and thirst never drop below 30%, so you won't starve,
    but you still need to eat and drink (or turn on No Hunger / No Thirst).
  - You still get tired and can sleep normally.
  - Explosions (landmines, grenades, ...) still throw you and knock you
    down for about 1.5 seconds, and your character still reacts to the
    blast. But you won't lose limbs, eyes, hearing or armor durability.
  - God Mode steps aside in two cases so the game can still end a run:
    * Give Up (quit button pressed 4 times): your character dies as normal.
    * Suicide: if your mood drops to about -90 and you stand still too long,
      your character attempts suicide and God Mode turns off for it.
      With a gun that's instant death. Without one it's heavy bleeding,
      and God Mode comes back if you survive.
    Small self-harm (mood -70 to -90) can't kill and is still healed.
    Keeping your mood up with the Mood Locker prevents all of this.

Infinite Stamina
  - Stamina stays full: sprint, climb and jump as much as you want.

No Hunger / No Thirst / No Tiredness
  - Keep hunger, thirst or energy full.
  - The game only lets you sleep when energy is low, so you can't sleep
    while No Tiredness is on.

Instant Mine
  - Your melee hits (pickaxe, fists, any melee) break a block in one hit,
    including metal, copper, ilmenite and mantle.
  - Blocks the game makes unbreakable (infinirock, indestructible alloy)
    stay unbreakable.

Unlimited Ammo
  - Your gun never runs out. Load it once (put a magazine in, or a shell in
    the shotgun) and it refills after every shot. You still rack, and guns
    can still jam when they're in bad condition.

Longer Escape Timer
  - At the end lab, the countdown before the guards come is 2 minutes
    instead of 1. Turn it on before the countdown starts, or during it to
    add 60 seconds to what's left.

Mood
  - The MOOD section in the F10 menu shows your current mood.
  - Mood Locker: keeps your mood exactly where it is when you turn it on
    and clears trauma. Nothing in the game can raise or lower it.
  - Max Mood sets your mood as high as it goes. +10, -10 and -50 move it
    up or down. With the Mood Locker on, the buttons change the locked value.
  - Careful: very low mood can cause self-harm and suicide attempts.

Freeze Enemies
  - Guards, turrets, ceiling turrets, laser drones, crystal enemies,
    spiders, the elder thornback, scrap eaters and bloodsuckers can't move
    or attack. You can still kill them, and dead ones fall as normal.

One-Hit Kills
  - Your melee hits and gunshots kill enemies and creatures in one hit.
    Survivors (traders) are never affected.

Traders
  - Max Reputation: the nearby survivor always has max reputation and is
    never hostile, so you get their best prices and they always trade.
  - Free Shopping: everything survivors sell costs 0 credit.
  - Refresh Inventory: rerolls what the nearby survivor is selling.
  - Trade credit: the game has no money. Survivors trade by barter: items
    you give them turn into credit (the coin number in their trade menu).
    During a run, stand near a survivor (within 20m), open the F10 menu
    and add credit (+10 / +50 / +100 / +1000), take some away, or reset it.
    'Infinite credit' keeps the nearby survivor's credit at 9999.
    Added credit isn't capped. Credit belongs to each survivor.

Protection (Player tab)
  - Pick single protections without full God Mode: No Bleeding, No Pain,
    No Infection, No Sickness (also venom), No Radiation Sickness,
    Unlimited Oxygen and Stable Body Temperature (always 37C).
  - Faster Healing: wounds, bones and blood heal 3x faster.
  - Heal All Wounds: heals every limb and resets your vitals at once
    (broken bones, dislocations, bleeding, infection...).
  - Reattach Limbs: puts lost limbs back (not prosthetics).

Skills (Player tab)
  - Increased XP Gain: 3x experience.
  - Strength, Resilience and Intelligence buttons raise or lower each skill.

Movement
  - Faster Movement (x1.6), Faster Climbing (x2) and Higher Jumps (x1.5).
  - Unlimited Jumps lets you jump again in mid-air. Unlimited Wall Jumps
    lets you wall-jump as often as you like.
  - Low Gravity: you fall slower and jump further.
  - No Over-Encumbrance: never over-encumbered. A heavy inventory never slows
    you down, tires you out faster or slows your attacks.
  - Fly Mode: fly with your movement keys, Space goes up, Shift is faster.
    Walls still stop you. You take no impact damage while flying.
  - Noclip: fly straight through walls, Shift is faster.
  - Middle-Click Teleport: teleport to your mouse cursor.
  - Teleport to Layer Exit: takes you to the bottom of the layer, where the
    next one starts.

Items
  - Free Crafting: craft anything you know without the ingredients.
    Every known recipe shows as craftable.
  - No Crafting Failures: low Intelligence can't ruin a craft.
  - Show All Recipes: see every recipe, even ones far above your
    Intelligence (turn on No Crafting Failures as well to make them).
  - No Item Degradation: tools, weapons, armor, containers and batteries
    don't wear out. Food still spoils and liquids still drain.
  - Unlimited Liquids: bottles and containers never empty.
  - Unlimited Battery: flashlights and other battery items never run down.
  - Master Lockpicker: every lock opens the moment you turn it, with a
    lockpicking kit or bare claws. No hurt claws, no worn-out kit.
  - Starter Kit: the game's own kit of tools, medicine and supplies.
  - Random Loadout: 6 random items.
  - Spawn Item: type part of a name in the search box, pick x1, x5 or x10,
    and click the item. It goes in your inventory, or at your feet if
    you're full.

Combat
  - No Gun Jams and No Recoil (no kick and no vertical spread).
  - Increased Damage: your melee hits and gunshots do 2x damage.
  - Faster Attacks: 2.5x melee attack speed.
  - Invisibility: guards, turrets, drones, crystals, spiders, bloodsuckers,
    grabber plants and the elder thornback can't attack you.
  - Disable Traps: landmines, gun mines, bear traps, spike stabbers, fan
    traps, sound cannons and turrets do nothing.
  - Kill All Enemies: kills every enemy and creature on the layer.
    Survivors are never affected.
  - Spider Ambush: drops a few cave ticks around you. Good luck.

World
  - Pause Radiation Line: the radiation line and the layer timer stop.
  - Increased Loot: 2x loot, from the next layer you enter.
  - Previous Layer: goes back up to the layer above (a freshly made copy of
    it). Doesn't work on layer 1.
  - Skip Layer: jumps straight to the next layer.
  - No Earthquakes, or Start Earthquake to shake things up yourself.
  - Fungal Downpour: 60 seconds of fungal rain.
  - Full Bright: light up the whole cave.
  - Free Camera: move the camera on its own with the arrow keys.
  - Camera Zoom: 0.5x to 3x. Turns off the game's pixel-perfect scaling
    while you're zoomed.
  - Game Speed: 0.25x to 3x.
    Zoom and game speed go back to normal when you restart the game.
  - Unlock All Characters: PERMANENT. Marks every character as beaten on
    this PC, like you'd won with each of them.

You can change every multiplier (speed, jump height, gravity, fly speed,
healing, XP, damage, attack speed, loot) in cucheats.cfg under [Values].


CHALLENGES
----------
The Challenges tab makes the game harder instead. Challenges are not cheats:
the "cucheats enabled" mark doesn't show for them, and they stack with the
game's own custom run settings.
  - Fragile Body: you take double damage.
  - Faster Hunger and Thirst: x2.
  - Hopeless Start: no starting supplies (from your next new run).
  - Brittle Gear: items wear out 3x faster.
  - Stronger Enemies: creatures hit harder and every enemy takes half damage.
  - Fast Radiation Line: the layer timer runs twice as fast and the line
    moves faster.
  - Unchipped Mode: the game's own unchipped mode, any run.
  - Cold Caves: everything is 15C colder.
  - More Traps: x2 (from the next layer).
  - Loot Scarcity: less than half the loot (from the next layer).
Mix them with cheats if you want, for example Fragile Body with God Mode
off and Unlimited Ammo on.


Debug overlay (F9)
  - A draggable window showing engine info (FPS, memory, objects),
    world info (layer, biome, weather, earthquakes), entity counts
    (items, enemies, mines...), what the mod has blocked, and a live
    feed of mod actions, explosions and the game's own log messages.
  - A MOOD section warns you early: when mood gets low, when self-harm can
    start, and when a suicide attempt is possible.

Terminal window (advanced)
  - For advanced players, modders and bug hunting. Turn it on in the F10
    menu (Settings tab), or in the game's own Settings > Game tab
    ("Terminal window (CU Cheats)"). A separate console window opens next
    to the game and
    shows everything as it happens:
    * every log message from the game (with full stack traces for errors),
      from BepInEx and from every installed mod
    * everything CU Cheats does (undone damage, kills, refills, warnings)
    * events: scene loads, pausing, layer and biome changes, death,
      passing out, sleeping, what you're holding, and limbs breaking,
      dislocating, bleeding, getting infected or being lost
    * a full status block every 10 seconds: engine, world, entities, mood,
      every vital sign and every limb's health
    * when it opens: game, Unity, BepInEx and Harmony versions, your system
      (OS, CPU, GPU, RAM, screen), every loaded plugin, and every game
      method patched by Harmony together with the mods that patch it
  - Everything is also saved to <game folder>\BepInEx\CUCheats_terminal.log
    (started fresh each time the terminal opens). Handy for bug reports.
  - Turn it off in the F10 menu or the game's Settings. The window's X button is disabled on
    purpose: closing a console window would close the game with it.
  - Selecting text in the window pauses its output (the game keeps
    running). Press Esc or right-click to continue.

Achievements
  - The game turns off Steam achievements (until restart) when you use a
    console cheat command, and marks the save as cheated. CU Cheats removes
    that, so achievements stay on and the warning doesn't show.


SETTINGS
--------
After the first launch with the mod, settings are saved in:
  <game folder>\BepInEx\config\cucheats.cfg
You can change the default on/off state of every cheat and challenge, every
multiplier ([Values]) and the two hotkeys there. Cheats and challenges you
switch on stay on between sessions. In the [Debug] section, Terminal = true opens the terminal window
every launch, and TerminalStatusSeconds sets how often it prints the full
status block (default 10).


LIMITATIONS
-----------
- God Mode doesn't fix injuries you already had before turning it on.
  Use Heal All Wounds and Reattach Limbs (Player tab) for those.
- Saws, fan traps and amputation can still remove limbs in God Mode.
  Only explosions are prevented from doing it.
- One-Hit Kills and Increased Damage only count your own melee hits and
  gunshots, not thrown explosives.
- Loot and trap changes (Increased Loot, More Traps, Loot Scarcity) only
  apply to layers generated after you turn them on.
- A game update can break the mod. If it stops working after an update,
  check LogOutput.log for errors.


UNINSTALL
---------
- Remove only this mod: delete <game folder>\BepInEx\plugins\CUCheats.dll
- Remove all mods / BepInEx: delete winhttp.dll from the game folder
  (or delete winhttp.dll, doorstop_config.ini, .doorstop_version and the
  BepInEx folder).
- Steam > Verify integrity of game files also restores a clean game.
