public Location LoadNorthernForestEdge() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Northern Forest Edge"; returnData.Description = "The Northen Edge of the Ashen Forest. The air is light and clean, far away from ancient evils now."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathFiveDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); Accomplishment swampland = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Swampland")); if (GameState.Hero.Accomplishments.Contains(swampland)) { locationDefinition = BankenSwampland.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEasternForestEdge() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Eastern Forest Edge"; returnData.Description = "The Ashen Forest has ended. There are mountains a little further East. The road continues on, leading through the mountains toward Asku's east coast."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathThreeDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); Accomplishment banditCamp = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Bandit Camp")); if (GameState.Hero.Accomplishments.Contains(banditCamp)) { locationDefinition = BankenBanditCamp.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadForestWilderness() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Wilderness"; returnData.Description = "The path forks off, the left side leading to the wilderness. The area is thick with trees both dead and alive. There is an eviling feeling in the air. You should turn back now."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); Accomplishment shadeLord = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Shade Lord")); if (GameState.Hero.Accomplishments.Contains(shadeLord)) { locationDefinition = BankenForestWilderness.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); } returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadNorthernPathThree() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Northern Path Three"; bool lookForBurialGrounds = Convert.ToBoolean(LocationHandler.GetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenAshenForest.LOOK_FOR_BURIAL_GROUNDS)); returnData.Description = "The path leads north, deep into the forest. The air feels at its foulest here. The Ancient Burial Grounds must be near."; if (!lookForBurialGrounds) { List <LocationAction> locationActions = new List <LocationAction>(); locationActions = new List <LocationAction>(); TakeItemAction lookActiopn = new TakeItemAction("Look for ", "the Ancient Burial Grounds", "You search desparately for the Ancient Burial Grounds. The darkness closes in around your heart the further north you go. Eventually you stumble upon their location"); locationActions.Add(lookActiopn); lookActiopn.PostItem += LookForBurialGrounds; returnData.Actions = locationActions; } //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathTwoDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); if (lookForBurialGrounds) { locationDefinition = BankenAncientBurialGrounds.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } Accomplishment oldForestRuins = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Old Forest Ruins")); if (GameState.Hero.Accomplishments.Contains(oldForestRuins)) { locationDefinition = BankenOldForestRuins.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } Accomplishment inconspiciousCave = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Inconspicious Cave")); if (GameState.Hero.Accomplishments.Contains(inconspiciousCave)) { locationDefinition = BankenInconspicousCave.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathFourDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadForestPathStart() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Path Beginning"; returnData.Description = "The beginning of the Path in the Ashen Forest stems from one of the makeshift roads through Banken. It goes deep within the forest for miles, forking and turning unexpectedly. It is easy to get lost on."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetForestWildernessDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForestWorshipRegion.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); Accomplishment rescueRangers = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Rescue Rangers")); if (GameState.Hero.Accomplishments.Contains(rescueRangers)) { locationDefinition = BankenAshenForestRangerPaths.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } Accomplishment burialGrounds = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Ancient Burial Grounds")); if (GameState.Hero.Accomplishments.Contains(burialGrounds)) { locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathOneDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } Accomplishment banditCamp = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Bandit Camp")); if (GameState.Hero.Accomplishments.Contains(banditCamp)) { locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathOneDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Inconcspicous Cave"; bool searchEntrance = Convert.ToBoolean(LocationHandler.GetLocationStateValue(Banken.LOCATION_STATE_KEY, BankenInconspicousCave.SEARCH_ENTRANCE)); //Only if on the quest (LATER) if (!searchEntrance) { returnData.Description = "A seemingly innocent cave with no signs of any suspicious activity."; List <LocationAction> locationActions = new List <LocationAction>(); TakeItemAction itemAction = new TakeItemAction("Search", "Entrance", "You search the entrance, trying to find anything that may point toward more going on that meets the eye. Luckily, you stumble upon a trap door covered by a magical illusion. The illusion was dispelled as your hand feels the latch"); locationActions.Add(itemAction); itemAction.PostItem += SearchEntrance; returnData.Actions = locationActions; } else { returnData.Description = "A once seemingly innocent cave with an uncovered trap door on the floor."; } //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Will need a change LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathThreeDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); if (searchEntrance) { locationDefinition = BankenInconspicousCave.GetTownInstance().GetPassageWayDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); } returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Old Forest Ruins"; returnData.Description = "Ruins of an old town, overcome by the forest. Vines are growing on buildings that have long since crumpled to the ground."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathThreeDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenOldForestRuins.GetTownInstance().GetMainRoadDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEasternForestPathTwo() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Eastern Forest Path Two"; returnData.Description = "The Forest Path continues east. The trees are thick but the air feels clean and calm"; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathOneDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathThreeDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEasternForestPathOne() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Eastern Forest Path One"; returnData.Description = "The path turns east and goes deep into the forest"; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathTwoDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest"; returnData.Description = "The Ashen Forest is a grey forest, full of a life of darkness and light. The whole area feels as if it can birth evil at any moment."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = Banken.GetTownInstance().GetTownCenterDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadNorthernPathFive() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Northern Path Five"; returnData.Description = "The path leads north, deep into the forest. The air is significantly lighter here."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathFourDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernForestEdgeDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Wilderness - Strange Opening"; returnData.Description = "You catch sight of a strange opening in the trees. There's a path beyond it that leads into the unkown wilderness of the forest."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenForestWilderness.GetTownInstance().GetTrecherousPathDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Path - Worship Region"; returnData.Description = "You enter the worship region of the Ashen Forest. Many people travel here to pay homage in some kind to whatever Gods they believe in. This is ancient ground, that some believe used to be holy. But now, a dark presence is defiling it. Faint, but there none-the-less."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForestWorshipRegion.GetTownInstance().GetStatueClearingDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Swampland"; returnData.Description = "The swampland is hot and mucky out. It's not a pleasant place to be."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Will need a change LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernForestEdgeDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenSwampland.GetTownInstance().GetSwampyAreaOneDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest - Ranger Paths"; returnData.Description = "The path splits off into a more natural trail. This path is well traveled by the Banken Rangers as they patrol the forest to keep evil at bay."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetForestPathStartDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForestRangerPaths.GetTownInstance().GetSmallPathDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadEasternForestPathThree() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Eastern Forest Path Three"; returnData.Description = "The Forest Path continues east. The trees have thinned out. The edge of the forest can be seen not that far ahead"; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestPathTwoDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetEasternForestEdgeDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadEntrance() { Location returnData; returnData = new Location(); returnData.Name = "Ancient Burial Grounds"; returnData.Description = "The Ancient Burial Grounds reek of evil. A dark presence encloses your heart and you feel hope drain from your body. Proceed with caution."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefintions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathThreeDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAncientBurialGrounds.GetTownInstance().GetDesecratedTombStonesDefinition(); adjacentLocationDefintions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefintions; return(returnData); }
public Location LoadNorthernPathTwo() { Location returnData; returnData = new Location(); returnData.Name = "Ashen Forest Northern Path Two"; returnData.Description = "The path leads north, deep into the forest. The air feels fouler the further you go."; //Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); //Town Center LocationDefinition locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathOneDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = BankenAshenForest.GetTownInstance().GetNorthernPathThreeDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }
public Location LoadTownCenter() { Location returnData; LocationAction locationAction; returnData = new Location(); returnData.Name = "Banken"; returnData.Description = "The small town of Banken, located in the middle of the Ashen Forest. There are several wooden buildings throughout the town. The town is mainly populated by Forest Rangers, but there are some civilians living there as well."; // Location Actions List <LocationAction> locationActions = new List <LocationAction>(); locationAction = new DisplayStatsAction(); locationActions.Add(locationAction); locationAction = new DisplayInventoryAction(); locationActions.Add(locationAction); locationAction = new DisplayPotionBagAction(); locationActions.Add(locationAction); locationAction = new DisplayEquippedAction(); locationActions.Add(locationAction); locationAction = new AffixSwapperAction(); locationActions.Add(locationAction); locationAction = new StoreAction(); locationActions.Add(locationAction); locationAction = new MainMenuAction(); locationActions.Add(locationAction); locationAction = new ExitGame(); locationActions.Add(locationAction); returnData.Actions = locationActions; // Adjacent Locations Dictionary <string, LocationDefinition> adjacentLocationDefinitions = new Dictionary <string, LocationDefinition>(); LocationDefinition locationDefinition = GetArenaDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = GetInnDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); locationDefinition = GetWarCouncilDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); Accomplishment investigateShrine = Banken.GetBankenAccomplishments().Find(x => x.Name.Contains("Investigate Religious Shrine")); if (GameState.Hero.Accomplishments.Contains(investigateShrine)) { locationDefinition = BankenAshenForest.GetTownInstance().GetEntranceDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); } locationDefinition = BeachTower.GetTownInstance().GetTownCenterDefinition(); adjacentLocationDefinitions.Add(locationDefinition.LocationKey, locationDefinition); returnData.AdjacentLocationDefinitions = adjacentLocationDefinitions; return(returnData); }