Files
RPG-Test/scenes/gui/console.tscn

48 lines
1.5 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://dlkpivjpbxnlg"]
[ext_resource type="Script" path="res://src/scene-scripts/console/console.cs" id="1_gdt1r"]
[node name="popup_panel" type="PopupPanel"]
transparent_bg = true
size = Vector2i(1844, 193)
visible = true
always_on_top = true
script = ExtResource("1_gdt1r")
[node name="v_box_container" type="VBoxContainer" parent="."]
offset_left = 4.0
offset_top = 4.0
offset_right = 1840.0
offset_bottom = 189.0
[node name="rich_text_label" type="RichTextLabel" parent="v_box_container"]
custom_minimum_size = Vector2(0, 150)
layout_mode = 2
focus_mode = 2
theme_override_colors/default_color = Color(0, 1, 0, 1)
bbcode_enabled = true
text = "[color=red][b]USING CHEATS MAY PAUSE ACHIEVEMENTS WHILE THE CHEATS ARE ACTIVE[/b][/color]
"
scroll_following = true
selection_enabled = true
[node name="line_edit" type="LineEdit" parent="v_box_container"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 1, 0, 1)
theme_override_colors/caret_color = Color(0, 1, 0, 1)
placeholder_text = "Type in cheat or command. Use \"help\" for help."
max_length = 200
context_menu_enabled = false
clear_button_enabled = true
flat = true
select_all_on_focus = true
caret_blink = true
caret_blink_interval = 0.5
caret_force_displayed = true
[node name="cheatcode_timer" type="Timer" parent="."]
one_shot = true
[connection signal="popup_hide" from="." to="." method="OnPopupHide"]
[connection signal="text_submitted" from="v_box_container/line_edit" to="." method="OnLineEditTextSubmitted"]