[gd_scene load_steps=8 format=3] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/office-backdrop.png" id="1_backdrop"] [ext_resource type="Script" path="res://scripts/ui/ccs_cases_2/doctor_office.gd" id="2_script"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/clock.png" id="3_face"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/patient-44-white-male.png" id="4_patient"] [ext_resource type="Shader" path="res://shaders/ccs_cases_2/patient_idle.gdshader" id="5_patient_fit"] [ext_resource type="Texture2D" path="res://assets/ccs_cases_2/images/doctor/chat-bubble.png" id="6_chat_bubble"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_patient_fit"] shader = ExtResource("5_patient_fit") shader_parameter/patient_scale = 0.82 shader_parameter/anchor = Vector2(0.5, 0.985) shader_parameter/patient_offset = Vector2(0, 0) shader_parameter/breathing_speed = 1.0 shader_parameter/breathing_amount = 0.012 shader_parameter/blink_amount = 0.0 [node name="DoctorScene" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("2_script") [node name="Backdrop" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("1_backdrop") expand_mode = 1 stretch_mode = 6 [node name="Patient" type="TextureRect" parent="."] material = SubResource("ShaderMaterial_patient_fit") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_patient") expand_mode = 1 stretch_mode = 6 metadata/age = 44 metadata/sex = "male" metadata/ethnicity = "white" metadata/demographic_label = "44-year-old white male" [node name="ClockMount" type="Control" parent="."] z_index = 10 layout_mode = 1 anchors_preset = 0 scale = Vector2(0.75, 0.75) anchor_left = 0.695 anchor_top = 0.145 anchor_right = 0.695 anchor_bottom = 0.145 mouse_filter = 2 [node name="Face" type="Sprite2D" parent="ClockMount"] position = Vector2(0, 1.2) scale = Vector2(0.095, 0.095) texture = ExtResource("3_face") [node name="HourHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/HourHand"] polygon = PackedVector2Array(-3.2, 5, -2.5, -23, 0, -29, 2.5, -23, 3.2, 5) color = Color(0.035, 0.055, 0.08, 1) antialiased = true [node name="MinuteHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/MinuteHand"] polygon = PackedVector2Array(-2.4, 6, -1.7, -34, 0, -40, 1.7, -34, 2.4, 6) color = Color(0.035, 0.055, 0.08, 1) antialiased = true [node name="SecondHand" type="Node2D" parent="ClockMount"] [node name="Shape" type="Polygon2D" parent="ClockMount/SecondHand"] polygon = PackedVector2Array(-0.9, 8, -0.8, -38, 0, -43, 0.8, -38, 0.9, 8) color = Color(0.55, 0.09, 0.065, 1) antialiased = true [node name="CenterCap" type="Polygon2D" parent="ClockMount"] polygon = PackedVector2Array(3.8, 0, 3.29, 1.9, 1.9, 3.29, 0, 3.8, -1.9, 3.29, -3.29, 1.9, -3.8, 0, -3.29, -1.9, -1.9, -3.29, 0, -3.8, 1.9, -3.29, 3.29, -1.9) color = Color(0.04, 0.055, 0.075, 1) antialiased = true [node name="CenterPin" type="Polygon2D" parent="ClockMount"] polygon = PackedVector2Array(1.8, 0, 1.27, 1.27, 0, 1.8, -1.27, 1.27, -1.8, 0, -1.27, -1.27, 0, -1.8, 1.27, -1.27) color = Color(0.9, 0.64, 0.19, 1) antialiased = true [node name="DialogueBubble" type="Control" parent="."] z_index = 30 layout_mode = 1 anchors_preset = 0 anchor_left = 0.51 anchor_top = 0.055 anchor_right = 0.51 anchor_bottom = 0.055 offset_right = 420.0 offset_bottom = 140.0 mouse_filter = 2 [node name="Background" type="TextureRect" parent="DialogueBubble"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 self_modulate = Color(0.92, 0.89, 0.82, 0.86) texture = ExtResource("6_chat_bubble") expand_mode = 1 stretch_mode = 0 [node name="Text" type="Label" parent="DialogueBubble"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 76.0 offset_top = 31.0 offset_right = -48.0 offset_bottom = -43.0 grow_horizontal = 2 grow_vertical = 2 theme_override_colors/font_color = Color(0.055, 0.105, 0.145, 1) theme_override_font_sizes/font_size = 22 text = "Hello, doctor." autowrap_mode = 2 vertical_alignment = 1 [node name="DialogueChoices" type="VBoxContainer" parent="."] z_index = 29 layout_mode = 1 anchors_preset = 0 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -210.0 offset_top = -206.0 offset_right = 210.0 offset_bottom = -4.0 theme_override_constants/separation = -8