Example #1
0
 public void NewGame(MoonrakeGameData gameData)
 {
     Player = GameState.CurrentGameState.AddCharacter(new PlayerCharacter("Eric", 50)
     {
         MaxAttack = 100, CounterAttackPercent = 75
     }, gameData.MoonRakeLocations.TreeHouse);
 }
Example #2
0
        public void NewWorld(MoonrakeGameData gameData)
        {
            TreeHouse = GrainClusterClient.Universe.AddLocation(new Location("Tree House", "what looks like a small living space.",
                                                                             "You are in a tree house. You see a bed covered with a blanket, curtains on the windows and a fridge full of soda. " +
                                                                             "White wooden planks smashed together make up the walls and the floor. " +
                                                                             "You have a very certain feeling the tree house is going to break. "
                                                                             )).Result;

            Field = GrainClusterClient.Universe.AddLocation(new Location("Field", "a beautifuly trimmed field of lime-green grass and flowers.",
                                                                         "You are in an open field, flowers and lime-green grass surround you. A number of benches provide a resting place for visitors. " +
                                                                         "There is a small tree house here with a rope ladder and windows. " +
                                                                         "In the center of the field you see an ice cream shop with a big sign on the door. There are tables with umbrellas around the shop."
                                                                         )).Result;

            IceCreamShop = GrainClusterClient.Universe.AddLocation(new Location("Ice Cream Shop", "an ice cream shop full of people at tables.",
                                                                                "You see many containers of candy, an ice cream machine and many people sitting in chairs around tables. " +
                                                                                "A cashier resides in the central area of the shop. " +
                                                                                "The store has checkered walls and a floor decorated with many pantings of candies."
                                                                                )).Result;

            TheBurgerDimplomatShop = GrainClusterClient.Universe.AddLocation(new Location("The Burger Dimplomat Shop",
                                                                                          "a large grey building with a red and white checker pattern line at the bottom.",
                                                                                          "black-colored tables that are evenly spaced out. In one corner, there is a soda vending machine.")).Result;

            BigPepperShop = GrainClusterClient.Universe.AddLocation(new Location("Big Pepper",
                                                                                 "a small, tan-colored restuarant with rainbow-colored lighted letters that read out Big Pepper",
                                                                                 "Brown colored tables are arranged in lines 2 by 7. you see a big menu with delicious sounding mexican foods")).Result;

            // Tree House <--> Field
            GrainClusterClient.Universe.AddPortal(
                new PortalAlwaysOpenRule(TreeHouse, Field, "Through the door shaped space you see"),

                new PortalAlwaysOpenRule(Field, TreeHouse, "Through the tree house door shaped space you see")
                ).Wait();

            // Field <--> Ice cream shop
            GrainClusterClient.Universe.AddPortal(
                new PortalOpenGameVarRule(Field, IceCreamShop,
                                          "Through the Ice Cream Shop's medium wooden door you see", gameData.MoonRakeGameVariables.IceCreamShopDoor, "open"),
                new PortalAlwaysClosedRule(Field, Guid.Empty,
                                           "You see a closed medium sized wooden door under the big sign on the Ice Cream Shop."),

                new PortalOpenGameVarRule(IceCreamShop, Field,
                                          "Through the medium wooden door you see", gameData.MoonRakeGameVariables.IceCreamShopDoor, "open"),
                new PortalAlwaysClosedRule(IceCreamShop, Guid.Empty,
                                           "You see a closed medium sized wooden door inside the Ice Cream Shop.")
                ).Wait();
        }
Example #3
0
 public void NewWorld(MoonrakeGameData gameData)
 {
     WaterEye = GrainClusterClient.Universe.AddItem(new Item("Water Eye")
     {
         IsUnique = true
     }).Result;
     Money              = GrainClusterClient.Universe.AddItem(new Item("Money")).Result;
     ChocolateIceCream  = GrainClusterClient.Universe.AddItem(new Item("Chocolate Ice Cream")).Result;
     StrawberryIceCream = GrainClusterClient.Universe.AddItem(new Item("Strawberry Ice Cream")).Result;
     VanillaIceCream    = GrainClusterClient.Universe.AddItem(new Item("Vanilla Ice Cream")).Result;
     CheeseBurger       = GrainClusterClient.Universe.AddItem(new Item("Cheese Burger")).Result;
     Burger             = GrainClusterClient.Universe.AddItem(new Item("Burger")).Result;
     Fries              = GrainClusterClient.Universe.AddItem(new Item("Fries")).Result;
     Soda    = GrainClusterClient.Universe.AddItem(new Item("Soda")).Result;
     Burrito = GrainClusterClient.Universe.AddItem(new Item("Burrito")).Result;
     Taco    = GrainClusterClient.Universe.AddItem(new Item("Taco")).Result;
     Rice    = GrainClusterClient.Universe.AddItem(new Item("Rice")).Result;
 }
Example #4
0
 public void NewWorld(MoonrakeGameData gameData)
 {
     Paige = GrainClusterClient.Universe.AddCharacter(new Character("Paige", 100), gameData.MoonRakeLocations.TreeHouse).Result;
 }
 public void NewWorld(MoonrakeGameData gameData)
 {
     IceCreamShopDoor = GrainClusterClient.Universe.SetGameVarValue("IceCreamShopDoor", "open").Result;
 }