Barotrauma

Barotrauma

465 arvostelua
Sort Container UI
2
3
5
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
19.386 KB
20.11.2022 klo 9.36
22.12.2022 klo 4.45
13 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Sort Container UI

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

There are 5 buttons in total:
  1. Sort by Alphabet, sort every item in the container by alphabetical order
  2. Sort by Category
  3. Merge Stacks, if possible, merge identical items together.
  4. 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.
  5. 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:
  1. Install the client Lua For Barotrauma
  2. Subscribe to this mod
  3. If the in-game console does not automatically output running information, enter cl_reloadlua on the console
  4. (You don't need to enable this content package; once you complete the steps above, the script will run automatically)

Disable instructions:
  1. 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
70 kommenttia
Pee Warmer 16.12.2023 klo 8.34 
Don't use it unless you want your game to crash
horse 19.10.2023 klo 7.24 
Some of the functonality of this mod has been interigated into vanilla. Take a peek?
Lasagner 30.7.2023 klo 14.54 
I can't get it to sort into or between storage containers inside of a locker/other standing storage container entity
Gofarovich 29.7.2023 klo 16.52 
"Merge Stacks" does not work with uranium fuel rods.
Create "voids filling" and "auto-filtering" buttons.
This mod is fantastic! Thanks
TheRedThread 15.7.2023 klo 2.08 
Is this mod compatible with mod which make stack size like 128x with lua ? Cauz for me and my friends it doesn't work and bring an error like "maximum packet size exceeded" .
SerSearo 17.6.2023 klo 17.39 
Feature request; similar to Carryonaire's

Make the "Merge Stacks" button usable from a crate you are currently holding to merge any possible items inside it and filling storage containers with the same items in a cabinet; iirc the mod is already able to recognize the storage containers with what's in their first slot.
TheRise of GarlicLettuceJuice 6.6.2023 klo 1.35 
@Carryonnaire supposedly this mod does what you are looking for...

i have seen it around but im only gonna try it today.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?source=Facepunch.Steamworks&id=2564376484
Carryonnaire 13.5.2023 klo 11.07 
Feature request: put same items into container
If a container only has iron, then it will collect all iron from cabinet and put into that container (if enough space).
Toggled options:
- also put items from inventory
- also from tool belt
- also from pockets (medic outfit)
喵斯卡✯鸢桜沫忆 14.4.2023 klo 18.21 
UI is malfunctioning and taking effect
☠Millennium☠ 8.4.2023 klo 14.31 
All windows in general.