Programmable Block

Programmable Block
             Automation Block
Components Required
Steel Plate 10
Functional
Computer 2
Hack
Display 1
Motor 1
Large Steel Tube 2
Construction Component 4
Steel Plate 11
Info
Dimensions (W,H,L) 1,1,1
Mass 534.4 kg
Integrity 2,387
Build Time 20 s
Is Airtight No
Power Consumption Group Utility
PCU Cost 100
             Automation Block
Components Required
Steel Plate 1
Functional
Computer 2
Hack
Display 1
Motor 1
Large Steel Tube 2
Construction Component 2
Steel Plate 1
Info
Dimensions (W,H,L) 1,1,1
Mass 138.4 kg
Integrity 427
Build Time 8 s
Is Airtight No
Power Consumption Group Utility
PCU Cost 100

Overview

A Programmable Block can be programmed to do different functions, like switching lights and controlling doors. It can also be used by entering the control panel in the Terminal. It has almost unlimited functionality.

Usage

Programmable Block scripts run in a single update (single frame) and any that take too long to complete are aborted. This means it is impossible for a single run of the script to ‘wait’ on any event. If you want your script to run when something happens, you need to either find a way of getting another block to trigger it at the right time (an ‘interrupt-driven’ approach via eg. a sensor block), or modify your script to check for a precondition and set up a timer to run it regularly (a ‘polling’ approach). Depending on what your script is doing, one approach may be the preferred or even the only way to do it.

  • Since Update 01.067 Hotfix 007 each programmable block has a maximum limit of 100,000 characters for any in-game script.

GUI Overview

The programmable block terminal panel screen currently contains two buttons:

Edit – it will open the editor for editing scripts and the ability to save/load scripts from and to disk. Also, you can upload your scripts to workshop and download subscribed scripts.

Automation Block information is listed in the table down below.

See more similar posts

  • Explore the Universe
  • Climate
  • Weapons

Recent Comments

  1. An outstanding share! I've just forwarded this onto a coworker who had been conducting a little research on this. And…

  2. That means you'll get the idea some fresh features and have access to additional channels where you can gain visibility,…

  3. Very Very Nice Wiki

  4. Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in…

Comments
All comments.
Comments