Cow_Life_Sim_RPG/Objects/GroundItems/GroundItem.tscn

97 lines
3.5 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://dhk768odtfjjc"]
[ext_resource type="Script" path="res://Objects/GroundItems/GroundItem.gd" id="1_fllcp"]
[ext_resource type="Texture2D" uid="uid://bbmlkil40xcbc" path="res://MiscArt/WhiteCircle.png" id="2_5slim"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="2_phgrr"]
[ext_resource type="PackedScene" uid="uid://twerpkipa0v8" path="res://Interactions/Arson/arsonable.tscn" id="3_7pt01"]
[ext_resource type="Texture2D" uid="uid://cej2vgmh2je2a" path="res://Objects/GroundItems/Waves.png" id="3_b8gkp"]
[ext_resource type="PackedScene" uid="uid://bt2n0yqtg4rdu" path="res://Interactions/Pickupable/Pickupable.tscn" id="4_13rpv"]
[ext_resource type="Texture2D" uid="uid://tnmp4kne12kw" path="res://Objects/GroundItems/Waves2.png" id="4_78g78"]
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="5_hco08"]
[ext_resource type="PackedScene" uid="uid://dxru24e0y16p2" path="res://Interactions/Weavable/Weavable.tscn" id="6_utry8"]
[sub_resource type="SpriteFrames" id="SpriteFrames_g11ns"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_b8gkp")
}, {
"duration": 1.0,
"texture": ExtResource("4_78g78")
}],
"loop": true,
"name": &"default",
"speed": 2.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_4d7js"]
radius = 73.0616
[sub_resource type="CircleShape2D" id="CircleShape2D_m1jwd"]
radius = 23.0
[sub_resource type="CircleShape2D" id="CircleShape2D_3gdtd"]
radius = 60.0
[node name="GroundItem" type="Node2D"]
z_as_relative = false
script = ExtResource("1_fllcp")
[node name="WhiteCircle" type="Sprite2D" parent="."]
self_modulate = Color(0.580392, 1, 1, 0.317647)
show_behind_parent = true
position = Vector2(0, 2)
scale = Vector2(0.783333, 0.366667)
texture = ExtResource("2_5slim")
[node name="ItemSprite" type="Sprite2D" parent="."]
position = Vector2(0, -16)
[node name="Waves" type="AnimatedSprite2D" parent="."]
visible = false
self_modulate = Color(0, 0.564706, 0.568627, 1)
position = Vector2(0, -18)
sprite_frames = SubResource("SpriteFrames_g11ns")
frame_progress = 0.681149
script = ExtResource("5_hco08")
[node name="Interactable" parent="." instance=ExtResource("2_phgrr")]
position = Vector2(0, -16)
[node name="Panel" parent="Interactable" index="1"]
offset_left = -27.0
offset_top = -26.0
offset_right = 27.0
offset_bottom = 26.0
[node name="Arsonable" parent="." instance=ExtResource("3_7pt01")]
position = Vector2(0, -16)
[node name="CollisionShape2D" parent="Arsonable/InteractionArea" index="0"]
shape = SubResource("CircleShape2D_4d7js")
[node name="Pickupable" parent="." instance=ExtResource("4_13rpv")]
position = Vector2(0, -16)
[node name="CollisionShape2D" parent="Pickupable/InteractionArea" index="0"]
position = Vector2(0, -10)
shape = SubResource("CircleShape2D_m1jwd")
[node name="Weavable" parent="." instance=ExtResource("6_utry8")]
position = Vector2(0, -3)
[node name="CollisionShape2D" parent="Weavable/InteractionArea" index="0"]
position = Vector2(0, -9)
shape = SubResource("CircleShape2D_3gdtd")
[node name="TerrainInteractionArea" type="Area2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TerrainInteractionArea"]
polygon = PackedVector2Array(-23, 4, -23, 0, -20, -4, -12, -8, -4, -9, 6, -9, 16, -6, 21, -3, 23, 0, 23, 4, 20, 8, 13, 11, 4, 13, -7, 13, -15, 10, -21, 7)
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Arsonable"]
[editable path="Pickupable"]
[editable path="Weavable"]