Space Engineers

Space Engineers

Inventory Content Display Script
274 Comments
miked9999 25 Apr @ 5:20am 
When you say "displays content", does it display volume, mass or quantity ?
Katsuya76 13 Dec, 2024 @ 11:45am 
hey Engineers i got it to work!!!
name the LCD-Panel: Ing #0 or Ore #0 and so on,after that you have to change something in the LCD-settings!
from "no Content" to "Text and Pictures"
Katsuya76 28 Nov, 2024 @ 2:56pm 
it doesnt work for me ... I named a LCD Ing #0 but still "no Panels found" !
i play SE with the German language.
Flamytygwa 18 Oct, 2024 @ 1:06pm 
This script is great, simple and no frills. If your like me and don't want decimal places because they make it hard to read at a glance, change this line just below the "DO NOT CHANGE ANYTHING BELOW"
From:
const string NumberFormat = "#,0.0##";
To:
const string NumberFormat = "#,0";
And you will only get whole numbers.
Your welcome.
WoBra 26 Sep, 2024 @ 9:19am 
I Named my LCD in Ore #1 and Nothing.... Dont Work for me!
Nirrtix 15 Aug, 2024 @ 1:10pm 
Does this script Autobuild?
theseal 29 Jun, 2024 @ 1:55pm 
Hey, thanks for the script, workign fine and very good!
Is there a possibility to switch the output language?
The names als all in english, but my game is in german ;)
Stickman 13 May, 2024 @ 12:07pm 
Why does this script stop working every day? I have to change the LCD name and back again to get it to begin updating each day
[I.L]Methidox 27 Apr, 2024 @ 8:40pm 
this script is PERFECT. simple AND adjustable. nc, exactly what i was searching 2 hours for
Stickman 8 Apr, 2024 @ 5:19pm 
Is it possible to combine categories on one display? Like display ores and ingots on the same panel?
Mr. Stoner 8 Mar, 2024 @ 7:49pm 
Works great here, everything 100%
Vrishnak92™ 23 Feb, 2024 @ 2:17am 
Curious, the script doesn't seem to catch Ice as an ore type
99Gold_Eagle99 3 Dec, 2023 @ 3:17am 
Great Script, Im running into an issue tho; It sometimes says "Not enough panels to display all entries" and I dont know how to fix it
eXoMorgwen 8 Nov, 2023 @ 12:48pm 
At First thank you for this nice Script :steamthumbsup:
But one question, is it posible to exclude docked ships from it ?
Mike Loeven 14 Jun, 2023 @ 12:15pm 
Is there a support method to direct output to the LCD built into the programmable block given they cannot be renamed/
Brack 3 Jun, 2023 @ 8:51pm 
Thanks for this great mod. Any way to order the items by quantity? If not that would be a great option.
nebokray 22 Jan, 2023 @ 9:25am 
how to change the displaylay language from English to Ukrainan or russian . Thanks in advance .
Mefisto 14 Jan, 2023 @ 1:07pm 
I have enabled cripts and exp mode
Mefisto 14 Jan, 2023 @ 1:06pm 
Hey!
I set up prg block with the script, But it says no panels found.
How to make it show on the lcd? :)
DickBandit 3 Jan, 2023 @ 10:46pm 
Been loving this script for years. Thanks for the great work. I really wish the display would align the numerical values so that the decimal points are all lined up. This would make it much easier to make sense of all the contents. Please : )
Migbart 29 Dec, 2022 @ 5:57pm 
BRAVO! only one that worked with all my mods :) thank you
(DANIEL) 4 Dec, 2022 @ 8:43pm 
Res #1 and Com #1 and Inv #1 not working?
King Matt 👑 20 Nov, 2022 @ 6:13pm 
Works for a day or so and then gives me the error that no inventories are connected to the panels. Any way to fix this?
phmsin 21 May, 2022 @ 5:43pm 
It would help to mention in your short intro that you must have Experimental Mode enabled in your world before scripts will even be allowed to run. New players have it disabled by default which leads to some confusion why they can't use scripts or why tutorials don't work.
jimfingers 14 Feb, 2022 @ 12:57pm 
i have the same problem
Tarnished_Star 8 Feb, 2022 @ 9:04am 
i've had the same problem v
Peekofwar 2 Jan, 2022 @ 6:38am 
It was working fine until today when it suddenly claims that there are no panels to display anything... I literally haven't touched the two resources screens that both have "Res #1" in their public text.
Peekofwar 1 Jan, 2022 @ 2:31pm 
Would be nice if you could setup a list of screens in the programmable block's custom data, where you could specify the index of the screen for items with multiple screens.
andreramos81 12 Dec, 2021 @ 8:58am 
can you add hydrogen ? thx
тѕсм.Doctorwho12th (Tequila) 28 Nov, 2021 @ 12:52am 
Works amazing, could you add hydrogen to the list for Status please?
Tomas Wynn 26 Sep, 2021 @ 5:59am 
Works great! Thanks!
α¯\_(ツ)_/¯Ω 11 Dec, 2020 @ 2:41am 
hi i miss a option, my ask for edit this with dispay "tools" tol #x, elite grinder / gridner, zoneShips not in inventory plz swith in tools additional clang cola and friends in tools too(Medic-Kit, PowerZell..)
Raven 30 Nov, 2020 @ 9:50am 
I want to display Oxygen, Hydrogen and Battery but only Oxygen and battery show up how do i add Hydrogen?
elmostar 20 Oct, 2020 @ 3:31pm 
awesome made script, and +10 for making the list be in alphabetical order
Ghostwheel 4 Oct, 2020 @ 1:11am 
Having the same issue as Valorex1. Except all my screens every few seconds or so (random intervals) do it. Sometimes they go black for a second or so, sometimes they just display online. Have recompiled and ran a few times. I changed the text size and padding a bit, otherwise LCDs are default.
Sf! 26 Sep, 2020 @ 7:31am 
Ok,
Don't forget to say a programable block is necessary :)


Can you have tip to change the name of resouces?
I'm french :D
Gigammc 9 Sep, 2020 @ 7:45am 
bei mir funktioniert es auch nicht und ich mache eigentlich alles so wie es da steht
Emygdious 2 Sep, 2020 @ 12:01am 
Works great however on the ammo panels they flash on and off constantly and I can't figure out how to make that stop. The lcds aren't on any interval and none of the others flash this way.
Deadmanwalking 26 Jun, 2020 @ 12:22am 
this is not working for me, does it not work on a server? is it only a single player script?
Readtext 12 May, 2020 @ 1:27pm 
How to rotate text on a 1x2 screen?
NoobGuru 2 Mar, 2020 @ 3:08pm 
It doesn't work on servers that run HaE-PBLimiter plugin.
King_Predator2011 22 Jan, 2020 @ 6:25pm 
Awesome script. I really like it and it is easy to setup. The only issue I have is every map reload, I have to literally copy and paste every LCD or the PB says "No panels found =(" but would be working perfect the night before and will again if the LCD's are reset up.

I want to keep using this mod but it is a deal breaker to need to setup everyday, is there a fix for this?
Demi 3 Oct, 2019 @ 7:35pm 
@Spacemarine Thank you thank you thank you thank you thank you.... lol seriously, thanks. I'm just playing a small solo game, nothing too big, but even then, being able to see what I have so easily really helps a ton. This script is great and very easy to setup.
Spacemarine  [author] 20 Sep, 2019 @ 2:16pm 
Good point. Will do.
sdrevik 20 Sep, 2019 @ 2:11pm 
BINGO! That did it. Thanks! Maybe the LCD defaults have changed from the original script, would be a good addition to instructions to change the default LCD mode.
Spacemarine  [author] 20 Sep, 2019 @ 1:50pm 
It does find the panels. Maybe you need to set them to display text mode.
sdrevik 20 Sep, 2019 @ 1:42pm 
Ah, I found the debug switch. Here's what it shows:
Found 5 TextPanels
Title Parts: (5 times)
New list at index: 0
Add panel at index: 0
Found 1 panels for 'Rest'
Found 5 TexPanels
Title Parts:
New list at index: 4
Add panel at index: 4
Title Parts: (3 times)
New list at index: 2
Add panel at index: 2
Title Parts:
Found 2 panels for 'Ore'
Found 5 TextPanels
Title Parts: (3 times)
New List at Index: 1
Add panel at index: 1
Title Parts: (2 times)
Found 1 panels for 'Ing'
Found 5 TexPanels
Title Parts: (5 times)
....
....
Counts->Ore: 2 Ing: 1, Com: 0 Amm:0
sdrevik 20 Sep, 2019 @ 1:20pm 
No timer on the ship. I tried the recompile, and then I started all over again- rebuilt the PB, reloaded the script from the list, rebuilt the LCDs (all on the metal floors), changed the font to 0.5, (const float DefaultFontSize = 0.5f;) and made sure I had the space in the LCD names (I figured that out, some previous comments indicated that was a hangup for some people).

Is there debug output other than in the block screen (nothing shows there), like if you added an LCD panel with a certain name?

Should I try adding a time (and with what name)?
Spacemarine  [author] 20 Sep, 2019 @ 8:51am 
Hmm... Yeah that's all you need to do. You shouldn't need a timer to use it, it runs automatically each second or .1 seconds or so. Maybe the timer is interferring with it? (even though I have no idea why that should be a problem). It could be that you need to recompile the script after building new LCDs, can you try that?
sdrevik 19 Sep, 2019 @ 10:32pm 
Also tried editing font size to 0.5, did not help.