From: Daniel H. <wik...@us...> - 2007-03-22 13:44:21
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/church In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv14093/src/games/stendhal/server/maps/fado/church Modified Files: IL0_PriestNPC.java Log Message: bride and groom now have to stand directly in front of the altar, because otherwise the priest can't hear them Index: IL0_PriestNPC.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/church/IL0_PriestNPC.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IL0_PriestNPC.java 22 Mar 2007 00:17:57 -0000 1.2 --- IL0_PriestNPC.java 22 Mar 2007 13:43:19 -0000 1.3 *************** *** 23,26 **** --- 23,38 ---- // TODO: consider splitting parts of this out into a quest class + /** + * Creates a priest NPC who can celebrate marriages between two + * players. + * + * Note: in this class, the Player variables are called groom + * and bride. However, the game doesn't know the concept of + * genders. The player who initiates the wedding is just called + * groom, the other bride. + * + * @author daniel + * + */ public class IL0_PriestNPC implements ZoneConfigurator { *************** *** 153,157 **** private void startMarriage(SpeakerNPC priest, Player player, String partnerName) { IRPZone churchZone = StendhalRPWorld.get().getRPZone(priest.getID()); ! Area inFrontOfAltar = new Area(churchZone, new Rectangle(10, 8, 4, 3)); groom = player; --- 165,169 ---- private void startMarriage(SpeakerNPC priest, Player player, String partnerName) { IRPZone churchZone = StendhalRPWorld.get().getRPZone(priest.getID()); ! Area inFrontOfAltar = new Area(churchZone, new Rectangle(10, 8, 4, 1)); groom = player; |