feat(rooms): add RoomChest nodes to Floor 0 rooms
ReceptionDesk, GiftShopShelf, RestaurantCounter, EmergencyCabinet added to their respective tscn files. Fixes spawn_items deferred call to avoid add_child race during _ready tree setup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cozypaw_giftshop"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cozypaw_giftshop"]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://scenes/objects/InteractiveObject.tscn" id="1_iobj"]
|
||||
[ext_resource type="Script" path="res://scripts/objects/snap_point.gd" id="2_snap"]
|
||||
[ext_resource type="Script" path="res://scripts/objects/room_chest.gd" id="3_chest"]
|
||||
|
||||
[node name="GiftShop" type="Node2D"]
|
||||
|
||||
@@ -68,3 +69,8 @@ position = Vector2(640, 510)
|
||||
[node name="SnapCounter" type="Node2D" parent="."]
|
||||
position = Vector2(640, 528)
|
||||
script = ExtResource("2_snap")
|
||||
|
||||
[node name="GiftShopShelf" type="Node2D" parent="."]
|
||||
position = Vector2(120.0, 300.0)
|
||||
script = ExtResource("3_chest")
|
||||
chest_id = "giftshop_shelf"
|
||||
|
||||
Reference in New Issue
Block a user