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(); }
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)); }