mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 07:45:33 +00:00
45 lines
1.6 KiB
Text
45 lines
1.6 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://8yggb3ay3hr0"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3h7b30kerf60" path="res://Scripts/Interactables/ItemPickup.cs" id="1_3cfwm"]
|
|
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="2_ydogx"]
|
|
[ext_resource type="Resource" uid="uid://b2vyr1tcm4rc1" path="res://Resources/Items/Yellow_Keycard.tres" id="3_chik2"]
|
|
[ext_resource type="Texture2D" uid="uid://ckpehix3prcx5" path="res://Sprites/Items/YellowKeycard_Small.png" id="4_chik2"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_6vv2s"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ydogx"]
|
|
atlas = ExtResource("4_chik2")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_spl5h"]
|
|
atlas = ExtResource("4_chik2")
|
|
region = Rect2(16, 0, 16, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ecs5y"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ydogx")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_spl5h")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="YellowKeyCard" type="Area2D" groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_3cfwm")
|
|
LootTable = Array[ExtResource("2_ydogx")]([ExtResource("3_chik2")])
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_6vv2s")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = SubResource("SpriteFrames_ecs5y")
|
|
autoplay = "default"
|
|
frame = 1
|
|
frame_progress = 0.173295
|