Диалог Ивана в первый день, и некоторые исправления чата.
This commit is contained in:
parent
8fb7c44343
commit
ac3e2ffd62
5 changed files with 6 additions and 18 deletions
|
@ -33,7 +33,6 @@ public partial class ChatLogContainer : VBoxContainer
|
|||
}
|
||||
|
||||
private const float MaxChatLogContainerSize = 200;
|
||||
|
||||
private Vector2 _initialPosition;
|
||||
|
||||
// Called when the node enters the scene tree for the first time.
|
||||
|
|
|
@ -214,6 +214,7 @@ public partial class Player : CharacterBody2D
|
|||
msg.Text = npc.Message;
|
||||
msg.Author = npc.NPCName;
|
||||
_chatLogContainer.AddChild(msg);
|
||||
_chatLogContainer.CurrentState = ChatLogContainer.ChatState.Default;
|
||||
if (npc.IsDialogEnded) CurrentState = State.ReadChat;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue