Space Engineers

Space Engineers

62 ratings
All My Stuff
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
365.734 KB
15 May, 2022 @ 5:03am
14 Jun @ 3:02am
13 Change Notes ( view )

Subscribe to download
All My Stuff

Description
All My Stuff (version 1.6.1)
------------
A script to keep track of your inventory. If you are using the Colorful Icons mod,
you might want to consider using Arthur's modified version of this script.

Configure using Custom Data. In the Programmable Block, the Inventory section
sets the options while the Translation section provides alternative labels. Put an
Inventory section into any screen's Custom Data to activate it, which can be empty.

Here are the defaults:

[inventory] # Set this to change the update frequency. delay=3 # Use this to control a display for output (they start at 0) # For example, use this on a cockpit. The order is the same # as in the cockpit's terminal menu. display=0 # Make things on the display larger or smaller scale = 1.0 # Use this on a second screen if the lines don't all fit on the first, to skip lines skip = 0 # Use this to customise the header color of a screen color = 00FF55 # change to true to display numbers in the monospace font mono = false # Change to true to stop showing lines with zero stock levels suppress_zeros = false # Enable filtering enablefilter = true filter = ConsumableItem, Datapad, PhysicalGunObject, AmmoMagazine, Ore, Ingot, Component # Enable coloured line separators separators = true # Enable saved game persistence savetypes = true

An alternative, for those who wish to use more than one screen on a given
block at once, is to configure displays in the following manner (this example
works on the Sci-Fi Button Panel):

[inventory_display0] scale=0.4 [inventory_display1] scale=0.4 skip=5 [inventory_display2] scale=0.4 skip=10 [inventory_display3] scale=0.4 skip=15

You can set up a filter by adding a filter option. The options in the example above are all the valid ones, and you can have any selection that you want. As with colour, scale and skip, the filter is a per-screen option.

To re-scan for new inventories and reload the configuration, run with the argument rebuild

To clear any items from the inventory display that have a zero count, run with the argument clear

You can configure translations in the Custom Data section of the Programmable Block (this is global). This allows you to change the labels from the default internals. It might harm performance; removing the configuration will disable it.

Here is a useful translation configuration to use. It can be pasted into the Custom Data, before or after the rest of the configuration:

[Translation] AmmoMagazine/AutocannonClip=Autocannon Magazine AmmoMagazine/AutomaticRifleGun_Mag_20rd=MR-20 Rifle Magazine AmmoMagazine/ElitePistolMagazine=S-10E Pistol Magazine AmmoMagazine/FireworksBoxBlue=Fireworks Blue AmmoMagazine/FireworksBoxGreen=Fireworks Green AmmoMagazine/FireworksBoxPink=Fireworks Pink AmmoMagazine/FireworksBoxRainbow=Fireworks Rainbow AmmoMagazine/FireworksBoxRed=Fireworks Red AmmoMagazine/FireworksBoxYellow=Fireworks Yellow AmmoMagazine/FlareClip=Flare Gun Clip AmmoMagazine/FullAutoPistolMagazine=S-20A Pistol Magazine AmmoMagazine/LargeCalibreAmmo=Artillery Shell AmmoMagazine/LargeRailgunAmmo=Large Railgun Sabot AmmoMagazine/MediumCalibreAmmo=Assault Cannon Shell AmmoMagazine/Missile200mm=Rocket AmmoMagazine/NATO_25x184mm=Gatling Ammo Box AmmoMagazine/NATO_5p56x45mm=5.56x45mm NATO magazine AmmoMagazine/PreciseAutomaticRifleGun_Mag_5rd=MR-8P Rifle Magazine AmmoMagazine/RapidFireAutomaticRifleGun_Mag_50rd=MR-50A Rifle Magazine AmmoMagazine/SemiAutoPistolMagazine=S-10 Pistol Magazine AmmoMagazine/SmallRailgunAmmo=Small Railgun Sabot AmmoMagazine/UltimateAutomaticRifleGun_Mag_30rd=MR-30E Rifle Magazine Component/BulletproofGlass=Bulletproof Glass Component/Canvas=Canvas Component/Computer=Computer Component/Construction=Construction Comp. Component/Detector=Detector Comp. Component/Display=Display Component/EngineerPlushie=Engineer Plushie Component/Explosives=Explosives Component/Girder=Girder Component/GravityGenerator=Gravity Comp. Component/InteriorPlate=Interior Plate Component/LargeTube=Large Steel Tube Component/Medical=Medical Comp. Component/MetalGrid=Metal Grid Component/Motor=Motor Component/PowerCell=Power Cell Component/PrototechCapacitor=Prototech Capacitor Component/PrototechCircuitry=Prototech Circuitry Component/PrototechCoolingUnit=Prototech Cooling Unit Component/PrototechFrame=Prototech Frame Component/PrototechMachinery=Prototech Machinery Component/PrototechPanel=Prototech Panel Component/PrototechPropulsionUnit=Prototech Propulsion Unit Component/RadioCommunication=Radio-comm Comp. Component/Reactor=Reactor Comp. Component/SabiroidPlushie=Saberoid Plushie Component/SmallTube=Small Steel Tube Component/SolarCell=Solar Cell Component/SteelPlate=Steel Plate Component/Superconductor=Superconductor Component/Thrust=Thruster Comp. ConsumableItem/ClangCola=Clang Kola ConsumableItem/CosmicCoffee=Cosmic Coffee GasContainerObject/HydrogenBottle=Hydrogen Bottle Ingot/Cobalt=Cobalt Ingot Ingot/Gold=Gold Ingot Ingot/Iron=Iron Ingot Ingot/Magnesium=Magnesium Powder Ingot/Nickel=Nickel Ingot Ingot/Platinum=Platinum Ingot Ingot/PrototechScrap=Prototech Scrap Ingot/Scrap=Old Scrap Metal Ingot/Silicon=Silicon Wafer Ingot/Silver=Silver Ingot Ingot/Stone=Gravel Ingot/Uranium=Uranium Ingot Ore/Cobalt=Cobalt Ore Ore/Gold=Gold Ore Ore/Ice=Ice Ore/Iron=Iron Ore Ore/Magnesium=Magnesium Ore Ore/Nickel=Nickel Ore Ore/Organic=Organic Ore/Platinum=Platinum Ore Ore/Scrap=Scrap Metal Ore/Silicon=Silicon Ore Ore/Silver=Silver Ore Ore/Stone=Stone Ore/Uranium=Uranium Ore OxygenContainerObject/OxygenBottle=Oxygen Bottle PhysicalGunObject/AdvancedHandHeldLauncherItem=PRO-1 Rocket Launcher PhysicalGunObject/AngleGrinder2Item=Enhanced Grinder PhysicalGunObject/AngleGrinder3Item=Proficient Grinder PhysicalGunObject/AngleGrinder4Item=Elite Grinder PhysicalGunObject/AngleGrinderItem=Grinder PhysicalGunObject/AutomaticRifleItem=MR-20 Rifle PhysicalGunObject/BasicHandHeldLauncherItem=RO-1 Rocket Launcher PhysicalGunObject/CubePlacerItem= PhysicalGunObject/ElitePistolItem=S-10E Pistol PhysicalGunObject/FlareGunItem=Flare Gun PhysicalGunObject/FullAutoPistolItem=S-20A Pistol PhysicalGunObject/HandDrill2Item=Enhanced Hand Drill PhysicalGunObject/HandDrill3Item=Proficient Hand Drill PhysicalGunObject/HandDrill4Item=Elite Hand Drill PhysicalGunObject/HandDrillItem=Hand Drill PhysicalGunObject/PreciseAutomaticRifleItem=MR-8P Rifle PhysicalGunObject/RapidFireAutomaticRifleItem=MR-50A Rifle PhysicalGunObject/SemiAutoPistolItem=S-10 Pistol PhysicalGunObject/UltimateAutomaticRifleItem=MR-30E Rifle PhysicalGunObject/Welder2Item=Enhanced Welder PhysicalGunObject/Welder3Item=Proficient Welder PhysicalGunObject/Welder4Item=Elite Welder PhysicalGunObject/WelderItem=Welder
102 Comments
Arthur 26 Jul @ 12:48pm 
@V This script is very minimalist and doesn't store any information about the item except the name and total amount, because of that, track where the Item is, is impossible with the current architecture and would require a completely rewrite of the script (and in the process, losing the goal of being lightweight)

one thing that could be implemented, is a global white/black list, so you can setup in a way that the script only shows items in containers with an specific tag in the name/custom data or from an specific group, so you can set up the script to only display this group
(and probably need to have some configuration to set the Display tag, so multiples instances can run same ship)
It would be nice if there was a way to have a display show the inventory of a specific container or group of containers.
Arthur 10 May @ 8:26pm 
Think is fixed @Awsomedude2479 :meephappy:
Brianetta  [author] 18 Apr @ 11:50am 
That isn't possible, I'm afraid. You can enable the monotype font for better columnation of the numbers, though.
Awsomedude2476 30 Mar @ 3:46pm 
Any ideas on how to get the stock numbers have commas in them so I don't have to investigate every number to see how much of one thing I have?
Brianetta  [author] 26 Jan @ 7:26am 
The leftmost screen is just cropped, I'm afraid. There isn't any way to hide them.
RikeiR 26 Dec, 2024 @ 4:55am 
How do I hide the icons, as in the rightmost display in the fourth image?
☼king wu 19 Nov, 2024 @ 4:21pm 
i tried putting [invnetory]
in custom data of one then other then both of text screen and programmable block and nothing works
☼king wu 19 Nov, 2024 @ 4:16pm 
"Nearly all your config goes into the Custom Data of the screens you want it to show up on."

theres nothing in any blocks' custom data anywhere. do i have to put a name pre/post fix in the screen name or custom data or what
☼king wu 19 Nov, 2024 @ 4:13pm 
how do i just make one text screen show inventory stuff?