Example #1
0
        public override void GiveRewards()
        {
            Item reward = new DetectiveCredentials();

            if (Owner.Backpack == null || !Owner.Backpack.TryDropItem(Owner, reward, false))
            {
                Owner.BankBox.DropItem(reward);
            }

            reward = new GumshoeTitleDeed();

            if (Owner.Backpack == null || !Owner.Backpack.TryDropItem(Owner, reward, false))
            {
                Owner.BankBox.DropItem(reward);
            }

            base.GiveRewards();
        }
Example #2
0
        public override void GiveRewards()
        {
            Item reward = new DetectiveCredentials();

            if (Owner.Backpack == null || !Owner.Backpack.TryDropItem(Owner, reward, false))
            {
                Owner.BankBox.DropItem(reward);
            }

            reward = new GumshoeTitleDeed();

            if (Owner.Backpack == null || !Owner.Backpack.TryDropItem(Owner, reward, false))
            {
                Owner.BankBox.DropItem(reward);
            }

            base.GiveRewards();

            Owner.DoneQuests.Add(new QuestRestartInfo(typeof(GoingGumshoeQuest), TimeSpan.Zero));
        }