[gd_scene load_steps=10 format=3 uid="uid://cylkhfv8ohox3"] [ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_210mi"] [ext_resource type="Texture2D" uid="uid://c0nxuy4a8mna0" path="res://Objects/JuiceCafe/Table/Table.png" id="2_ivgr7"] [ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="3_y4tnm"] [ext_resource type="Script" path="res://Items/Dishes/Cup.gd" id="4_8e5sk"] [ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_f534x"] [ext_resource type="Script" path="res://Items/Foods/Packaged/SugarPacket.gd" id="5_ud1bm"] [ext_resource type="Script" path="res://Items/Foods/Snack/Pretzel.gd" id="6_ma06b"] [sub_resource type="SpriteFrames" id="SpriteFrames_6k2eg"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2_ivgr7") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_410gg"] radius = 56.0357 [node name="JuiceTable" instance=ExtResource("1_210mi")] [node name="AnimatedSprite2D" parent="." index="0"] sprite_frames = SubResource("SpriteFrames_6k2eg") [node name="CollisionPolygon2D" parent="StaticBody2D" index="0"] position = Vector2(3, 1) polygon = PackedVector2Array(-10, 49, -10, 31, -31, 26, -47, 16, -62, -1, -3, -1, 55, -1, 40, 17, 26, 26, 3, 31, 3, 49, 8, 53, 8, 62, 1, 68, -8, 68, -14, 62, -15, 54) [node name="Scavengeable" parent="." index="2" instance=ExtResource("3_y4tnm")] dropItemClasses = Array[Resource]([ExtResource("4_8e5sk"), ExtResource("5_ud1bm"), ExtResource("6_ma06b")]) dropItemProbabilities = Array[int]([1, 2, 2]) xpRewards = Array[int]([5, 2, 2]) dropItemLocationOffsets = Array[Vector2]([Vector2(-25, -35), Vector2(37, 0), Vector2(-37, 0), Vector2(25, -35), Vector2(0, 12)]) [node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"] position = Vector2(0, -14) shape = SubResource("CircleShape2D_410gg") [node name="Interactable" parent="." index="3" instance=ExtResource("4_f534x")] [node name="Panel" parent="Interactable" index="1"] offset_left = -47.0 offset_top = -52.0 offset_right = 47.0 offset_bottom = 18.0 [editable path="Scavengeable"] [editable path="Interactable"] [editable path="Interactable/ActionMenu"]