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

[ext_resource type="Script" uid="uid://cayxffay17o0u" path="res://molecular/food/food_mol.gd" id="1_0vfbj"]
[ext_resource type="Texture2D" uid="uid://dcedkos6vgv51" path="res://molecular/assets/food/food-normal.png" id="2_68e2u"]
[ext_resource type="Script" uid="uid://bvbc0n0pslq7p" path="res://shared/wrapping_manager.gd" id="3_8lhj0"]
[ext_resource type="Texture2D" uid="uid://xaqiha5lh1vt" path="res://molecular/assets/food/food-left-bolt.png" id="4_88m7w"]
[ext_resource type="Texture2D" uid="uid://dj4lyyloj1ke1" path="res://molecular/assets/food/food-left-bottom-bolt.png" id="5_i3g2v"]
[ext_resource type="Texture2D" uid="uid://cbynycukppmup" path="res://molecular/assets/food/food-right-bottom-bolt.png" id="6_07uaq"]

[sub_resource type="SpriteFrames" id="SpriteFrames_oo5vd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("4_88m7w")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("5_i3g2v")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("4_88m7w")
}, {
"duration": 1.0,
"texture": ExtResource("6_07uaq")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}, {
"duration": 1.0,
"texture": ExtResource("2_68e2u")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="CircleShape2D" id="CircleShape2D_0vfbj"]
radius = 5.0

[node name="FoodMol" type="Node2D" unique_id=742430243]
script = ExtResource("1_0vfbj")
val = null
food_name = null
flow_carry_speed = null
metadata/_custom_type_script = "uid://cayxffay17o0u"

[node name="Collision" type="Area2D" parent="." unique_id=927700818]

[node name="Sprite" type="AnimatedSprite2D" parent="Collision" unique_id=1856148995]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_oo5vd")
frame_progress = 0.9373464

[node name="Sprite2D" type="Sprite2D" parent="Collision" unique_id=98693723]
visible = false
scale = Vector2(0.385, 0.385)
texture = ExtResource("2_68e2u")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Collision" unique_id=762721134]
shape = SubResource("CircleShape2D_0vfbj")

[node name="WrappingManager" type="Node" parent="." unique_id=1406150436]
script = ExtResource("3_8lhj0")
metadata/_custom_type_script = "uid://bvbc0n0pslq7p"

[connection signal="body_entered" from="Collision" to="." method="_on_body_entered"]
