[gd_scene load_steps=4 format=2]

[ext_resource path="res://assets/contraption/ShieldVendingMachine.png" type="Texture" id=1]
[ext_resource path="res://src/Contraptions/VendingMachine.gd" type="Script" id=2]

[sub_resource type="CircleShape2D" id=1]
radius = 18.0

[node name="VendingMachine" type="Node2D"]
script = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]
z_index = -1
texture = ExtResource( 1 )

[node name="ActivatorArea" type="Area2D" parent="."]
unique_name_in_owner = true
position = Vector2( 0, -6 )
collision_layer = 24
monitorable = false

[node name="ActivatorAreaShape" type="CollisionShape2D" parent="ActivatorArea"]
unique_name_in_owner = true
position = Vector2( 0, 3 )
shape = SubResource( 1 )

[node name="Timer" type="Timer" parent="."]
wait_time = 0.333
one_shot = true

[node name="Label" type="Label" parent="."]
visible = false
margin_left = -5.0
margin_top = -26.0
margin_right = 13.0
margin_bottom = -12.0
rect_scale = Vector2( 0.590909, 0.627907 )
text = "[e]"

[connection signal="area_entered" from="ActivatorArea" to="." method="_on_ActivatorArea_area_entered"]
[connection signal="area_exited" from="ActivatorArea" to="." method="_on_ActivatorArea_area_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
