Space Engineers
Недостаточно оценок
Ship-Wide Resource Monitor
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
12.363 KB
10 ноя. 2015 г. в 19:50
14 сен. 2019 г. в 17:29
Обновлений: 4 (просмотреть)

Подпишитесь, чтобы загрузить
Ship-Wide Resource Monitor

Описание
SHIP-WIDE RESOURCE DISPLAY SYSTEM
Author: Steve "Steeveeo" Green

Gathers all storages and tallies their contents, which then
displays on any number of screens.

INSTRUCTIONS:
1. Load onto a ship/station with storage blocks of any kind.
2. Place a timer that calls this block periodically (I recommend 1 - 3 seconds).
3. Place a timer that calls this block occasionally with argument "-r" (I recommend 1 minute).
This will recollate all connected storages an screens.
4. Place pairs of non-wide LCD screens around the ship.
5. Name the left screen(s) "Resource Panel Left" along with any unique identifier.
6. Do the above for the right screen(s) with the name "Resource Panel Right".

FEATURES:
- To manually recollate connected storages and screens, simply run the script with argument "-r".
- Any new screen named as per the instructions will display the proper data, as long as the script
is occasionally run with "-r".

VERSION:
1.0.8
2019-9-14
Комментариев: 8
Steeveeo  [создатель] 14 сен. 2019 г. в 17:31 
Script should now work properly on the Economy Update version of SE.
Blueduckraider50 17 апр. 2019 г. в 11:59 
"Program(239,53): Error: There is no argument given that corresponds to the required formal parameters 'items' of 'IMyInventory.GetItems(List<MyInventoryItem>, Func<MyInventoryItem,bool>)'
Program(135,34): Error: The type or member 'string MyObjectBuilder_Base.SubtypeName' is prohibited
It doesn't want to run anymore
Steeveeo  [создатель] 10 фев. 2018 г. в 12:42 
Thanks for the feedback, hoangandpaid. To be honest, I'm surprised this thing still works after 2 years of SE updates. :D
hoangandpaid 10 фев. 2018 г. в 11:11 
An excellent Script. amazing job, im making use of it in all my bases and large mining ships, its just so useful.

thanks heaps for providing this for us scripting noobs :P
Steeveeo  [создатель] 21 ноя. 2015 г. в 22:13 
Alright, Aurorae and Dicerson, the fixes are in place. I can't remember if SE auto-downloads updates for scripts or not, so check the version number on your files and see if it matches the current description.
Steeveeo  [создатель] 20 ноя. 2015 г. в 21:38 
Thanks for the comments, guys, I'll get those fixed in the next update. Expect it tomorrow since I'm currently playing with my brother. ;)
Tristan 15 ноя. 2015 г. в 16:44 
A few critiques:

The right panel is very hard to read, I recommend setting it to r-0, g-124, b-256 to make it lighter.

Also, you say to use "Resource Screen Left/Right" but your script is searching for "Resource Panel Left/Right". Thus, naming your LCDs "Resource Screen Left" or "Resource Screen Right" doesn't actualy do anything.
Dicerson 15 ноя. 2015 г. в 16:35 
Unsure why, but this doesn't work. I followed the instruction, the code is in the block, I have 1 pair of LCD's named Resource Screen Left and Resource Screen Right, respectively, One timer that calls with default argument every 3 seconds, and another that calls with "-r" every 1:02 (Also tried -r, without quotes).

HALP