Ejemplo n.º 1
0
 public virtual void OnPostTake(TakeItemEventArgs itemEventArgs)
 {
     if (PostItem != null)
     {
         PostItem(this, itemEventArgs);
     }
 }
Ejemplo n.º 2
0
        public void MoveBoulder(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForestWorshipRegion.TWISTING_PATH_ROCK_BLOCKADE, true);

                //Reload
                LocationHandler.ResetLocation(TWISTING_PATH_KEY);
            }
        }
Ejemplo n.º 3
0
        public void TakeJournal(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForestWorshipRegion.JOURNAL, true);

                //Reload
                LocationHandler.ResetLocation(CEMETERY_NORTH_END_KEY);
            }
        }
        public void PrisonGuards(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerCapturedVillage.PRISON_GUARDS, true);

                //Reload
                LocationHandler.ResetLocation(PRISON_KEY);
            }
        }
        public void OpenMayorHouseDoor(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerCapturedVillage.MAYOR_HOUSE_DOOR, true);

                //Reload
                LocationHandler.ResetLocation(MAYORS_HOUSE_KEY);
            }
        }
        public void SearchInn(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.SEARCH_INN, true);

                //Reload
                LocationHandler.ResetLocation(INN_KEY);
            }
        }
        public void EscortFamily(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.ESCORT_FAMILY, true);

                //Reload
                LocationHandler.ResetLocation(LOCKED_HOUSE_KEY);
            }
        }
        public void SearchEntrance(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenInconspicousCave.SEARCH_ENTRANCE, true);

                //Reload
                LocationHandler.ResetLocation(ENTRANCE_KEY);
            }
        }
Ejemplo n.º 9
0
        public void ConfrontMaskedBandit(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerCatacomb.CONFRONT_MASKED_BANDIT, true);

                //Reload
                LocationHandler.ResetLocation(SECRET_TOMB_KEY);
            }
        }
Ejemplo n.º 10
0
        public void FreeMayor(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerMayorHouse.CAPTURED_MAYOR, true);

                //Reload
                LocationHandler.ResetLocation(UPSTAIRS_MASTER_BEDROOM_KEY);
            }
        }
Ejemplo n.º 11
0
        public void ActivateRuins(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenSwampland.SWAMPY_AREA_ACTIVATE_RUINS, true);

                //Reload
                LocationHandler.ResetLocation(SWAMPY_AREA_THREE_KEY);
            }
        }
Ejemplo n.º 12
0
        public void TakeKey(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerMayorHouse.STOLEN_KEY_TO_MASTER_BEDROOM, true);

                //Reload
                LocationHandler.ResetLocation(UPSTAIRS_GUEST_BEDROOM_KEY);
            }
        }
Ejemplo n.º 13
0
        public void UnlockDoor(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerMayorHouse.STOLEN_KEY_USED, true);

                //Reload
                LocationHandler.ResetLocation(UPSTAIRS_HALLWAY_KEY);
            }
        }
Ejemplo n.º 14
0
        public void LeaderJournal(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Ankou.LOCATION_STATE_KEY, AnkouNecromancerCamp.TOOK_JOURNAL, true);

                // Reload
                LocationHandler.ResetLocation(LEADER_TENT_KEY);
            }
        }
Ejemplo n.º 15
0
        public void ClearBlockade(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.CLEAR_ROAD_BLOCK, true);

                //Reload
                LocationHandler.ResetLocation(MAIN_ROAD_KEY);
            }
        }
Ejemplo n.º 16
0
        public void NecroLetter(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Watertown.LOCATION_STATE_KEY, WatertownForestCabin.TOOK_LETTER, true);

                // Reload
                LocationHandler.ResetLocation(ROOM_FOUR_KEY);
            }
        }
Ejemplo n.º 17
0
        public void FreePrisoners(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.FREE_PRISONERS, true);

                //Reload
                LocationHandler.ResetLocation(TOWN_CENTER_KEY);
            }
        }
Ejemplo n.º 18
0
        public void EntranceBodies(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Watertown.LOCATION_STATE_KEY, WatertownForestCabin.INSPECTED_DEAD_BODIES, true);

                // Reload
                LocationHandler.ResetLocation(ENTRANCE_KEY);
            }
        }
Ejemplo n.º 19
0
        public void UnlockHouse(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.UNLOCK_HOUSE, true);

                //Reload
                LocationHandler.ResetLocation(LOCKED_HOUSE_KEY);
            }
        }
Ejemplo n.º 20
0
        public void NecroIntelligenceOfficerDocument(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerHiddenCamp.DOCUMENT, true);

                //Reload
                LocationHandler.ResetLocation(NECRO_OFFICER_TENT_KEY);
            }
        }
Ejemplo n.º 21
0
        public void TakeOrders(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenOldForestRuins.TAKE_ORDERS, true);

                //Reload
                LocationHandler.ResetLocation(TOWN_HALL_KEY);
            }
        }
Ejemplo n.º 22
0
        public void RoomFourTalisman(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Watertown.LOCATION_STATE_KEY, WatertownSewerRight.INSPECTED_TALISMAN, true);

                // Reload
                LocationHandler.ResetLocation(ROOM_FOUR_KEY);
            }
        }
        public void HouseDistrictVillagers(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(BeachTower.LOCATION_STATE_KEY, BeachTowerCapturedVillage.HOUSE_DISTRICT_VILLAGERS, true);

                //Reload
                LocationHandler.ResetLocation(HOUSE_DISTRICT_KEY);
            }
        }
Ejemplo n.º 24
0
        public void TookJournal(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Ankou.LOCATION_STATE_KEY, AnkouUndergroundHideOut.TOOK_JOURNAL, true);

                // Reload
                LocationHandler.ResetLocation(OVERSEER_QUARTERS_KEY);
            }
        }
Ejemplo n.º 25
0
        public void TalkToFleeingLocal(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForestWorshipRegion.FLEEING_LOCAL, true);

                //Reload
                LocationHandler.ResetLocation(STATUE_CLEARING_KEY);
            }
        }
Ejemplo n.º 26
0
        public void Journal(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Ankou.LOCATION_STATE_KEY, AnkouBanditAndNecroCave.TOOK_JOURNAL, true);

                // Reload
                LocationHandler.ResetLocation(DARK_ROOM_KEY);
            }
        }
Ejemplo n.º 27
0
        public void OpenGate(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForestWorshipRegion.CEMETERY_ENTRANCE_GATE, true);

                //Reload
                LocationHandler.ResetLocation(CEMETERY_ENTRANCE_KEY);
            }
        }
Ejemplo n.º 28
0
        public void Letters(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Ankou.LOCATION_STATE_KEY, AnkouSeedyInn.TOOK_NOTES_OF_PAYMENT, true);

                // Reload
                LocationHandler.ResetLocation(TORTURE_CHAMBER_KEY);
            }
        }
Ejemplo n.º 29
0
        public void LookForBurialGrounds(object sender, TakeItemEventArgs itemEventArgs)
        {
            if (itemEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForest.LOOK_FOR_BURIAL_GROUNDS, true);

                //Reload
                LocationHandler.ResetLocation(NORTHERN_PATH_THREE_KEY);
            }
        }
Ejemplo n.º 30
0
        public void SpyLetter(object sender, TakeItemEventArgs inspectEventArgs)
        {
            if (inspectEventArgs.ItemResults == TakeItemResults.Taken)
            {
                LocationHandler.SetLocationStateValue(Watertown.LOCATION_STATE_KEY, WatertownBanditHouse.TOOK_SPY_LETTER, true);

                // Reload
                LocationHandler.ResetLocation(ROOM_SIX_KEY);
            }
        }