Cow_Life_Sim_RPG/Objects/Faire/SnacksStand/SnacksStand.tscn

54 lines
2 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://ckiksd5rv4xe6"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_ojyrs"]
[ext_resource type="Texture2D" uid="uid://3uvk1dnvqebp" path="res://Objects/Faire/SnacksStand/SnacksStand.png" id="2_buwyg"]
[ext_resource type="Script" path="res://NPCs/Faire/SnacksGecko/SnacksShop.gd" id="5_rcl6m"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="5_s8jsq"]
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="6_76bql"]
[ext_resource type="PackedScene" uid="uid://htt14aincihu" path="res://NPCs/Faire/SnacksGecko/SnacksGecko.tscn" id="6_jdaqh"]
[sub_resource type="SpriteFrames" id="SpriteFrames_t3k5k"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_buwyg")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_gpih5"]
radius = 106.019
[node name="SnacksStand" instance=ExtResource("1_ojyrs")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(3, -106)
sprite_frames = SubResource("SpriteFrames_t3k5k")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-191, -4, 195, -8, 190, 14, -186, 14)
[node name="Interactable" parent="." index="2" instance=ExtResource("5_s8jsq")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -144.0
offset_top = -134.0
offset_right = -52.0
offset_bottom = -94.0
[node name="ShopHaver" parent="." index="3" instance=ExtResource("6_76bql")]
script = ExtResource("5_rcl6m")
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
position = Vector2(-69, -77)
shape = SubResource("CircleShape2D_gpih5")
[node name="SnacksGecko" parent="." index="4" instance=ExtResource("6_jdaqh")]
position = Vector2(103, -68)
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="ShopHaver"]