]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/Events/EventBlock/event_block.tscn
5bd715bd9b451b5b5ad66af47592c47ff74e66eb
[wolf-seeking-sheep.git] / addons / dialogic / Editor / Events / EventBlock / event_block.tscn
1 [gd_scene load_steps=8 format=3 uid="uid://bwaxj1n401fp4"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Editor/Events/EventBlock/event_block.gd" id="1"]
4 [ext_resource type="StyleBox" uid="uid://cl75ikyq2is7c" path="res://addons/dialogic/Editor/Events/styles/unselected_stylebox.tres" id="2_axj84"]
5 [ext_resource type="Texture2D" uid="uid://dybg3l5pwetne" path="res://addons/dialogic/Editor/Images/plugin-icon.svg" id="6"]
6
7 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_otutu"]
8 bg_color = Color(1, 1, 1, 1)
9 corner_radius_top_left = 5
10 corner_radius_top_right = 5
11 corner_radius_bottom_right = 5
12 corner_radius_bottom_left = 5
13
14 [sub_resource type="Image" id="Image_mem38"]
15 data = {
16 "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
17 "format": "RGBA8",
18 "height": 16,
19 "mipmaps": false,
20 "width": 16
21 }
22
23 [sub_resource type="ImageTexture" id="ImageTexture_rc1wh"]
24 image = SubResource("Image_mem38")
25
26 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ee4ub"]
27
28 [node name="EventNode" type="MarginContainer"]
29 anchors_preset = 10
30 anchor_right = 1.0
31 grow_horizontal = 2
32 size_flags_horizontal = 3
33 size_flags_vertical = 9
34 focus_mode = 1
35 script = ExtResource("1")
36
37 [node name="PanelContainer" type="PanelContainer" parent="."]
38 self_modulate = Color(0, 0, 0, 1)
39 layout_mode = 2
40 size_flags_horizontal = 3
41 size_flags_vertical = 3
42 mouse_filter = 2
43 theme_override_styles/panel = ExtResource("2_axj84")
44
45 [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
46 layout_mode = 2
47 size_flags_horizontal = 3
48 size_flags_vertical = 3
49
50 [node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
51 unique_name_in_owner = true
52 layout_mode = 2
53 size_flags_horizontal = 3
54 size_flags_vertical = 3
55
56 [node name="IconPanel" type="Panel" parent="PanelContainer/VBoxContainer/Header"]
57 unique_name_in_owner = true
58 layout_mode = 2
59 size_flags_horizontal = 4
60 size_flags_vertical = 4
61 mouse_filter = 1
62 mouse_default_cursor_shape = 6
63 theme_override_styles/panel = SubResource("StyleBoxFlat_otutu")
64
65 [node name="IconTexture" type="TextureRect" parent="PanelContainer/VBoxContainer/Header/IconPanel"]
66 unique_name_in_owner = true
67 layout_mode = 1
68 anchors_preset = 15
69 anchor_right = 1.0
70 anchor_bottom = 1.0
71 grow_horizontal = 0
72 grow_vertical = 2
73 size_flags_horizontal = 3
74 size_flags_vertical = 3
75 texture = ExtResource("6")
76 expand_mode = 1
77 stretch_mode = 5
78
79 [node name="Warning" type="TextureRect" parent="PanelContainer/VBoxContainer/Header/IconPanel"]
80 unique_name_in_owner = true
81 visible = false
82 layout_mode = 0
83 offset_left = -5.5
84 offset_top = -11.0
85 offset_right = 12.1
86 offset_bottom = 6.6
87 texture = SubResource("ImageTexture_rc1wh")
88 stretch_mode = 5
89
90 [node name="HeaderContent" type="HBoxContainer" parent="PanelContainer/VBoxContainer/Header"]
91 unique_name_in_owner = true
92 layout_mode = 2
93
94 [node name="ToggleBodyVisibilityButton" type="Button" parent="PanelContainer/VBoxContainer/Header"]
95 unique_name_in_owner = true
96 custom_minimum_size = Vector2(20, 0)
97 layout_mode = 2
98 size_flags_horizontal = 0
99 tooltip_text = "Fold/Unfold Settings"
100 theme_override_styles/normal = SubResource("StyleBoxEmpty_ee4ub")
101 theme_override_styles/hover = SubResource("StyleBoxEmpty_ee4ub")
102 theme_override_styles/pressed = SubResource("StyleBoxEmpty_ee4ub")
103 theme_override_styles/disabled = SubResource("StyleBoxEmpty_ee4ub")
104 theme_override_styles/focus = SubResource("StyleBoxEmpty_ee4ub")
105 toggle_mode = true
106 icon = SubResource("ImageTexture_rc1wh")
107 flat = true
108
109 [node name="ToggleChildrenVisibilityButton" type="Button" parent="PanelContainer/VBoxContainer/Header"]
110 unique_name_in_owner = true
111 visible = false
112 layout_mode = 2
113 size_flags_horizontal = 10
114 tooltip_text = "Collapse Contained Events"
115 toggle_mode = true
116 icon = SubResource("ImageTexture_rc1wh")
117 flat = true
118
119 [node name="Body" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
120 unique_name_in_owner = true
121 layout_mode = 2
122 size_flags_horizontal = 3
123 theme_override_constants/margin_left = 4
124
125 [node name="BodyContent" type="VBoxContainer" parent="PanelContainer/VBoxContainer/Body"]
126 unique_name_in_owner = true
127 layout_mode = 2
128 size_flags_horizontal = 3
129 size_flags_vertical = 3
130 mouse_filter = 2
131
132 [connection signal="gui_input" from="." to="." method="_on_EventNode_gui_input"]
133 [connection signal="toggled" from="PanelContainer/VBoxContainer/Header/ToggleBodyVisibilityButton" to="." method="_on_ToggleBodyVisibility_toggled"]