From d4597e578fee2b405014e629add429f72a9fb0e5 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 15 Apr 2024 15:42:08 -0700 Subject: [PATCH] Update Coal for Haunchy quest for checking completions https://github.com/arianne/stendhal/issues/230 --- src/games/stendhal/server/maps/quests/CoalForHaunchy.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/games/stendhal/server/maps/quests/CoalForHaunchy.java b/src/games/stendhal/server/maps/quests/CoalForHaunchy.java index e58ff46667..80e2aff7ee 100644 --- a/src/games/stendhal/server/maps/quests/CoalForHaunchy.java +++ b/src/games/stendhal/server/maps/quests/CoalForHaunchy.java @@ -97,6 +97,9 @@ public class CoalForHaunchy implements QuestManuscript { .rewardWith(new EquipRandomAmountOfItemAction("grilled steak", 1, 4, 1, "Thank you! Take [this_these] [number_item] from my grill!")); + // completions count is stored in 2nd index of quest slot + quest.setCompletionsIndexes(2); + return quest; }