Cow_Life_Sim_RPG/Objects/HomeArea/VeggieStand/VeggieStand.tscn

51 lines
1.8 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://56j8fwjgcasp"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_kvh8t"]
[ext_resource type="Texture2D" uid="uid://dtmk4vjjghefa" path="res://Objects/HomeArea/VeggieStand/VeggieStand.png" id="2_70d0k"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_txoxr"]
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="4_rpgd0"]
[ext_resource type="Script" path="res://Interactions/Shopping/VeggieStandShop.gd" id="5_8g1fh"]
[sub_resource type="SpriteFrames" id="SpriteFrames_nvnup"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_70d0k")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_xdl0g"]
radius = 52.0096
[node name="VeggieStand" instance=ExtResource("1_kvh8t")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(0, -40)
sprite_frames = SubResource("SpriteFrames_nvnup")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
position = Vector2(0, -40)
polygon = PackedVector2Array(-94, 40, 95, 40, 95, 72, -94, 72)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_txoxr")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -75.0
offset_top = -18.0
offset_right = -26.0
offset_bottom = 24.0
[node name="ShopHaver" parent="." index="3" instance=ExtResource("4_rpgd0")]
script = ExtResource("5_8g1fh")
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
position = Vector2(-45, -3)
shape = SubResource("CircleShape2D_xdl0g")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="ShopHaver"]