Barotrauma

Barotrauma

465 betyg
Sort Container UI
2
3
5
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
19.386 KB
20 nov, 2022 @ 9:36
22 dec, 2022 @ 4:45
13 ändringsnotiser ( visa )

Abonnera för att ladda ner
Sort Container UI

Beskrivning
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 kommentarer
Pee Warmer 16 dec, 2023 @ 8:34 
Don't use it unless you want your game to crash
horse 19 okt, 2023 @ 7:24 
Some of the functonality of this mod has been interigated into vanilla. Take a peek?
Lasagner 30 jul, 2023 @ 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 jul, 2023 @ 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 jul, 2023 @ 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 jun, 2023 @ 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.
Angel in TheLight of SPACE!! 6 jun, 2023 @ 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 maj, 2023 @ 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 apr, 2023 @ 18:21 
UI is malfunctioning and taking effect
☠Millennium☠ 8 apr, 2023 @ 14:31 
All windows in general.