(Hardware) Laser - simon987/Much-Assembly-Required GitHub Wiki
Bexsh Optics's Multi Purpose Laser is an indispensable tool for any automated machinery! Its revolutionary design enables precise transfer of items over a distance of 1 tile using only a fraction of the energy of the ordinary robotic arm. It also lets you attack objects you are directly adjacent to. Only Cubots, NPCs, and Electric Boxes are attackable as of right now*.
Specifications
Manufacturer: Bexsh Optics
Version: 2.0B
Default address: 0x0002
Hardware ID: 0x0002
Damage: 25 hit points
Interrupt Behavior
| Value of A | Action | Energy cost | Result |
|---|---|---|---|
1 |
LASER_WITHDRAW |
30 kJ |
Withdraw the desired item |
2 |
LASER_DEPOSIT |
30 kJ |
Deposit the desired item (not implemented yet) |
3 |
LASER_ATTACK |
70 kJ |
Attack the object you are pointing at* |
Specify the desired item by setting the value of the B register with an item ID.
* Other Cubots can only be attacked when PvP is enabled (which is currently not implemented, see #128).