]> Untitled Git - wolf-seeking-sheep.git/blob
369973c4cd9f818168189e8a0b12b478cc9e7fe6
[wolf-seeking-sheep.git] /
1 [gd_scene load_steps=7 format=3 uid="uid://by6waso0mjpjp"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Modules/Character/node_portrait_container.gd" id="1_4jxq7"]
4 [ext_resource type="Script" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_SpeakerPortraitTextbox/speaker_portrait_textbox_layer.gd" id="1_7jt4d"]
5 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_name_label.gd" id="2_y0h34"]
6 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_dialog_text.gd" id="3_11puy"]
7 [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/node_type_sound.gd" id="5_sr2qw"]
8
9 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dmg1w"]
10 bg_color = Color(0.254902, 0.254902, 0.254902, 1)
11 skew = Vector2(0.073, 0)
12 corner_radius_top_left = 3
13 corner_radius_top_right = 3
14 corner_radius_bottom_right = 3
15 corner_radius_bottom_left = 3
16
17 [node name="TextboxWithSpeakerPortrait" type="Control"]
18 layout_mode = 3
19 anchors_preset = 15
20 anchor_right = 1.0
21 anchor_bottom = 1.0
22 grow_horizontal = 2
23 grow_vertical = 2
24 mouse_filter = 2
25 script = ExtResource("1_7jt4d")
26 box_panel = "res://addons/dialogic/Modules/DefaultLayoutParts/Layer_SpeakerPortraitTextbox/default_stylebox.tres"
27
28 [node name="Anchor" type="Control" parent="."]
29 layout_mode = 1
30 anchors_preset = 7
31 anchor_left = 0.5
32 anchor_top = 1.0
33 anchor_right = 0.5
34 anchor_bottom = 1.0
35 grow_horizontal = 2
36 grow_vertical = 0
37 mouse_filter = 2
38
39 [node name="Panel" type="PanelContainer" parent="Anchor"]
40 unique_name_in_owner = true
41 self_modulate = Color(0.533333, 0.376471, 0.176471, 1)
42 layout_mode = 1
43 anchors_preset = 7
44 anchor_left = 0.5
45 anchor_top = 1.0
46 anchor_right = 0.5
47 anchor_bottom = 1.0
48 offset_left = -250.0
49 offset_top = -200.0
50 offset_right = 250.0
51 offset_bottom = -50.0
52 grow_horizontal = 2
53 grow_vertical = 0
54 mouse_filter = 2
55
56 [node name="HBox" type="HBoxContainer" parent="Anchor/Panel"]
57 layout_mode = 2
58 mouse_filter = 2
59 theme_override_constants/separation = 15
60
61 [node name="PortraitPanel" type="Panel" parent="Anchor/Panel/HBox"]
62 unique_name_in_owner = true
63 clip_children = 1
64 layout_mode = 2
65 size_flags_horizontal = 3
66 size_flags_stretch_ratio = 0.3
67 mouse_filter = 2
68 theme_override_styles/panel = SubResource("StyleBoxFlat_dmg1w")
69
70 [node name="PortraitBackgroundColor" type="ColorRect" parent="Anchor/Panel/HBox/PortraitPanel"]
71 unique_name_in_owner = true
72 layout_mode = 1
73 anchors_preset = 15
74 anchor_right = 1.0
75 anchor_bottom = 1.0
76 offset_left = -7.0
77 offset_top = -3.0
78 offset_right = 7.0
79 offset_bottom = 3.0
80 grow_horizontal = 2
81 grow_vertical = 2
82 mouse_filter = 2
83 color = Color(0, 0, 0, 0.231373)
84
85 [node name="DialogicNode_PortraitContainer" type="Control" parent="Anchor/Panel/HBox/PortraitPanel/PortraitBackgroundColor"]
86 layout_mode = 1
87 anchors_preset = 15
88 anchor_right = 1.0
89 anchor_bottom = 1.0
90 offset_top = 4.0
91 grow_horizontal = 2
92 grow_vertical = 2
93 mouse_filter = 2
94 script = ExtResource("1_4jxq7")
95 mode = 1
96 container_ids = PackedStringArray("1")
97 debug_character_portrait = "speaker"
98
99 [node name="VBoxContainer" type="VBoxContainer" parent="Anchor/Panel/HBox"]
100 layout_mode = 2
101 size_flags_horizontal = 3
102 mouse_filter = 2
103
104 [node name="DialogicNode_NameLabel" type="Label" parent="Anchor/Panel/HBox/VBoxContainer"]
105 unique_name_in_owner = true
106 layout_mode = 2
107 theme_override_font_sizes/font_size = 8
108 text = "Name"
109 script = ExtResource("2_y0h34")
110
111 [node name="DialogicNode_DialogText" type="RichTextLabel" parent="Anchor/Panel/HBox/VBoxContainer" node_paths=PackedStringArray("textbox_root")]
112 unique_name_in_owner = true
113 layout_mode = 2
114 size_flags_vertical = 3
115 theme_override_font_sizes/normal_font_size = 6
116 bbcode_enabled = true
117 text = "Some text"
118 scroll_following = true
119 visible_characters_behavior = 1
120 script = ExtResource("3_11puy")
121 textbox_root = NodePath("../../..")
122
123 [node name="DialogicNode_TypeSounds" type="AudioStreamPlayer" parent="Anchor/Panel/HBox/VBoxContainer/DialogicNode_DialogText"]
124 script = ExtResource("5_sr2qw")