npc-clients-godot/examples/NpcChatExample.tscn

61 lines
No EOL
1.7 KiB
Text

[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://addons/gumyum_npc_game_client/examples/NpcChatExample.gd" id="1"]
[node name="NpcChatExample" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
[node name="Title" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "GumYum NPC Chat Example"
theme_override_font_sizes/font_size = 24
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
layout_mode = 2
[node name="NPCInfo" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="NameLabel" type="Label" parent="VBoxContainer/NPCInfo"]
layout_mode = 2
text = "Name: Loading..."
[node name="VSeparator" type="VSeparator" parent="VBoxContainer/NPCInfo"]
layout_mode = 2
custom_minimum_size = Vector2(20, 0)
[node name="MoodLabel" type="Label" parent="VBoxContainer/NPCInfo"]
layout_mode = 2
text = "Mood: Unknown"
[node name="ChatDisplay" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
text = "[color=gray]Initializing GumYum NPC API...[/color]"
[node name="ChatInput" type="LineEdit" parent="VBoxContainer"]
layout_mode = 2
placeholder_text = "Type your message here..."
editable = false
[node name="SendButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Send"
disabled = true
[node name="Instructions" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Press PageUp to spawn a new random NPC"
theme_override_font_sizes/font_size = 12
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)