From: Katie <ky...@us...> - 2008-08-24 14:21:17
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/quests In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv4830/src/games/stendhal/server/maps/quests Modified Files: StuffForVulcanus.java Log Message: remove the get history method here because it was all wrong - seemed related to vampire sword quest not this one - bad copy and paste job? fix javadoc to reflect that quest requires kill of a giant Index: StuffForVulcanus.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/quests/StuffForVulcanus.java,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** StuffForVulcanus.java 14 Aug 2008 20:45:33 -0000 1.40 --- StuffForVulcanus.java 24 Aug 2008 14:21:23 -0000 1.41 *************** *** 16,22 **** import games.stendhal.server.util.TimeUtil; - import java.util.ArrayList; import java.util.Arrays; - import java.util.List; /** --- 16,20 ---- *************** *** 34,37 **** --- 32,36 ---- * needs. * <li> You give him all what he ask you. + * <li> He tells you you must have killed a giant to get the shield * <li> Vulcanus forges the immortal sword for you * </ul> *************** *** 323,351 **** } - @Override - public List<String> getHistory(final Player player) { - final List<String> res = new ArrayList<String>(); - if (!player.hasQuest(QUEST_SLOT)) { - return res; - } - res.add("FIRST_CHAT"); - final String questState = player.getQuest(QUEST_SLOT); - if (questState.equals("rejected")) { - res.add("QUEST_REJECTED"); - } - if (player.isQuestInState(QUEST_SLOT, "start", "done")) { - res.add("QUEST_ACCEPTED"); - } - if ((questState.equals("start") && player.isEquipped("goblet")) - || questState.equals("done")) { - res.add("FOUND_ITEM"); - } - if (player.getQuest(QUEST_SLOT).startsWith("forging;")) { - res.add("FORGING"); - } - if (questState.equals("done")) { - res.add("DONE"); - } - return res; - } } --- 322,324 ---- |