mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://dxs3ks2ucaxl4"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_cvvxn"]
|
|
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_8httw"]
|
|
[ext_resource type="Resource" uid="uid://dibquna7fww7t" path="res://Resources/Items/Red_Keycard.tres" id="4_84krq"]
|
|
[ext_resource type="Texture2D" uid="uid://bad6gbl2gity3" path="res://Sprites/Items/RedKeycard_Small.png" id="4_qvrcl"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fs476"]
|
|
atlas = ExtResource("4_qvrcl")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mf2mr"]
|
|
atlas = ExtResource("4_qvrcl")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_0lqfr"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fs476")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_mf2mr")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="RedKeyCard" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_cvvxn")
|
|
LootTable = Array[ExtResource("2_8httw")]([ExtResource("4_84krq")])
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_6vv2s")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_0lqfr")
|
|
autoplay = "default"
|
|
frame = 1
|
|
frame_progress = 0.40509
|