[gd_scene load_steps=8 format=3 uid="uid://bxrjfsowqkb86"]

[ext_resource type="Script" path="res://scene/entity/cucumber.gd" id="1_uqaq7"]
[ext_resource type="Texture2D" uid="uid://c6g3vxs1w2cyx" path="res://res/cucumber.png" id="2_4sjmf"]
[ext_resource type="Script" path="res://scene/entity/carrot_gun.gd" id="3_w3gkv"]
[ext_resource type="PackedScene" uid="uid://cbpm6nmfyr861" path="res://scene/entity/ri.tscn" id="4_g83oq"]
[ext_resource type="AudioStream" uid="uid://cpyaqxuec8i5k" path="res://snd/sfx/laserShoot(1).wav" id="5_qk2b2"]
[ext_resource type="Script" path="res://scene/entity/pc.gd" id="6_3efot"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_8s8kg"]
size = Vector2(103, 143)

[node name="Cucumber" type="CharacterBody2D"]
scale = Vector2(1.2, 1.2)
collision_layer = 2
collision_mask = 0
script = ExtResource("1_uqaq7")
y_offset = -30.0
cost = 20
bullet_base_speed_u = 4000
bullet_base_speed_l = 3000
attack_rate = 1.0
attack_range = 4000.0
attack_damage = 30.0

[node name="Gun" type="Sprite2D" parent="."]
position = Vector2(23.3333, -72.5)
texture = ExtResource("2_4sjmf")
offset = Vector2(-27.5, 64.1667)
script = ExtResource("3_w3gkv")

[node name="Body" type="Sprite2D" parent="."]
visible = false
position = Vector2(145, 245)
texture = ExtResource("2_4sjmf")
centered = false
offset = Vector2(-200, -327)

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-3.5, -9.5)
shape = SubResource("RectangleShape2D_8s8kg")

[node name="RI" parent="." instance=ExtResource("4_g83oq")]

[node name="Coin" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("5_qk2b2")
volume_db = -6.0
bus = &"SFX"
script = ExtResource("6_3efot")
