Space Engineers

Space Engineers

246 ratings
Simple Inventory Display
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
319.946 KB
23 Jan, 2020 @ 6:08pm
8 Feb, 2020 @ 3:08pm
18 Change Notes ( view )

Subscribe to download
Simple Inventory Display

Description
This is a unified display of all the contents and dynamics of your entire system.

There is no setup. You just put the script in your computer and your stuff shows up on its display. You can configure things in more detail by editing the computer's Custom Data.

To include other grids in the data collection, add a section called `Grids:` (not case sensitive but must have a colon), with each grid on a separate line.


----------------------------------------------
Grids:
My Big Ship
Large Grid 3520
----------------------------------------------


You can show your inventory on as many displays as you want. To do this, add a section called `Displays:`. One display per line, if the block has more than one display surface, put the surface index after a slash. If the display is on another grid, put the grid name before a slash.

----------------------------------------------
Displays:
Text panel
LCD Panel
Control Seat / 0
Large Grid 3520 / Wide LCD panel
Large Grid 3520 / Flight Seat / 1
----------------------------------------------

You can show only the groups you need on each monitor. The available groups are 'Ore', 'Ingots', 'Ice', 'Components', 'Items', 'Ammo', 'Tools' and 'Status'. You can exclude a group from the total display by specifying 'NoOre', 'NoIngots', etc. For example,

----------------------------------------------
Displays:
Text panel @ Ore Ingots Ice
LCD Panel @ Components
Control Seat / 0 @ NoStatus
----------------------------------------------

To configure the computer's own large display, don't write anything before the @.

----------------------------------------------
Display:
@ Ore FullNames Bars
----------------------------------------------

You can also show capacity as percentage in the form of fill bars by specifying 'Bars' for the monitor.

----------------------------------------------
Displays:
Text panel @ Ore FullNames Bars
----------------------------------------------

As a small convenience you can specify a shortcut for a grid name, by putting it before the slash. Then you can use the shortcut in specifying the display path.

----------------------------------------------
Grids:
LG / Large Grid 3520

Displays:
LG / Flight Seat / 1
----------------------------------------------

To create a shortcut for a grid name without adding that grid to data collection, replace the / with a =.

----------------------------------------------
Grids:
LG = Large Grid 3520

Displays:
LG / Flight Seat / 1
----------------------------------------------

You can set the scaling for each monitor individually, by putting it after a @.

----------------------------------------------
Displays:
LCD panel @ 0.75
LG / Flight Seat / 1 @ 1.5
----------------------------------------------

The included grids can be changed and the contents will be updated on the fly, which is useful for situations where you have ex. several ships docked together and you want to see the info of the entire group. If a grid is not found it will be ignored until it's found again, which means you can have permanent auto-included grids.

The items you're "running out of" are shown in red (by default). You can change this limit for each ore, ingot and component type individually.

If you go into the code (not CustomData), the first part of it at the very top is a list of all the limits.
After that you have the colors that everything is drawn with, which you can also customize.

If you don't like the boxes you can hide them by putting `NoBoxes` on a separate line.

If you want to hide the arrows, add 'NoArrows'.
121 Comments
Attic Goblin 4 Feb @ 6:45pm 
Is there a way to display a bar or graph of how full the cargo containers on the grid(s) connected?
If not, I'd love for an option for that.
_Dave. 15 Dec, 2024 @ 8:25am 
shamsi: Is there still interest in this script? Should I put some work into it?

Yes!
DaFarmbot 4.0 6 Dec, 2024 @ 8:34am 
I use almost every function of the script now. Initially I only used the inventory system to show fuel, comps, and ores I had, but now I use it for about everything. I had to make a modification to the script myself to allow for modded ammo, but that was done by effectively copy and pasting the existing code and changing out certain fields with the modded id tags and correct numbers associated with them. The problem I ran into was that the script was too long and I had to remove the part with the tools since I never really found that part all that helpful and it took up a fair chunk of space. I'm not sure if there is a way to condense the code somehow, but if you included the assault weapons pack, NorthWind Industries, and TIO Industries, you definitely will not have enough space to write the full script. Just with NorthWind and TIO I didn't even have enough space, let alone adding the assault weapons pack.
shamsi  [author] 6 Dec, 2024 @ 12:33am 
I've started a new full time job and I won't have too much time to work on this, so I think I will just make it open source and work on it as I can. What would really help me is if you guys made some videos showing and explaining to me how you use it, then I will be better able to plan my work. For instance the script only supports basic vanilla minerals/tools/weapons, it should support mods also. Etc etc etc.
Frission 5 Dec, 2024 @ 2:00pm 
I use it a lot too :3 At the moment the bug of the screens losing information over time is my main concern. I occasionally have to just go into the programming block and temporarily remove (or add) the Fullnames tag and then undo that to get it to display normally again.
Marcus Aquila 1 Dec, 2024 @ 1:21pm 
Yes please!
DaFarmbot 4.0 1 Dec, 2024 @ 12:44pm 
Honestly would love to see the script get updated. Maybe even a version that includes WC ammo as well.
shamsi  [author] 1 Dec, 2024 @ 11:47am 
Is there still interest in this script? Should I put some work into it?
Frission 5 Nov, 2024 @ 1:18am 
Script still works just fine, looks like the only thing causing an error at the moment is if we try to use the "Bars" operator. Don't include that word anywhere and it's fine. Guessing the code for that new addition got FUBAR'd somewhere along the line.
DaFarmbot 4.0 7 Dec, 2023 @ 2:16pm 
Is there any way to make the script display modded ammo? Love the script btw, hands down my favorite inventory script on the steam workshop!