Cow_Life_Sim_RPG/Objects/Beach/Anthill/Anthill.tscn

51 lines
1.8 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://xko1exyivbvn"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_exemm"]
[ext_resource type="Texture2D" uid="uid://y5nogv4b31b" path="res://Objects/Beach/Anthill/Anthill.png" id="2_gxifi"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_ejm25"]
[ext_resource type="PackedScene" uid="uid://bopvdfj5s3eax" path="res://Interactions/Cleaning/CleaningInteration.tscn" id="4_gg3fv"]
[sub_resource type="SpriteFrames" id="SpriteFrames_fgco6"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_gxifi")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_1wvnw"]
radius = 37.1214
[node name="Anthill" instance=ExtResource("1_exemm")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(2, -16)
sprite_frames = SubResource("SpriteFrames_fgco6")
[node name="StaticBody2D" parent="." index="1"]
position = Vector2(-0.5, 12)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-43.5, -2, -51.5, -7, -51.5, -12, -25.5, -13, 12.5, -13, 53.5, -12, 56.5, -8, 56.5, -4, 53.5, -2, 45.5, 2, -2.5, 2, -26.5, 0)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_ejm25")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -49.0
offset_top = -49.0
offset_right = 56.0
offset_bottom = 15.0
[node name="CleaningInteraction" parent="." index="3" instance=ExtResource("4_gg3fv")]
[node name="CollisionShape2D" parent="CleaningInteraction/InteractionArea" index="0"]
position = Vector2(0, -13)
shape = SubResource("CircleShape2D_1wvnw")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="CleaningInteraction"]