[gd_scene format=3 uid="uid://b6n1ogixc2chy"]

[ext_resource type="Script" uid="uid://6ep27l6iw1hi" path="res://scripts/grenade.gd" id="1_wxtds"]
[ext_resource type="PackedScene" uid="uid://dqu37r80dlxao" path="res://scenes/green_explosion.tscn" id="2_76ndk"]
[ext_resource type="Texture2D" uid="uid://br8dx2f3mfxcd" path="res://assets/masks/grenade.png" id="2_vhiwl"]
[ext_resource type="Script" uid="uid://ejd25ul4j5pp" path="res://scripts/hitbox.gd" id="3_vhiwl"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_76ndk"]

[node name="Grenade" type="Node2D" unique_id=2087865404]
script = ExtResource("1_wxtds")
max_bounces = 3
explosion = ExtResource("2_76ndk")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1335147270]
texture = ExtResource("2_vhiwl")

[node name="Hitbox" type="Area2D" parent="." unique_id=973042172]
script = ExtResource("3_vhiwl")
deal_damage = false
metadata/_custom_type_script = "uid://ejd25ul4j5pp"

[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" unique_id=574492836]
shape = SubResource("RectangleShape2D_76ndk")

[connection signal="hit_entity" from="Hitbox" to="." method="_on_hitbox_hit_entity"]
