You are viewing a potentially older version of this package. View all versions.
asta-QuickSort-0.1.0 icon

QuickSort

Ship item sorting + quick move commands for Lethal Company.

Date uploaded 7 months ago
Version 0.1.0
Download link asta-QuickSort-0.1.0.zip
Downloads 40
Dependency string asta-QuickSort-0.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
baer1-ChatCommandAPI-1.1.2 icon
baer1-ChatCommandAPI

A Lethal Company modding API for easy creation of Minecraft-style Chat Commands

Preferred version: 1.1.2

README

QuickSort (pasta.quicksort)

Ship item sorting + quick move commands for Lethal Company.

Commands

  • /sort: Sort everything in the ship (respects skippedItems for full-sort skip).
  • /sort <itemName>: Move that item type to your current position (e.g. /sort cash_register).
  • /sort <number>: Move the item type bound to that number (e.g. /sort 1).

Bindings (shortcut + alias)

Bind the item you are currently holding:

  • /sort bind <name|id>
    • /sort bind 1 → bind held item to shortcut id 1
    • /sort bind meds → bind held item to alias meds
  • /sort bind reset <name|id>
    • /sort bind reset 1 → remove shortcut id 1 binding
    • /sort bind reset meds → remove alias meds binding
  • /sb <name|id>: same as /sort bind ...
  • /sb reset <name|id>: same as /sort bind reset ...

List bindings:

  • /sort bindings (also accepts /sort binds, /sort shortcuts, /sort aliases)

Use bindings:

  • /sort 1 (number binding)
  • /sort meds (alias binding)

Saved positions

  • /sort set [itemName]: Save this type's sort position to your current position (name optional if holding).
  • /ss [itemName]: same as /sort set ...
  • /sort reset [itemName]: Delete saved sort position (name optional if holding).
  • /sort positions: List saved sort positions.

Config / files

All files are created under BepInEx/config.

  • Bindings: pasta.quicksort.sort.bindings.json
  • Saved positions: pasta.quicksort.sort.positions.json

Notes

  • skippedItems is used as the global skip list for full /sort (no item name).
  • For /sort <itemName> (move one type), filtering uses the per-item skip logic.

SS

alt text

CHANGELOG

Changelog

0.1.16

  • Fix
    • shotgun and ammo are no longer forced back into skippedItems after users remove them.
  • Compatibility
    • Updated ChatCommandAPI support for baer1-ChatCommandAPI-1.1.2.

0.1.15

  • Change
    • Modified to sort all items on the map in certain situations.

0.1.13

  • Fix
    • chanload destory bug

0.1.11 / 0.1.12

  • Fix
    • v80 :D

0.1.10

  • Fix:
    • add some kr names
    • wight 0lb bug

0.1.9

  • Fix:
    • add some kr names

0.1.8

  • Fix:
    • /sort: now drops your held item first, then runs full sort.
  • Behavior:
    • Commands now require you to be inside the ship (otherwise an error is shown): /sort (and /ss, /sr, /sp, /sk, /sb, /sbl) and /pile.

0.1.7

  • Config:
    • Bumped General.configVersion to 0.1.7.
    • Migration: if Sorter.skippedItems is accidentally only shotgun, ammo, it is reset back to the full default list.
    • Fresh install fix: when the config file does not exist yet, migrations no longer create/overwrite Sorter.skippedItems.

0.1.5

  • Client/Guest tip: Installing TooManyItems may help with a vanilla issue where some items fail to sort / snap back.
  • New short commands:
    • /sr/sort reset
    • /sp/sort positions
    • /sbl/sort bindings
    • /sk .../sort skip ... (e.g. /sk list, /sk add, /sk remove)
  • Input aliases (built-in):
    • double_barrelshotgun
    • shotgun_shellammo
  • Full sort ordering: two-handed item types are placed first (fixed behavior; no setting).
  • Full sort placement:
    • sortOriginY is applied again as an offset above detected ground.
    • Specific types are placed slightly lower: toilet_paper, chemical_jug, cash_register, fancy_lamp, large_axle, v_type_engine.
  • Config:
    • Added General.configVersion (defaults to 0.1.5).
    • Migration: if configVersion is missing/older and Sorter.sortOriginY == 0.5, it is auto-changed to 0.1.
    • Migration: adds shotgun, ammo to Sorter.skippedItems if missing.