forked from liza/Questionable
master #3
@ -28,6 +28,9 @@ internal static class Interact
|
|||||||
if (step.Emote != null)
|
if (step.Emote != null)
|
||||||
yield break;
|
yield break;
|
||||||
|
|
||||||
|
if (step.ChatMessage != null)
|
||||||
|
yield break;
|
||||||
|
|
||||||
if (step.DataId == null)
|
if (step.DataId == null)
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,12 @@ internal static class Say
|
|||||||
{
|
{
|
||||||
public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
|
public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
|
||||||
{
|
{
|
||||||
if (step.InteractionType != EInteractionType.Say)
|
if (step.InteractionType is EInteractionType.AcceptQuest or EInteractionType.CompleteQuest)
|
||||||
|
{
|
||||||
|
if (step.ChatMessage == null)
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
else if (step.InteractionType != EInteractionType.Say)
|
||||||
return [];
|
return [];
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user