Zehs-SellMyScrap icon

SellMyScrap

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

Last updated 4 days ago
Total downloads 293161
Total rating 26 
Categories Mods
Dependency string Zehs-SellMyScrap-1.5.21
Dependants 122 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

README

SellMyScrap

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

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

This mod is for all clients!


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

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

  • This mod supports excluding custom / 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

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 sellListJson 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
    • 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 sellListJson config setting.
  • This command will bypass the dontSellListJson 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.
view config Shows your config settings.
edit config Edit config settings from the terminal.

Config Settings

Expand
  • Use the edit config command to edit config settings from the terminal.
  • Only the host can edit Sell Settings and Advanced Sell Settings using the config editor.
  • Sell Settings and Advanced Sell Settings will be synced with the host.
Sell Settings 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 Settings 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?
DontSellListJson String [] JSON array of item names to not sell.
SellListJson String ["Whoopie cushion", "Easter egg", "Tragedy", "Comedy"] JSON array of item names to sell when using the sell list command.

Additional info for the dontSellListJson config setting.

  • Use the edit config command to easily edit the dontSellListJson config setting from the terminal.
  • Use the view scrap or view all scrap command to see the correct item names to use.
  • Item names are not case-sensitive but, spaces do matter.
  • Example value: ["Maxwell", "Cookie Fumo", "Octolar Plush", "Smol Takey"]

Additional info for the sellListJson config setting.

  • Use the edit config command to easily edit the sellListJson config setting from the terminal.
  • Use the view scrap or view all scrap command to see the correct item names to use.
  • Item names are not case-sensitive but, spaces do matter.
Terminal Settings 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 Settings 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.
Scrap Eater Settings 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)

Developer Contact

Report bugs or give suggestions here:

https://github.com/ZehsTeam/Lethal-Company-SellMyScrap/issues

Discord server Forum Post
Lethal Company modding Discord #mod-releases SellMyScrap
Unofficial Lethal Company Community #mod-releases SellMyScrap

Twitch: CritHaxXoG - YouTube: Zehs

Credits

Screenshots

Expand

sell <amount>

sell quota

sell all

sell item <name>

view overtime

view scrap

view all scrap

view config

edit config