From 4d2d68907af0b63a05ab0445a7169c14acabed4b Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Tue, 9 Jul 2024 16:20:35 -0700 Subject: [PATCH] Specify how many unicorn horns Zelan needs Closes https://github.com/arianne/stendhal/issues/421 --- src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java | 2 +- .../stendhal/server/maps/quests/UnicornHornsForZelanTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java b/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java index eab3aabfea..b382a37293 100644 --- a/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java +++ b/src/games/stendhal/server/maps/quests/UnicornHornsForZelan.java @@ -76,7 +76,7 @@ public BringItemQuestBuilder story() { + " surrounding Atlantis. If you are a brave sort I could" + " really use some help gathering unicorn horns." + " Will you help me?") - .respondToAccept("Great! Be careful, out there are lots of large" + .respondToAccept("Great! I need 10 unicorn horns. Be careful, out there are lots of large" + " monsters, and those centaurs are really nasty.") .respondToReject("Thats ok, I will find someone else to help me.") .rejectionKarmaPenalty(10.0) diff --git a/tests/games/stendhal/server/maps/quests/UnicornHornsForZelanTest.java b/tests/games/stendhal/server/maps/quests/UnicornHornsForZelanTest.java index 1ab2c77bfc..948e86f702 100644 --- a/tests/games/stendhal/server/maps/quests/UnicornHornsForZelanTest.java +++ b/tests/games/stendhal/server/maps/quests/UnicornHornsForZelanTest.java @@ -97,7 +97,7 @@ private void testQuest() { en.step(player, "yes"); assertEquals(ConversationStates.ATTENDING, en.getCurrentState()); assertEquals( - "Great! Be careful, out there are lots of large monsters, and those" + "Great! I need 10 unicorn horns. Be careful, out there are lots of large monsters, and those" + " centaurs are really nasty.", getReply(zelan)); assertEquals("start", player.getQuest(slot, 0));