You are viewing a potentially older version of this package. View all versions.
Lega-CursedScraps-2.0.5 icon

CursedScraps

Some scraps may appear cursed, offering a more attractive price, but you will have to face this curse until reaching the ship.

Date uploaded a week ago
Version 2.0.5
Download link Lega-CursedScraps-2.0.5.zip
Downloads 4555
Dependency string Lega-CursedScraps-2.0.5

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Evaisa-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5
Evaisa-LethalLib-0.11.2 icon
Evaisa-LethalLib

My modding tools for Lethal Company

Preferred version: 0.11.2

README

Cursed Scraps

Cursed Scraps is a mod inspired by Strange Objects, revisiting the original concept but with different effects. Special thanks to the author of this other mod for their original idea, which inspired me to create my own version.

Description

Some scraps may appear cursed, offering a more attractive value, but you will have to face this curse until you return to the ship. When a cursed scrap is picked up, the curse is shared with the player, but this doesn't prevent another player from acquiring the same curse if they pick up the same scrap later. The curse remains active until the player returns to the ship, where all curses are removed. Storing a cursed scrap in the ship removes its curse, but its value remains the same.

Holy Water

This new item can spawn in the factory, and it can only be used when a curse is affecting the player. After using the item, all of the player's curses are removed; however, all of the items the player is carrying will drop to the ground, meaning the player won't be able to safely bring a cursed scrap back to the ship. This feature can be disabled.

Penalty mechanic

This new mechanic prevents players from ignoring cursed scraps too much ; each time a new cursed scrap is scanned, a counter increments for all players. When the counter reaches a configurable value, the next cursed scrap scanned applies its curse either to the player who scanned it or to the entire team (depending on the chosen difficulty). The counter and the list of scanned items are reset to 0 whenever a curse is applied to a player or at the start of the game.

Modes:

  • Hard - Applies the curse to the entire team.
  • Medium - Applies the curse only to the player who scanned the cursed scrap.
  • None - Do not use the mechanic.

Curses

  • INHIBITION - Prevents the player from jumping and crouching
  • CONFUSION - Reverses movement controls and jump/crouch keys for the player
  • CAPTIVE - Prevents all items carried by the player from being dropped as long as the curse is active
  • BLURRY - Reduces visual clarity on the player's camera
  • MUTE - Mutes the player's microphone
  • DEAFNESS - Removes the player's sound
  • ERRANT - Teleports the player randomly when an item is picked up or placed down
  • PARALYSIS - Paralyzes the player when red-scanning
  • SHADOW - All enemies are invisible by default (their sound is still active), scanning reveals them
  • SYNCHRONIZATION - The scrap is split into two parts, when both parts are picked up by two different players, their cameras invert. You must bring both parts back to the ship... or die for the effect to fade
    • If a player who doesn't have the curse picks up one of the two parts, he is immobilized until another player picks up the other part and the curse takes effect
    • If a player dies with the effect activated, the other player returns to their camera but is immobilized until another player picks up the other part and the curse takes effect
    • If no player is available to share the curse, the immobilized player can simply drop the item on the ground to move again
  • DIMINUTIVE - Reduces the player's size and applies the following effects :
    • The movement speed is reduced
    • The grab distance is reduced
    • The player's voice is modified
    • Double jumping is possible, allowing passage through jumping rooms
    • Picked up objects are reduced in size but return to normal size when released
    • A normal-sized player can push or crush a reduced-sized player
  • EXPLORATION - Prevents the player from exiting or entering the factory through all doors except one
    • The player is then able to see the aura of the door they need to take from a certain distance (configurable). The aura disappears if they get too close
    • The door to be taken changes each time they enter or exit the factory
  • COMMUNICATION - This curse affects two players in two stages :
    • Step 1 :
      • The first player picks up the scrap and is immobilized (it's still possible to drop the scrap to cancel the curse during the first step)
      • The picked-up scrap is cloned at a distant position from the player
      • The second player is selected, which is the one closest to the first player
      • The first player sees numbers appear at the top left of the screen, indicating the distance between the second player and the second part of the scrap
      • The second player must then retrieve this second part of the scrap, and the first player can assist the second using a Walkie-Talkie to guide them based on the distance
    • Step 2 :
      • The second player picks up the second part of the scrap, and the first player can move again
      • A timer appears at the top left of the screen for both players. For the first player, the timer replaces the previously displayed distance
      • Both players must bring the two scrap parts back to the ship before the time runs out, or else... they both die!

What happens next?

  • Rework of the 'Communication' and 'Inhibition' curses.
  • 'Synchronization' might be removed because it's too time-consuming - the mechanic will probably be used in another one of my mods, 'Saw Tapes'
  • New curses, including some ideas that were suggested to me (e.g., 'Hot Potato' / 'Fragile').

More informations

For any feedback/suggestions or questions, you can reach me on the 'Lethal Company Modding' Discord server (https://discord.gg/e4YCbQsx) under the same name (username lega2039). DMs are welcome.

CHANGELOG

CHANGELOG

Version 2.0.5

  • Rework of pills: replacement of pills with a new item 'Holy Water'. The functionality is also slightly different -> see README for details
  • Added the 'Penalty Mechanic' -> rework a part of the 'Hiding mechanic', now this tab will only have some global options related to the visibility of curses
  • Rework of 'Exploration': instead of adding a ScanNode for a certain time, it is now possible to see the aura of the door as long as the player is within a certain distance
  • Moved the configurations 'Enable red scan' and 'Enable particle' to the 'Hiding mechanic' tab for better organization
  • Removed the 'Hide particle when grabbing' configuration -> this is now the default behavior, as many particles obstruct the player's view when it's not
  • Added compatibility with the 'AddonFusion' mod -> the capsule Hoi-Poi can no longer contain cursed scraps
  • Changed the spawn method for curses -> now curses spawn when vanilla scraps spawn in the factory, fixing incompatibilities with mods that change item values via the vanilla method
  • Added the 'Hide curse name' config to hide the name of curses with '???'
  • Added the 'Hide scrap value' config to hide the value of curses with '???'

Version 2.0.4

  • Added a check to only apply curses to scraps that spawn in the dungeon (fixes an incompatibility with LethalCasino)
  • Added a check to prevent coop curses from spawning when the player is solo
  • Added a test to destroy scraps that still have a curse while in the ship at the end of the game (mainly for coop curses)
  • Added a test to kill players who still have a coop curse at the end of the game

Version 2.0.3

  • Added a config to enable/disable curse particles
  • Added a config to enable/disable the red scan node (fix an incompatibility with LGU's 'Better Scan' upgrade)

Version 2.0.2

  • Added a config to hide the information popup when the player is cursed
  • Added a config to hide the curse particle when picking up the scrap and make it reappear when dropping the scrap
  • Fixed an error with the Communication curse that made the player immobile even after dropping the scrap
  • Removed the ability to drop the scrap when the Synchronization curse is active on both players
  • To drop a scrap with a coop curse, both players must be in the ship
  • Fixed a crash when connecting to a save with items in the ship
  • Added an informational message that prevents the player from picking up a scrap with a coop curse if they have the Captive curse

Version 2.0.1

  • Forgot the asset file

Version 2.0.0

  • Mod Rewrite - this is primarily to clean up the code, optimize various aspects, and enable the addition of future curses that couldn't be implemented before (also potentially fixes several incompatibilities)
  • Deactivation of the 'EXPLORATION' curse, pills, and the hide mechanic - I plan to rework these features, they will return later
  • CAPTIVE - Players affected by this curse will no longer be able to drop any items (previously, it was only the cursed scrap)
  • PARALYSIS - Now applies not only to monsters but to all red scans
  • SYNCHRONIZATION - Added the ability to reorient the camera towards the controlled player to make the curse less impactful (use the tertiary action button on an item). This new feature only works when holding the cursed scrap
  • DIMINUTIVE - Collision with another player is now modified:
    • If a player jumps on the cursed player, he is are crushed and die
    • If a player collides with the cursed player while walking or running, he is pushed according to the force of the impact
  • Added a particle effect to identify cursed scraps without scanning
  • Added an exclusion list to prevent certain scraps from being cursed

Version 1.1.0

  • Recompiled for v56

Version 1.0.9

  • Fixed "You already have an active cooperation curse" message displayed for all curses

Version 1.0.8

  • Fixed some curses persisting after leaving a game
  • Added an exclusion list to prevent some enemies from being affected by the "Shadow" curse
  • Added new modes for the hiding mechanic

Version 1.0.7

  • Fixed an error that occurs during an interaction with nothing

Version 1.0.6

  • Added the curse 'Communication'
  • Added more configs
  • Change in the global chance configuration; it is now possible to configure it per moon (requires a manual update of the configuration with the new default value)
  • Resolved an incompatibility with EmergencyDice
  • Fixed some other bugs

Version 1.0.5

  • Added the curse 'Exploration'
  • Added a mechanic to hide curses, see README for more info
  • Change in behavior for removing effects upon arrival at the ship: all effects are now canceled even if cursed items are present in the inventory
    • This modification fixes some issues, including a problem with player acceleration upon canceling the 'Diminutive' curse

Version 1.0.4

  • Added controls to prevent teleportation from the ship and when attempting to throw a 'Captive' scrap

Version 1.0.3

  • Added the curse 'Diminutive'
  • Pill rework, see README for more info
  • Resolved an incompatibility with LethalSnap
  • Changed some values
  • Fixed a bug with 'Synchronization'
  • Fixed a bug where the 'Mute' curse could disable the 'Deafen' curse when applied to the player after the latter

Version 1.0.2

  • Added the curse 'Synchronization'
  • Corrected some bugs

Version 1.0.1

  • Fixed some potential null reference issues
  • Resolved an incompatibility with LethalThings
  • Resolved an incompatibility with Diversity
  • Corrected an error with invisible meshes on enemies

Version 1.0.0

  • Initial release