SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

X

Xandus Inventory Tweaks

XBy Xandu

The mod provides a collection of small tweaks to improve inventory handling.

Description

The mod provides a collection of small tweaks to improve the inventory handling. You can configure in a generated file which parts of the mod you want to use. To use the bulk operations configurations the mod must be installed on the server, too.
All other features should work if the mod is installed on the client only.

Auto-Sorting: The mod adds configurable keys (default: Z/Y + modifiers), that can be used for various sorting options.

Shortkeys:

Z: Sorts items from your inventory into chests that already contain these item types. Works with multiple chests at once.
Z+Shift: Sorts items in open containers by their id.
Z+Ctrl: Pulls items out of open chests into your inventory.
Z+ALT: Sort your own backpack.
Ctrl+left mouse: Allows you to transfer all items up to a specific slot of the same item type to an open container.
Shift+Wheel: Allows you to push single items into open containers and to pull single items from open containers.

Sorting: You can configure how the mod should sort items in the configuration file. 

"SortBlacklist": Excludes specific containers from sorting to avoid conflicts with these containers which can cause crashes or weird behavior.
"SortOrder": Specifies in which order items should be sorted. The mod checks whether the items fulfill specific properties and prioritize the items accordingly. If an item does not have a property it will have a default property assigned. The sequence of properties in this list defines in which order the properties are sorted. The first entry has the highest priority.

Properties:

"id": Sorts items by their internal ID.
"name": Sort items alphabetically by their name.
"block": Blocks have a higher priority.
"item": Items have a higher priority.
"durability": Sorts items by their maximal durability.
"attackpower": Sorts items by their attack power.
"stacksize": Sorts items by their maximal stack size.
"tool": Sorts items by their tool type.
"tooltier": Sorts items by their tool tier.
"light": Sorts items by the brightness they emit.
"priority": Sorts items by their assigned priority.
"satiety": Sorts items by their satiety value.
"intoxication": Sorts items by their intoxication value.
"health": Sorts items by their health value.
"storageflags": Sort items by their storage flags. In the “StorageFlagsOrder” configuration you can specify the order in which the storage flags should be sorted.

"StackOrder": Specifies in which order item stacks should be sorted. After the mod sorted the items by types the mod can also sort specific item stacks by some stack properties.

Properties:

"durability": Sorts item stacks by their remaining durability.
"stacksize": Sorts item stacks by their current stack size.
"transition": Sorts item stacks by their transition state (e.G. perishing). 

Note that most properties for items and item stacks also have an inverted variant. Simply add "invert" to their name to sort in reverse order.

"Priorities": Priorities is a dictionary of pairs of item names and their priority. You can use this to customize sorting by assigning specific priorities  to item types. The names of the items must be their internal names. You can also use names with wildcards here. For example setting "Priorities": { "copper": 2, "iron": 1 } will prioritize all items that have "copper" in their internal names over items with "iron" or non of these in their names.
"LockedSlots": Allows you to lock certain slot IDs that will be ignored when sorting your inventory. The first slot has the id 0. You can also use negative values to count from the last slots on. For example setting "LockedSlots" to [-3, -2, -1, 0, 1] will lock the first two and the last three slots of your backpack. 

Item-Switching: A lot of items can be automatically be swapped into your hotbar after you used the last item of a stack. You can also use this to switch tools before they broke to repair them with other mods.

Configureable bulk operations: Allows you to configure how many items you want to use in bulk storage operations, such as placing down or taking from item piles, at once. This is a server side feature.

Let me know if I missed anything important that you would like to be added.

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.