Exemplo n.º 1
0
 public static void cutAllWeeds(string s, string[] args)
 {
     if (args.Length == 1)
     {
         if (args[0] == "All" || args[0] == "all")
         {
             DebrisLogic.getAllWeedsToCut(Game1.player.currentLocation);
             return;
         }
     }
     DebrisLogic.getAllWeedsToCut(Game1.player.currentLocation);
 }
Exemplo n.º 2
0
        /*
         * public void goPickUpDebris()
         * {
         *      public static void removeSquareDebrisFromTile(int tileX, int tileY)
         * {
         *  for (int index = Game1.currentLocation.debris.Count - 1; index >= 0; --index)
         *  {
         *      if (Game1.currentLocation.debris[index].debrisType == Debris.DebrisType.SQUARES && (int)((double)Game1.currentLocation.debris[index].Chunks[0].position.X / (double)Game1.tileSize) == tileX && Game1.currentLocation.debris[index].chunkFinalYLevel / Game1.tileSize == tileY)
         *          Game1.currentLocation.debris.RemoveAt(index);
         *  }
         * }
         */


        public static void chopAllTwigs(string s, string[] args)
        {
            if (args.Length == 1)
            {
                if (args[0] == "All" || args[0] == "all")
                {
                    DebrisLogic.getAllSticksToChop(Game1.player.currentLocation);
                    return;
                }
            }
            DebrisLogic.getAllSticksToChop(Game1.player.currentLocation);
        }
Exemplo n.º 3
0
 public static void breakAllStones(string s, string[] args)
 {
     if (args.Length == 1)
     {
         if (args[0] == "All" || args[0] == "all")
         {
             DebrisLogic.getAllStonesToBreak(Game1.player.currentLocation);
             return;
         }
     }
     DebrisLogic.getAllStonesToBreak(Game1.player.currentLocation);
 }
Exemplo n.º 4
0
 public static void chopAllTrees(string s, string[] args)
 {
     if (args.Length == 1)
     {
         if (args[0] == "All" || args[0] == "all")
         {
             ModCore.CoreMonitor.Log("CHOP ALL TREES");
             DebrisLogic.getAllTreesToChop(Game1.player.currentLocation);
             return;
         }
     }
     DebrisLogic.getAllTreesToChop(Game1.player.currentLocation);
 }