70 lines
2.5 KiB
Plaintext
70 lines
2.5 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://dg362ce5ejlh5"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_2wbm8"]
|
|
[ext_resource type="Texture2D" uid="uid://dv6qds7qxeqe2" path="res://Objects/Juicers/TableJuicerAnim/TableJuicer1.png" id="2_6cbtg"]
|
|
[ext_resource type="PackedScene" uid="uid://ce073wnh6shlq" path="res://Interactions/Juicing/juicer.tscn" id="2_e0sml"]
|
|
[ext_resource type="Texture2D" uid="uid://dy1lkii4pfncd" path="res://Objects/Juicers/TableJuicerAnim/TableJuicer2.png" id="3_4o4h7"]
|
|
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_pbvtp"]
|
|
[ext_resource type="Texture2D" uid="uid://cnwmb8fi5plt6" path="res://Objects/Juicers/TableJuicerAnim/TableJuicer3.png" id="4_nehm3"]
|
|
[ext_resource type="Texture2D" uid="uid://dwpyvjq753037" path="res://Objects/Juicers/TableJuicerAnim/TableJuicer4.png" id="5_0h1i2"]
|
|
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="6_4ocmq"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_3gax2"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_6cbtg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_4o4h7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_nehm3")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_0h1i2")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tl50c"]
|
|
radius = 48.0
|
|
|
|
[node name="Juicer" instance=ExtResource("1_2wbm8")]
|
|
|
|
[node name="AnimatedSprite2D" parent="." index="0"]
|
|
position = Vector2(0, -79)
|
|
scale = Vector2(0.28, 0.28)
|
|
sprite_frames = SubResource("SpriteFrames_3gax2")
|
|
script = ExtResource("6_4ocmq")
|
|
|
|
[node name="StaticBody2D" parent="." index="1"]
|
|
position = Vector2(0, -79)
|
|
|
|
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
|
polygon = PackedVector2Array(-20, 24, 24, 25, 23, 37, -20, 38)
|
|
disabled = true
|
|
|
|
[node name="Interactable" parent="." index="2" instance=ExtResource("3_pbvtp")]
|
|
position = Vector2(0, -79)
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_left = -23.0
|
|
offset_top = -31.0
|
|
offset_right = 29.0
|
|
offset_bottom = 37.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Juicer" parent="." index="3" instance=ExtResource("2_e0sml")]
|
|
position = Vector2(0, -79)
|
|
|
|
[node name="CollisionShape2D" parent="Juicer/InteractionArea" index="0"]
|
|
shape = SubResource("CircleShape2D_tl50c")
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Juicer"]
|
|
[editable path="Juicer/JuicingMenu"]
|