Zehs-SellMyScrap icon

SellMyScrap

Adds a few terminal commands to sell your scrap from the ship. Highly Configurable. Compatible with the ShipInventory mod. SellFromTerminal +

Last updated 2 days ago
Total downloads 579610
Total rating 34 
Categories Mods Tweaks & Quality Of Life
Dependency string Zehs-SellMyScrap-1.10.0
Dependants 216 other packages depend on this package

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-FixPluginTypesSerialization-1.1.1 icon
Evaisa-FixPluginTypesSerialization

Fix custom Serializable structs and such not properly getting deserialized by Unity.

Preferred version: 1.1.1

README

SellMyScrap

Adds a few terminal commands to sell your scrap from the ship. Highly Configurable. Compatible with the ShipInventory mod. SellFromTerminal +

THIS MOD IS FOR ALL CLIENTS!

This mod will sell scrap as close to the requested value as possible.

This mod is compatible with the ShipInventory mod.


  • You must be landed at The Company building to use sell commands.

  • This mod will NOT sell Gifts, Shotguns, Ammo, and Knives by default.
    • See Sell Settings for more info.

  • This mod supports excluding any vanilla/modded scrap items from the sell algorithm.
    • See Advanced Sell Settings for more info.

  • This mod will show how much overtime bonus you will receive on the sell confirmation screen.

Terminal Commands

Click to Expand
  • You must be landed at The Company building to use sell commands.
  • Each sell command will sell items based on your config settings.
  • Each sell command requires confirmation before selling your scrap.
    • Additional information is given on the confirmation screen.
Command Description Optional flags
sell <amount> Will sell scrap for a total of the requested amount. -se, -se:<number>, -o
sell quota Will sell scrap to reach the profit quota. -se, -se:<number>
sell all Will sell all of your scrap. -se, -se:<number>
sell item <name> Will sell scrap by their item name. -se, -se:<number>
sell list Will sell all the scrap from the SellList config setting. -se, -se:<number>
  • Using the -se flag will spawn a random scrap eater.
    • Usage: <sell-command> -se
  • Using the -se:<number> flag will spawn a scrap eater by their index (Starts at 1).
    • 1 = Octolar, 2 = Takey, 3 = Maxwell, 4 = Yippee, 5 = Cookie Fumo, 6 = Psycho, 7 = Zombies, 8 = Wolfy
    • Usage: <sell-command> -se:<number>

Additional info for the sell <amount> command.

  • This command supports math expressions as the input for <amount>.
    • Usage example: sell 500 + 50
  • Using the -o flag will sell for a less amount so (less amount + overtime bonus) = initial amount.
    • Usage: sell <amount> -o

Additional info for the sell item <name> command.

  • Item names are not case-sensitive but, spaces do matter.
  • Usage examples:
    • sell item Whoopie cushion
    • sell item Whoopie
    • sell item Whoo

Additional info for the sell list command.

  • This command will sell all the items from the SellList config setting.
  • This command will bypass the DontSellList config setting.
Command Description
sell Shows a help message for this mod.
view overtime Shows your current overtime bonus.
view scrap Shows a list of all the scrap in the ship.
view all scrap Shows a list of all the registered scrap.

Config Settings

Click to Expand

I recommend you use the LethalConfig mod to edit the config settings.

Sell and Advanced Sell config settings will be synced with the host.

General Setting type Default value Description
ExtendedLogging Boolean false Enable extended logging.
Sell Setting type Default value Description
SellGifts Boolean false Do you want to sell Gifts?
SellShotguns Boolean false Do you want to sell Shotguns?
SellAmmo Boolean false Do you want to sell Ammo?
SellKnives Boolean false Do you want to sell Kitchen knives?
SellPickles Boolean true Do you want to sell Jar of pickles?
Advanced Sell Setting type Default value Description
SellScrapWorthZero Boolean false Do you want to sell scrap worth zero?
OnlySellScrapOnFloor Boolean false Do you want to sell scrap that is only on the floor?
PrioritySellList String Tragedy, Comedy, Whoopie cushion, Easter egg, Clock, Soccer ball Array of item names to prioritize when selling.
DontSellList String Array of item names to not sell.
SellList String Whoopie cushion, Easter egg, Tragedy, Comedy Array of item names to sell when using the sell list command.

Additional info for the PrioritySellList config setting.

  • Use the view scrap or view all scrap command to see the correct item names to use.
  • Each entry should be separated by a comma.
  • Item names are not case-sensitive but, spaces do matter.
  • Example value: Tragedy, Comedy, Whoopie cushion, Easter egg, Clock, Soccer ball

Additional info for the DontSellList config setting.

  • Use the view scrap or view all scrap command to see the correct item names to use.
  • Each entry should be separated by a comma.
  • Item names are not case-sensitive but, spaces do matter.
  • Example value: Maxwell, Cookie Fumo, Octolar Plush, Smol Takey, Blahaj

Additional info for the SellList config setting.

  • Use the view scrap or view all scrap command to see the correct item names to use.
  • Each entry should be separated by a comma.
  • Item names are not case-sensitive but, spaces do matter.
  • Example value: Whoopie cushion, Easter egg, Tragedy, Comedy
Terminal Setting type Default value Description
OverrideWelcomeMessage Boolean true Overrides the terminal welcome message to add additional info.
OverrideHelpMessage Boolean true Overrides the terminal help message to add additional info.
ShowFoundItems Boolean true Show found items on the confirmation screen.
SortFoundItemsPrice Boolean true Sorts found items from most to least expensive.
AlignFoundItemsPrice Boolean true Aligns all prices of found items.
Misc Setting type Default value Description
SpeakInShip Boolean true The Company will speak inside your ship after selling from the terminal.
RareVoiceLineChance Single 5 The percent chance the Company will say a rare microphone voice line after selling.
ShowQuotaWarning Boolean true If enabled, will show a warning when you try to pull the ship's lever when the quota hasn't been fulfilled at the Company building with 0 days left.
Scrap Eater Setting type Default value Description
ScrapEaterChance Int32 75 The percent chance a scrap eater will spawn?!
OctolarSpawnWeight Int32 1 The spawn chance weight Octolar will spawn?! (scrap eater)
TakeySpawnWeight Int32 1 The spawn chance weight Takey will spawn?! (scrap eater)
MaxwellSpawnWeight Int32 1 The spawn chance weight Maxwell will spawn?! (scrap eater)
YippeeSpawnWeight Int32 1 The spawn chance weight Yippee will spawn?! (scrap eater)
CookieFumoSpawnWeight Int32 1 The spawn chance weight Cookie Fumo will spawn?! (scrap eater)
PsychoSpawnWeight Int32 1 The spawn chance weight Psycho will spawn?! (scrap eater)
ZombiesSpawnWeight Int32 1 The spawn chance weight Zombies will spawn?! (scrap eater)
WolfySpawnWeight Int32 1 The spawn chance weight Wolfy will spawn?! (scrap eater)

ShipInventory Compatibility

This mod is compatible with the ShipInventory mod.

If you use the command flag -inv when writing sell commands, you can make the command only target the ShipInventory storage.

Want more Scrap Eaters?

Developer Contact

Report bugs, suggest features, or provide feedback:

Discord Server Forum Post
Lethal Company Modding #mod-releases SellMyScrap
Unofficial Lethal Company Community #mod-releases SellMyScrap

Credits

Takey (scrap eater)

Maxwell (scrap eater) and Cookie Fumo (scrap eater)

Zombies (scrap eater)

  • Model by MissSuperE.

Screenshots

Click to Expand

sell <amount>

sell quota

sell all

sell item <name>

view overtime

view scrap

view all scrap