26 lines
706 B
Plaintext
26 lines
706 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://dlootchest123"]
|
|
|
|
[ext_resource type="Script" uid="uid://dw06v6bwbcuph" path="res://scripts/dungeon/loot_chest.gd" id="1"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_chest"]
|
|
radius = 20.0
|
|
|
|
[node name="LootChest" type="Node2D"]
|
|
script = ExtResource("1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(2, 2)
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_chest")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
offset_left = -30.0
|
|
offset_top = -40.0
|
|
offset_right = 30.0
|
|
offset_bottom = -20.0
|
|
text = "Loot"
|
|
horizontal_alignment = 1
|