コード例 #1
0
 public virtual void OnPostTake(TakeItemEventArgs itemEventArgs)
 {
     if (PostItem != null)
     {
         PostItem(this, itemEventArgs);
     }
 }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #4
0
        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);
            }
        }
コード例 #5
0
        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);
            }
        }
コード例 #6
0
        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);
            }
        }
コード例 #7
0
        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);
            }
        }
コード例 #8
0
        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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #23
0
        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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }
コード例 #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);
            }
        }