Starbound

Starbound

Improved Containers
 This topic has been pinned, so it's probably important
v6  [developer] 4 Aug, 2016 @ 8:52am
Item sorting
The way I implemented sorting in Improved Containers was by assigning sorting values to each category.
Lower value means it will be sorted first. Same value means it will sort it according to rarity > name.

If you want to come with suggestions to the sorting system or values, please let me know what you think should be changed.



-- armor
headwear = 11,
headarmour = 11,
headarmor = 11,
chestwear = 11,
chestarmour = 11,
chestarmor = 11,
legwear = 11,
legarmour = 11,
legarmor = 11,
backwear = 11,
enviroprotectionpack = 11,
shield = 12,

-- active items
uniqueweapon = 20,
assaultrifle = 20,
boomerang = 20,
chakram = 20,
rocketlauncher = 20,
sniperrifle = 20,
pistol = 20,
machinepistol = 20,
shotgun = 20,
grenadelauncher = 20,

broadsword = 22,
fistweapon = 22,
axe = 22,
dagger = 22,
hammer = 22,
shortsword = 22,
spear = 22,
whip = 22,

staff = 24,
wand = 24,

bow = 26,
throwableitem = 27,

tool = 29,
musicalinstrument = 30,
toy = 31,

vehiclecontroller = 35,

-- objects

crafting = 40,
furniture = 40,
storage = 40,
fridgestorage = 40,
decorative = 40,
door = 40,
light = 40,
trophy = 40,
other = 40, -- outpost stores, ancient con, mannequin, fountain
teleportmarker = 40,
actionfigure = 40,

wire = 46,

rail = 52,
railplatform = 52,
railpoint = 52,

-- consumable
mysteriousreward = 90,

medicine = 95,
preparedfood = 97,
drink = 98,
food = 99,

shiplicense = 101,
clothingdye = 105,
eppaugment = 108,
petcollar = 110,

-- tiles / placeable
block = 140,
platform = 141,
liquid = 144,

sapling = 146,
seed = 146,

smallfossil = 150,
mediumfossil = 150,
largefossil = 150,

-- crafting material
currency = 160,
["upgrade component"] = 160,
upgradecomponent = 160,
craftingmaterial = 160,
cookingingredient = 162,

tradingcard = 190,
quest = 190,
codex = 191,

x = 200, -- item does not have a category

generic = 300, -- PGI
junk = 300,
foodjunk = 300
Last edited by v6; 4 Aug, 2016 @ 8:55am
< >
Showing 1-10 of 10 comments
v6  [developer] 23 Aug, 2016 @ 12:36pm 
Yeah, had to disable that because chests with items were being erased.

Please don't use this thread unless you want sorting to be changed. I'm trying to keep things organized.
Joppsta 23 Aug, 2016 @ 2:31pm 
A hotkey for sorting would be nice?
v6  [developer] 23 Aug, 2016 @ 2:32pm 
Not possible.
thoguht mcdanger 19 Sep, 2016 @ 9:33am 
Is it possible to have food sorted by expire time?
odkupiciel375 19 May, 2017 @ 1:52pm 
Hi.
Can You upload new mod that would add only sorting for chests?
v6  [developer] 22 May, 2017 @ 5:53am 
Originally posted by odkupiciel375:
Hi.
Can You upload new mod that would add only sorting for chests?
No
ttv/Jaqueeeeta 5 Jul, 2017 @ 7:44pm 
Would it be possible to sort chests/containers (with items inside) by alphabetical order according to their name in the inventory? Also, would it be possible to make a way to see the name of placed containers/chests without having to open them?
v6  [developer] 10 Jul, 2017 @ 2:15am 
1. Sorting is currently item category weight > rarity > name. Does search not cut it?
2. MagicLabel sort of does what you're looking for but I also need to update it.
Last edited by v6; 10 Jul, 2017 @ 3:23pm
ttv/Jaqueeeeta 10 Jul, 2017 @ 3:21pm 
Oh alright, that makes sense why it wouldn't put my chests in order by their name then. The search function works fantasically on the vanilla containers, just not on some that I've obtained through other mods... although my reason for alphabetizing is simply for organizational purposes, I just have a complicated way of storing certain things :P

Based on the pictures from the Magic Label page, it looks like its pretty much exactly what I was wondering about :) Thank you for mentioning it, as I hadn't seen that before! (Still new to all of this modding, so I originally thought the magic label was a part of this mod and just realized it isn't)

And thank you for taking the time to respond ^_^
Last edited by ttv/Jaqueeeeta; 10 Jul, 2017 @ 7:06pm
Argakyan 7 Dec, 2017 @ 8:48am 
I think that a mod like this is immensely helpful, but as I'm testing it there's at least one issue I have come to when trying to craft things: Even with the mod I need to search my storage for bars (copper, steel, ...), powders (sulphur, magnesium, ...), rods (uranium, thorium, ...) or electrical materials (circuit boards, processors, ...).

I know that a lot of things I encounter in my game are based on the mod Frackin' Universe, which this mod is mentioned to be compatible with, but I think that a more category oriented system in some areas would help to quickly find what someone needs for crafting.
< >
Showing 1-10 of 10 comments
Per page: 1530 50