Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Material point scanner (Assembly)

From Starbase wiki
Revision as of 00:05, 10 September 2021 by Wayfarer (talk | contribs) (Minor edits, added some example code.)

Jump to navigation Jump to search
Material point scanner (assembly).png
An assembled material point scanner
Material point scanner
Type Mining device
Function Identifies materials

Size 204×96×72 cm
Mass 11,147 kg
Volume 1,130.12 kv
Corrosion resistance 308

Input / Output
Electric input ~300 e/s

Sub-components
Material point scanner.png
Utility tool body 1.png
Utility capacitors.png

The material point scanner provides information about the materials an object contains.

Basic information

The material scanner casts a ray 100 meters long. If an object is detected within this range, it will update the 'ScanResults', 'Material', and 'Volume' devicefields If an object contains more than one material, the user can change the 'Index' device field to page through the returned results. These fields will not update until a new object is scanned.

The fields can only be read from a Text Panel if it is written manually by Yolol. Example code execution to manually read and write the results would be:

Results = :ScanResults goto1

where :Results is the name of a text panel, and where :ScanResults is the ScanResults device field on the Material Scanner.

Device fields

Material point scanner

YOLOL field description range
Active The scanner turns off when this is set to 0 and on when set to anything else 0 - 1
Index The current material to provide information for. Starting at 0 0 -
ScanResults The number of diferent materials the object contains 0 -
Material The material of the current 'Index' i.e. "Ukonium" String
Volume The Volume of the current 'Index' i.e. 272 0 -
Scan Must be set to 1 to initiate a scan, auto-resets to 0 once scan is complete 0 - 1
Reset Resets the stored scan result 0 - 1

Utility tool capacitor

YOLOL field description range
StoredLocalPower How much power is stored in the capacitor 0 - 4000
MaxLocalPower Maximum amount of power that can be stored 4000


To learn more about how to use fields, consult these wiki pages:

Cookies help us deliver our services. By using our services, you agree to our use of cookies.