Difference between revisions of "Material point scanner (Assembly)"
m |
m |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Otherlang2 | {{Otherlang2 | ||
|ru=Точечный_сканер_материалов_(Собранный) | |||
}}{{SB Infobox Begin | }}{{SB Infobox Begin | ||
|{{SB Infobox Header | |{{SB Infobox Header | ||
|image=[[Image: | |image=[[Image:Material point scanner (assembly).png]] | ||
|factionLogo= | |factionLogo= | ||
|caption= | |caption=An assembled material point scanner | ||
|name= | |name=Material point scanner | ||
|border=none | |border=none | ||
}} | }} | ||
Line 12: | Line 13: | ||
|type=Mining device | |type=Mining device | ||
|function=Identifies materials | |function=Identifies materials | ||
|size=204×96×72 cm | |size=204×96×72 cm | ||
|mass= | |mass=11,147 | ||
|volume= | |volume=1,130.12 | ||
|corrosionResistance= | |corrosionResistance=308 | ||
|suppressUnitsKg= | |suppressUnitsKg= | ||
|suppressUnitsKv= | |suppressUnitsKv= | ||
}} | }} | ||
Line 43: | Line 44: | ||
}} | }} | ||
|{{SB Infobox | |||
| | |{{SB Infobox Component Section | ||
|Material point scanner | |||
|Utility tool body type 1 | |||
|Utility tool capacitor | |||
| | |||
| | |||
}} | }} | ||
}}<section begin=summary/>The material point scanner provides information about the [[materials]] an object contains.<section end=summary/> | }}<section begin=summary/>The material point scanner provides information about the [[materials]] an object contains.<section end=summary/> | ||
Line 122: | Line 54: | ||
== Basic information == | == 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: | |||
:Material=:SMaterial :Volume=:SVolume goto1 | |||
where :Material and :Volume are the names of text panels, and where :SVolume and :SMaterial are the renamed "Volume" and "Material" fields on the Point Scanner. Index must be set to "1" and ScanResults set to 2. | |||
== Device fields == | == Device fields == | ||
===[[Material_point_scanner|Material point scanner]]=== | |||
{{#lst:Material_point_scanner|deviceFields}} | |||
===[[Utility_tool_capacitor|Utility tool capacitor]]=== | |||
{{#lst:Utility_tool_capacitor|deviceFields}} | |||
| | |||
| | |||
| | |||
|} | |||
To learn more about how to use fields, consult these wiki pages: | To learn more about how to use fields, consult these wiki pages: | ||
Line 162: | Line 70: | ||
* [[YOLOL|YOLOL]] | * [[YOLOL|YOLOL]] | ||
[[Category:Devices and machines|Mining laser]] | [[Category:Devices and machines|Mining laser]] |
Latest revision as of 14:57, 17 March 2022
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:
- Material=:SMaterial :Volume=:SVolume goto1
where :Material and :Volume are the names of text panels, and where :SVolume and :SMaterial are the renamed "Volume" and "Material" fields on the Point Scanner. Index must be set to "1" and ScanResults set to 2.
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: