21 lines
811 B
Plaintext
21 lines
811 B
Plaintext
[gd_scene load_steps=6 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/ItemChest.cs" id="1"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Props/Chest.tres" id="2"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Props/ChestOpen.tres" id="3"]
|
|
[ext_resource type="AudioStream" path="res://Audio/Sounds/snd_locker_ch1.wav" id="4"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_15ngu"]
|
|
|
|
[node name="Chest" type="StaticBody2D" node_paths=PackedStringArray("sprite")]
|
|
script = ExtResource("1")
|
|
tex = [ExtResource("2"), ExtResource("3")]
|
|
sprite = NodePath("Sprite2D")
|
|
sound = ExtResource("4")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_15ngu")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|