예제 #1
0
        public override void AbortQuest()
        {
            base.AbortQuest(); // Defined in Quest, changes the state, stores in DB etc ...

            if (Step < 3 && QuestPlayer.Inventory.GetFirstItemByID(ticketToSvasudFaste.Id_nb, eInventorySlot.Min_Inv, eInventorySlot.Max_Inv) == null)
            {
                QuestPlayer.RemoveMoney(Money.GetMoney(0, 0, 0, 6, 0), null);
                InventoryLogging.LogInventoryAction(QuestPlayer, "(QUEST;" + Name + ")", eInventoryActionType.Quest, 600);
            }

            RemoveItem(QuestPlayer, ticketToSvasudFaste, false);
            RemoveItem(QuestPlayer, askefruerPlans, false);
            RemoveItem(QuestPlayer, ticketToMularn, false);
            RemoveItem(QuestPlayer, noteForNjiedi, false);
            RemoveItem(QuestPlayer, translatedPlans, false);
        }