[gd_scene load_steps=5 format=2]

[ext_resource path="res://sprites/bonuses.png" type="Texture" id=1]
[ext_resource path="res://scripts/bonus.gd" type="Script" id=2]
[ext_resource path="res://audio/sounds/apply_bonus.wav" type="AudioStream" id=3]

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

[node name="bonus" type="Area2D"]
monitoring = false
collision_layer = 0
collision_mask = 2
script = ExtResource( 2 )
bonus_name = "support"

[node name="sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0.5, 0.5 )
vframes = 3
hframes = 3

[node name="coll" type="CollisionShape2D" parent="."]
position = Vector2( 0.5, 0.5 )
shape = SubResource( 1 )

[node name="collect" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )

[node name="life_time" type="Timer" parent="."]
wait_time = 16.0
one_shot = true
autostart = true
