Space Engineers

Space Engineers

Not enough ratings
Rebels HEX Inventory Sorter
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
320.281 KB
Jan 13, 2023 @ 10:57am
Oct 19, 2024 @ 5:05am
18 Change Notes ( view )

Subscribe to download
Rebels HEX Inventory Sorter

Description
A simple TAG-based inventory sorter script which brings order to your mess.
it unfolds its full strength on Rebels-Games HEX, but also works on vanilla servers.

How to use:
Just put one or more [TAG] in the name of your container and the script will sort it.
Alternatively, the TAGs can also be written in CustomData, if you set
"Read_Tag_from_CustomData" in the script config section to true.

Available Tags are:
[ORE] [COMP] [ING] [ICE] [BOTTLE] [TOOLS] [GUNS] [AMMO]
[MOD_ORE] [MOD_COMP] [MOD_ING] [FOOD] [MOD_AMMO] [PAD] [$$] [MISC]

The script is using yielding, means it is artificially slowed down. This means it
require, dependend of your base size, between 1 and 30 seconds for a full cleanup
You can follow the progress on the Programable Block LCD.


Description of Tags:
[ORE] -> Vanilla Ore
[COMP] -> Vanilla Components
[ING] -> Vanilla Ingots
[ICE] -> Frozen Water
[BOTTLE] -> Hydrogen/Oxygen Bottles
[TOOLS] -> Grinder, Welder, Drills
[GUNS] -> Items you can shoot with
[AMMO] -> Vanilla Ammunition
[MOD_ORE] -> Modded Ore
[MOD_COMP] -> Modded Components
[MOD_ING] -> Modded Ingots
[FOOD] -> Eat, Drink, Medicals, Alcohol etc...
[MOD_AMMO] -> Modded Ammunition
[PAD] -> Datapads
[$$] -> Valuable things like Credits, Keys etc..
[MISC] -> Useless items like plushies

Spezial Tag:
[IGNORE] -> Blocks with this TAG don't get filled or cleared

Logo made by TIM#7379 (c)

20 Comments
g.  [author] Mar 15 @ 5:34am 
Does work with all modded containers if you set the TAG, as long the mod author not failed to write his SBC files correctly
R cry Mar 14 @ 4:45am 
doesn't work with containers from mods
Wob Feb 15 @ 6:47am 
Remember, when it's a rebel-games mod, it's gonna be good
Rhilianis Dec 8, 2024 @ 11:32pm 
explanation can be found at rebels-games.com
Yrol Akiyama Nov 19, 2024 @ 6:26pm 
It would be nice to have some explanation of the base system and some sort of manual how to get it all running for those who have no clue.
jokerace45 Oct 17, 2024 @ 10:00am 
Thank you very much for the update.
g.  [author] Oct 17, 2024 @ 4:13am 
Update:
- Added Proto Update Components
- Added Config to use "CustomData" instead block's name field" for [TAGs]
Reign Jun 15, 2024 @ 4:27am 
Excellent script, and great performance choices; I really enjoy it. However, after some testing, would it be possible to divide items across multiple containers with the same tags? Losing access to the [comp] crate is really difficult to overcome quickly in the heat of battle.
jokerace45 Mar 16, 2024 @ 3:38pm 
Is there any way to set this up to use a blocks custom data fields for the tags?
g.  [author] Feb 18, 2024 @ 1:52am 
it cleans all the time, take a break and start cleaning again.
If you want to speed it up, you need to change the delay time in code.

// 6 Ticks/Minute * 60 Seconds * 5 = 5 Minutes
Config.Sleep_Ticks_After_Cleaning = 6 * 60 * 5;

If you want to run it once per minute instead once each 5 minutes you need to set:
Config.Sleep_Ticks_After_Cleaning = 6 * 60 * 1;

But keep in mind: this could slow down the server or overheat PBlimiter, if it runs on your server.