String partnerName;
husband = player;
partnerName = husband.getQuest(marriage.getSpouseQuestSlot());
wife = SingletonRepository.getRuleProcessor().getPlayer(
partnerName);
final StackableItem invite1 = (StackableItem) SingletonRepository.getEntityManager().getItem(
"invitation scroll");
invite1.setQuantity(1);
final StackableItem invite2 = (StackableItem) SingletonRepository.getEntityManager().getItem(
"invitation scroll");
invite2.setQuantity(1);
//
invite1.setInfoString("honeymoon," + partnerName);
invite2.setInfoString("honeymoon," + husband.getTitle());
if (wife.equipToInventoryOnly(invite1) && husband.equipToInventoryOnly(invite2)) {
npc.say("Great choice! I will arrange that now.");
husband.setQuest(marriage.getQuestSlot(), "done");
wife.setQuest(marriage.getQuestSlot(), "done");
wife.teleport(zone, 5, 5, Direction.DOWN, player);