mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-06 14:45:55 +00:00
24 lines
1 KiB
Text
24 lines
1 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://dxs3ks2ucaxl4"]
|
|
|
|
[ext_resource type="Script" path="res://Scenes/Interactable.cs" id="1_8ev2v"]
|
|
[ext_resource type="Texture2D" uid="uid://c53bchw2krocb" path="res://Sprites/Red_Keycard.png" id="2_onmup"]
|
|
[ext_resource type="Script" path="res://Scripts/Pickupper.cs" id="3_t6rqq"]
|
|
[ext_resource type="Resource" uid="uid://dibquna7fww7t" path="res://Resources/Items/Red_Keycard.tres" id="4_4o8tc"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x0adl"]
|
|
|
|
[node name="ControlPad" type="Area2D" node_paths=PackedStringArray("Target") groups=["Interactable"]]
|
|
collision_layer = 4
|
|
collision_mask = 2
|
|
script = ExtResource("1_8ev2v")
|
|
Target = NodePath("Pickupper")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_x0adl")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_onmup")
|
|
|
|
[node name="Pickupper" type="Node2D" parent="."]
|
|
script = ExtResource("3_t6rqq")
|
|
LootTable = [ExtResource("4_4o8tc")]
|