Skip to content

Commit

Permalink
respondToUnrepeatableRequest may include remaining time
Browse files Browse the repository at this point in the history
  • Loading branch information
nhnb committed Oct 18, 2023
1 parent f936079 commit 0a18fc1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import games.stendhal.server.entity.npc.ConversationStates;
import games.stendhal.server.entity.npc.SpeakerNPC;
import games.stendhal.server.entity.npc.action.MultipleActions;
import games.stendhal.server.entity.npc.action.SayTimeRemainingAction;
import games.stendhal.server.entity.npc.action.SetQuestAction;
import games.stendhal.server.entity.npc.action.SetQuestAndModifyKarmaAction;
import games.stendhal.server.entity.npc.condition.AndCondition;
Expand Down Expand Up @@ -193,8 +194,8 @@ public void build(SpeakerNPC npc, String questSlot, QuestTaskBuilder task, ChatC
new QuestCompletedCondition(questSlot),
new NotCondition(new TimePassedCondition(questSlot, 1, repeatableAfterMinutes))),
ConversationStates.ATTENDING,
respondToUnrepeatableRequest,
null);
null,
new SayTimeRemainingAction(questSlot, 1, repeatableAfterMinutes, respondToUnrepeatableRequest, true));

} else {

Expand Down

0 comments on commit 0a18fc1

Please sign in to comment.