[gd_scene load_steps=5 format=2] [ext_resource path="res://Actors/Systems/Electricity/ElectricProbe.gd" type="Script" id=1] [sub_resource type="CircleShape2D" id=1] radius = 12.0 [sub_resource type="SegmentShape2D" id=2] a = Vector2( 16, -16 ) b = Vector2( 16, 48 ) [sub_resource type="SegmentShape2D" id=3] a = Vector2( -16, 16 ) b = Vector2( 48, 16 ) [node name="ElProbe" type="Area2D"] input_pickable = false collision_layer = 4 collision_mask = 4 script = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 16, 16 ) shape = SubResource( 1 ) [node name="NeighbourCheck" type="Area2D" parent="."] input_pickable = false monitorable = false collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="NeighbourCheck"] shape = SubResource( 2 ) [node name="CollisionShape2D2" type="CollisionShape2D" parent="NeighbourCheck"] shape = SubResource( 3 ) [connection signal="area_entered" from="NeighbourCheck" to="." method="_got_neighbour"]