Periscope with additional pins like distance_out or action pins that are activated when you press buttons
Requires lua + c# on both sides, Intended to be used by sub builders
You can make your own periscopes if you want, just make sure they have the pins
Added pins:
- distance_out - distance from turret to cursor in meters
- cursor_x - cursor x coordinate relative to the turret
- cursor_y - cursor y coordinate relative to the turret
- world_cursor_x - cursor x coordinate relative to the world, in centimeters for now
- world_cursor_y - cursor y coordinate relative to the world, in centimeters for now
- action_w - 0 when W key is up and 1 when W key is down
- action_a - 0 when A key is up and 1 when A key is down
- action_s - 0 when S key is up and 1 when S key is down
- action_d - 0 when D key is up and 1 when D key is down
- action_1 - pulse action, outputs 1 only when D1 key is hit
- action_2 - pulse action, outputs 1 only when D2 key is hit
- action_3 - pulse action, outputs 1 only when D3 key is hit
- action_4 - pulse action, outputs 1 only when D4 key is hit
If you want vanilla periscopes to also have those pins use this