From: Katie R. <ky...@us...> - 2011-01-22 18:50:32
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/quests In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv1989/src/games/stendhal/server/maps/quests Modified Files: BalloonForBobby.java Log Message: [Stendhal] record the balloons given to bobby - ID: 3147713 Index: BalloonForBobby.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/quests/BalloonForBobby.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** BalloonForBobby.java 5 Jan 2011 23:04:18 -0000 1.4 --- BalloonForBobby.java 22 Jan 2011 18:50:23 -0000 1.5 *************** *** 9,13 **** --- 9,15 ---- import games.stendhal.server.entity.npc.action.IncreaseKarmaAction; import games.stendhal.server.entity.npc.action.IncreaseXPAction; + import games.stendhal.server.entity.npc.action.IncrementQuestAction; import games.stendhal.server.entity.npc.action.MultipleActions; + import games.stendhal.server.entity.npc.action.SetQuestAction; import games.stendhal.server.entity.npc.condition.AndCondition; import games.stendhal.server.entity.npc.condition.GreetingMatchesNameCondition; *************** *** 168,172 **** reward.add(new IncreaseXPAction(200)); reward.add(new IncreaseKarmaAction(50)); ! // The player has a balloon and gives it to Bobby npc.add( --- 170,176 ---- reward.add(new IncreaseXPAction(200)); reward.add(new IncreaseKarmaAction(50)); ! reward.add(new SetQuestAction(QUEST_SLOT,0,"done")); ! reward.add(new IncrementQuestAction(QUEST_SLOT,1,1)); ! // The player has a balloon and gives it to Bobby npc.add( |