Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Sort Container UI

Client-side Lua Script to add an UI to containers which has sort functionality.

There are 5 buttons in total:

  • Sort by Alphabet, sort every item in the container by alphabetical order
  • Sort by Category
  • Merge Stacks, if possible, merge identical items together.
  • Toggle Recursive Sort: If an item inside this container is a container itself, and this option is on, then the inside of that item and containers deeper inside will all be sorted.
  • Toggle TreatContainersAsTheirFirstItem: If this option is on, all items in this container that are containers themselves will be viewed by the sorting algorithm as its first item. i.e. A Storage Container filled with Iron will be sorted as if it's an "Iron" item instead of "Storage Container", and a "Stun Baton" filled with a "Battery Cell" will be sorted as if it's a Battery Cell.

There is also a search bar to search for items.

Installation Notes:

  • Install the client Lua For Barotrauma
  • Subscribe to this mod
  • If the in-game console does not automatically output running information, enter cl_reloadlua on the console
  • (You don't need to enable this content package; once you complete the steps above, the script will run automatically)

Disable instructions:

  • Unsubscribe or delete this folder: %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2891181800

credits:
Idea originally proposed by Cicada
Many code snippets taken from Better Fabricator UI by whosyourdaddy

Рейтинг

Войдите, чтобы голосовать.
🏅 Нет оценок

Базовые теги:

Зависимости мода

Логотип мода

LuaCsForBarotrauma

Загрузить 8.2 KB