Пример #1
0
        internal static World CreateWorld()
        {
            World Skyrim = new World();

            Skyrim.AddLocation(0, 0, 5, 5, "Helgen", "Helgen is a moderately-sized community in Falkreath Hold in The Elder Scrolls V: Skyrim. " +
                               "It was one of the only heavily inhabited settlements located in Falkreath Hold, apart from the city of Falkreath itself and Half-Moon Mill. " +
                               "It is destroyed in the prologue by Alduin.");

            Skyrim.LocationAt(0, 1).AddMonster(1, 0.99);
            Skyrim.LocationAt(0, 3).AddTrader("Olaf");
            QuestFactory.GiveQuest(1, Skyrim.LocationAt(1, 0));

            return(Skyrim);
        }
Пример #2
0
        internal World CreateWorld()
        {
            World newWorld = new World();

            newWorld.AddLocation(-2, -1, "Farmer's Field",
                                 "There are rows of corn growing here, with giant rats hiding between them.",
                                 "/Engine;component/Images/Locations/FarmFields.png");

            newWorld.AddLocation(-1, -1, "Farmer's House",
                                 "This is the house of your neighbor, Farmer Ted.",
                                 "/Engine;component/Images/Locations/Farmhouse.png");

            newWorld.AddLocation(0, -1, "Home",
                                 "This is your home",
                                 "/Engine;component/Images/Locations/Home.png");

            newWorld.AddLocation(-1, 0, "Trading Shop",
                                 "The shop of Susan, the trader.",
                                 "/Engine;component/Images/Locations/Trader.png");

            newWorld.AddLocation(0, 0, "Town square",
                                 "You see a fountain here.",
                                 "/Engine;component/Images/Locations/TownSquare.png");

            newWorld.AddLocation(1, 0, "Town Gate",
                                 "There is a gate here, protecting the town from giant spiders.",
                                 "/Engine;component/Images/Locations/TownGate.png");

            newWorld.AddLocation(2, 0, "Spider Forest",
                                 "The trees in this forest are covered with spider webs.",
                                 "/Engine;component/Images/Locations/SpiderForest.png");

            newWorld.AddLocation(0, 1, "Herbalist's hut",
                                 "You see a small hut, with plants drying from the roof.",
                                 "/Engine;component/Images/Locations/HerbalistsHut.png");

            newWorld.AddLocation(0, 2, "Herbalist's garden",
                                 "There are many plants here, with snakes hiding behind them.",
                                 "/Engine;component/Images/Locations/HerbalistsGarden.png");
            return(newWorld);
        }