Space Engineers

Space Engineers

评价数不足
(BASIC) Custom LCD Info
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
12.278 KB
2019 年 6 月 1 日 下午 2:35
2019 年 6 月 1 日 下午 3:00
2 项改动说明 ( 查看 )

订阅以下载
(BASIC) Custom LCD Info

描述
A script to display various block information to an LCD

Instructions:
Name your LCD `[BASICLCD]`, and use the custom data field to specify configuation. An example (from the image above) is:

literal:DDM One (Station Info): Blast Door - Command Center:door:doors:Command Blast Doors Command Lockdown Blast Door:door:doors:Command Lockdown Reactor Blast Door:door:doors:Reactor Blast Doors:Reactor Blast Doors Hangar A Door:door:doors:Hangar A Hangar B Door:door:doors:Hangar B Nanite Control Facility - Construction:onoff:nanites:Construction Nanites Nanite Control Facility - Mining:onoff:nanites:Mining Nanites preset:battery preset:power Jump Drive 1:jumpdrive:jumpdrives Jump Drive 2:jumpdrive:jumpdrives Jump Drive 3:jumpdrive:jumpdrives Jump Drive 4:jumpdrive:jumpdrives Jump Drive 5:jumpdrive:jumpdrives Jump Drive 6:jumpdrive:jumpdrives preset:atmos

Commands are colon (:) delimted, with the special commands of `preset:`, and `literal:`

`literal` prints any text to the screen
`preset` currently includes battery, power, and oxygen information, via `preset:battery`, etc.

Any other data is treated with the following format:
block_name : data_to_display : group_name : display_name

The arguments mean as follows:
block name: the name of the block on the grid to display information about
data to display: currently available settings are `door`, `onoff`, and `jumpdrive`
group name: Optional, used for spacing to evenly align values in a group. Defaults to `default`
display name: Optional, used to use different display text than the block name. Defaults to the block name

Newlines are treated literally in output, and can be used to format the display.