Space Engineers

Space Engineers

Inventory Content Display Script
274 kommentarer
miked9999 25. apr. kl. 5:20 
When you say "displays content", does it display volume, mass or quantity ?
Katsuya76 13. dec. 2024 kl. 11:45 
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 kl. 14:56 
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. okt. 2024 kl. 13:06 
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 kl. 9:19 
I Named my LCD in Ore #1 and Nothing.... Dont Work for me!
Nirrtix 15. aug. 2024 kl. 13:10 
Does this script Autobuild?
theseal 29. juni 2024 kl. 13:55 
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. maj 2024 kl. 12:07 
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 kl. 20:40 
this script is PERFECT. simple AND adjustable. nc, exactly what i was searching 2 hours for
Stickman 8. apr. 2024 kl. 17:19 
Is it possible to combine categories on one display? Like display ores and ingots on the same panel?
Mr. Stoner 8. mar. 2024 kl. 19:49 
Works great here, everything 100%
Vrishnak92™ 23. feb. 2024 kl. 2:17 
Curious, the script doesn't seem to catch Ice as an ore type
99Gold_Eagle99 3. dec. 2023 kl. 3:17 
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 kl. 12:48 
At First thank you for this nice Script :steamthumbsup:
But one question, is it posible to exclude docked ships from it ?
Mike Loeven 14. juni 2023 kl. 12:15 
Is there a support method to direct output to the LCD built into the programmable block given they cannot be renamed/
Brack 3. juni 2023 kl. 20:51 
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 kl. 9:25 
how to change the displaylay language from English to Ukrainan or russian . Thanks in advance .
Mefisto 14. jan. 2023 kl. 13:07 
I have enabled cripts and exp mode
Mefisto 14. jan. 2023 kl. 13:06 
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 kl. 22:46 
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 kl. 17:57 
BRAVO! only one that worked with all my mods :) thank you
Mister(M)Clang 4. dec. 2022 kl. 20:43 
Res #1 and Com #1 and Inv #1 not working?
King Matt 👑 20. nov. 2022 kl. 18:13 
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. maj 2022 kl. 17:43 
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 kl. 12:57 
i have the same problem
Tarnished_Star 8. feb. 2022 kl. 9:04 
i've had the same problem v
Peekofwar 2. jan. 2022 kl. 6:38 
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 kl. 14:31 
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 kl. 8:58 
can you add hydrogen ? thx
тѕсм.Doctorwho12th (Tequila) 28. nov. 2021 kl. 0:52 
Works amazing, could you add hydrogen to the list for Status please?
Tomas Wynn 26. sep. 2021 kl. 5:59 
Works great! Thanks!
α¯\_(ツ)_/¯Ω 11. dec. 2020 kl. 2:41 
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 kl. 9:50 
I want to display Oxygen, Hydrogen and Battery but only Oxygen and battery show up how do i add Hydrogen?
elmostar 20. okt. 2020 kl. 15:31 
awesome made script, and +10 for making the list be in alphabetical order
Ghostwheel 4. okt. 2020 kl. 1:11 
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 kl. 7:31 
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 kl. 7:45 
bei mir funktioniert es auch nicht und ich mache eigentlich alles so wie es da steht
Emygdious 2. sep. 2020 kl. 0:01 
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. juni 2020 kl. 0:22 
this is not working for me, does it not work on a server? is it only a single player script?
Readtext 12. maj 2020 kl. 13:27 
How to rotate text on a 1x2 screen?
NoobGuru 2. mar. 2020 kl. 15:08 
It doesn't work on servers that run HaE-PBLimiter plugin.
King_Predator2011 22. jan. 2020 kl. 18:25 
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. okt. 2019 kl. 19:35 
@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  [ophavsmand] 20. sep. 2019 kl. 14:16 
Good point. Will do.
sdrevik 20. sep. 2019 kl. 14:11 
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  [ophavsmand] 20. sep. 2019 kl. 13:50 
It does find the panels. Maybe you need to set them to display text mode.
sdrevik 20. sep. 2019 kl. 13:42 
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 kl. 13:20 
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  [ophavsmand] 20. sep. 2019 kl. 8:51 
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 kl. 22:32 
Also tried editing font size to 0.5, did not help.