51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://pyrn1ggu6art"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_whvni"]
|
|
[ext_resource type="Texture2D" uid="uid://bv8kjg7oadvl5" path="res://Objects/Beach/RefillMachine/RefillMachine.png" id="2_gw7nu"]
|
|
[ext_resource type="PackedScene" uid="uid://0ltsucnpwie2" path="res://Interactions/Refilling/RefillingInteration.tscn" id="3_5pj16"]
|
|
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_ah4c7"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_83nsk"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_gw7nu")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uxbvb"]
|
|
size = Vector2(81, 23)
|
|
|
|
[node name="RefillMachine" instance=ExtResource("1_whvni")]
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="0"]
|
|
position = Vector2(0, -47)
|
|
sprite_frames = SubResource("SpriteFrames_83nsk")
|
|
|
|
[node name="StaticBody2D" parent="." index="1"]
|
|
position = Vector2(0, -43)
|
|
|
|
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
|
position = Vector2(0, -3)
|
|
polygon = PackedVector2Array(-39, 46, 36, 46, 40, 46, 40, 52, 36, 62, -39, 62)
|
|
|
|
[node name="RefillingInteraction" parent="." index="2" instance=ExtResource("3_5pj16")]
|
|
|
|
[node name="CollisionShape2D" parent="RefillingInteraction/InteractionArea" index="0"]
|
|
position = Vector2(-0.5, 5.5)
|
|
shape = SubResource("RectangleShape2D_uxbvb")
|
|
|
|
[node name="Interactable" parent="." index="3" instance=ExtResource("4_ah4c7")]
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_left = -39.0
|
|
offset_right = 36.0
|
|
offset_bottom = 16.0
|
|
|
|
[editable path="RefillingInteraction"]
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|