feat(snap-points): add SnapPoints to all 1.OG rooms (XRay, Pharmacy, Lab, PatientRoom)

This commit is contained in:
Steven Wroblewski
2026-05-08 22:32:57 +02:00
parent 7848b7a979
commit 8cae50bc11
5 changed files with 102 additions and 4 deletions
+12 -1
View File
@@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://cozypaw_patientroom"]
[gd_scene load_steps=3 format=3 uid="uid://cozypaw_patientroom"]
[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"]
[node name="PatientRoom" type="Node2D"]
@@ -82,3 +83,13 @@ position = Vector2(1100, 265)
[node name="BedsideTable" parent="." instance=ExtResource("1_iobj")]
position = Vector2(500, 540)
[node name="SnapBed1" type="Node2D" parent="."]
position = Vector2(250, 465)
script = ExtResource("2_snap")
pose = "lying"
[node name="SnapBed2" type="Node2D" parent="."]
position = Vector2(810, 465)
script = ExtResource("2_snap")
pose = "lying"