Space Engineers

Space Engineers

258 ratings
LCDInventory
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
364.066 KB
17 May, 2020 @ 3:50pm
22 Nov, 2023 @ 3:51pm
15 Change Notes ( view )

Subscribe to download
LCDInventory

Description
1) Place Programmable block
2) Place LCD Panel
3) Edit LCD Custom Data and tape word: prepare
4) Add Script into Programmable block
5) Return edit LCD Custom Data and set what you want

if something change you can use run in programmable block to init the LCD and Inventory selection

in the Custom Data of Programmable Block you can change the limit and color item or the settings search
to reset default settings of Programmable Block use run with argument: default

Filter Syntax:
filter=*
This search all block in the same grid of LCD
filter=M:*
This search all block in all grid
filter=C:Cargo
This search block with name contain "Cargo" in the same grid of LCD
filter=GM:Drills
This search groupe with name "Drills" and take block in all grid

Filter Chars:
C=Search By Contains
G=Search Group
M=Search on Multi Grid

Programmable Block Commads:
run without argument, research LCD
run argument "ForceUpdate", Update new setting options on all LCD
101 Comments
Shenji 25 Dec, 2024 @ 10:27pm 
This should be the first thing to do when you develop a resource gathering game. They should pay you for the script. Nice work!
[ZIG] helfima  [author] 27 Nov, 2024 @ 11:29am 
you can change option in custom data of LCD after initialisation
you have some filter
Eyeshield 25 Nov, 2024 @ 3:26pm 
Hey, thanks for this awesome script. I can't figure how to make it work correctly on the 5x3 and 5x5 sci-fi LCDs. Most of the info is missing
BCMortis 8 Oct, 2024 @ 8:42pm 
Ok, after some testing and trying different things, I have determined that it was not the size of my base's inventory and conveyor system that was the issue. Rather, it was that I had too many LCDs on the base. Setting the programmable block's custom data to 'filter =*' but filtering the screens returned an error. But setting the programmable block to 'filter =C:Managment" and naming a LCD 'Management' seems to have the script working as intended.

Also any connected grids (small ships) docked at connectors with their own copy of the script running seemed to error out whenever the base's script was giving an error, even though neither of them should be looking for anything on connected grids.
[ZIG] helfima  [author] 8 Oct, 2024 @ 6:51am 
yes that's right
BCMortis 7 Oct, 2024 @ 6:31pm 
Ok, if I'm understanding you correctly, in the custom data of the programmable block, the filter setting is to filter the LCD panels and cockpits. So, for example, if I changed it to 'C:Management', it will only look for LCD panels and cockpits with 'Management' in their names, correct?
To filter to only specific container blocks, that is done in the LCD panel's custom data. So if that is changed to 'C:Storage', they will only look for container blocks with 'Storage' in their names, correct?
[ZIG] helfima  [author] 7 Oct, 2024 @ 11:01am 
your mistake is that the filter must find the containers
with a filter "C:Storage" you must have a container with a name contains Storage
the script say quickly the number of panel found, here there are no panel and no cockpit and this the end of script.
the filter in the custom data of programmable block is use to find pnale or cockpit default is '*', do not change it
but change the filter in a custom data of panel with you value 'C:Storage' or more restrictive filter to try it how work
the script must say "List<IMyTerminalBlock>(*):x" where x is the number of containers
I hope I was understandable enough
BCMortis 7 Oct, 2024 @ 2:57am 
Doesn't seem to work. Tried removing a bunch of containers and conveyors from my base, and now rather than giving me an error, the programmable block's info window says
Version 1.1
List<IMyTextPanel>(C:Storage):0
List<IMyCockpit>(C:Storage):0

And then nothing, none of the LCDs update at all. Even disconnected all my ships and rovers, made sure the script was set to only read the single grid, but nothing worked.
[ZIG] helfima  [author] 6 Oct, 2024 @ 5:27am 
hello
if the script tries to read too many elements it may take too long and say "script is too complex"
try to reduce with same grid filter M:* or other
BCMortis 6 Oct, 2024 @ 1:52am 
Hello. I've been using this script for a few weeks now, but all of a sudden I started getting this error on my base .
List<IMyTerminalBlock>(*):260
List<IMyTerminalBlock>(*):260
List<IMyTerminalBlock>(*):260
Script execution terminated, script is too complex. Please edit and rebuild script.
I've not changed the script, or edited it in any way, and I've tried unsubscribing and re-subscribing to make sure I have the most recent version off the Workshop, and it always gives me that error now.