101 lines
3.5 KiB
Plaintext
101 lines
3.5 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://c4a03lxlkwiso"]
|
|
|
|
[ext_resource type="Script" path="res://ui/Conversation/ConversationUI.gd" id="1_fshh7"]
|
|
[ext_resource type="StyleBox" uid="uid://dtvn8ls2lgccj" path="res://ui/Conversation/ConversationImageWidgetStyleBox.tres" id="2_myqn2"]
|
|
[ext_resource type="StyleBox" uid="uid://cf03pvspk20xj" path="res://ui/Conversation/ConversationWidgetStyleBox.tres" id="3_88qkc"]
|
|
[ext_resource type="StyleBox" uid="uid://c7djeaqknx7sx" path="res://ui/Conversation/ConversationStyleBox.tres" id="4_r1tto"]
|
|
[ext_resource type="Texture2D" uid="uid://ccuu4ffj5xmrf" path="res://ui/Conversation/continuation_arrow.tres" id="5_fwt8t"]
|
|
|
|
[node name="ConversationUI" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_fshh7")
|
|
|
|
[node name="OuterMargin" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_vertical = 3
|
|
theme_override_constants/margin_left = 128
|
|
theme_override_constants/margin_top = 0
|
|
theme_override_constants/margin_right = 128
|
|
theme_override_constants/margin_bottom = 32
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="OuterMargin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = -4
|
|
|
|
[node name="Spacer" type="Control" parent="OuterMargin/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
size_flags_stretch_ratio = 2.0
|
|
|
|
[node name="Widgets" type="HBoxContainer" parent="OuterMargin/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = -4
|
|
|
|
[node name="FaceBox" type="PanelContainer" parent="OuterMargin/VBoxContainer/Widgets"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
theme_override_styles/panel = ExtResource("2_myqn2")
|
|
|
|
[node name="Face" type="TextureRect" parent="OuterMargin/VBoxContainer/Widgets/FaceBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="NameBox" type="PanelContainer" parent="OuterMargin/VBoxContainer/Widgets"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
theme_override_styles/panel = ExtResource("3_88qkc")
|
|
|
|
[node name="Name" type="Label" parent="OuterMargin/VBoxContainer/Widgets/NameBox"]
|
|
layout_mode = 2
|
|
theme_type_variation = &"ConversationWidget"
|
|
|
|
[node name="Spacer" type="Control" parent="OuterMargin/VBoxContainer/Widgets"]
|
|
custom_minimum_size = Vector2(0, 128)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 2.0
|
|
|
|
[node name="ChoiceBox" type="PanelContainer" parent="OuterMargin/VBoxContainer/Widgets"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 8
|
|
theme_override_styles/panel = ExtResource("3_88qkc")
|
|
|
|
[node name="Choices" type="VBoxContainer" parent="OuterMargin/VBoxContainer/Widgets/ChoiceBox"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
alignment = 2
|
|
|
|
[node name="MessageBox" type="PanelContainer" parent="OuterMargin/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_styles/panel = ExtResource("4_r1tto")
|
|
|
|
[node name="Message" type="RichTextLabel" parent="OuterMargin/VBoxContainer/MessageBox"]
|
|
custom_minimum_size = Vector2(-1, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
theme_type_variation = &"Conversation"
|
|
bbcode_enabled = true
|
|
fit_content = true
|
|
scroll_active = false
|
|
scroll_following = true
|
|
|
|
[node name="ContinuationArrow" type="TextureRect" parent="OuterMargin/VBoxContainer/MessageBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
texture = ExtResource("5_fwt8t")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
bus = &"Sound"
|