PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.88k stars 1.54k forks source link

False/True added to SpinForts #2183

Closed iDervy closed 8 years ago

iDervy commented 8 years ago

Would it be possible to add a False/True in the configs for SpinForts? This way, instead of having to delete/re-add the task consistently, we can just change a single value.

Alternatively, why not bring back Poke/Farm/All option back?

Having to make multiple configs just for Farm Pokemon/Farm PokeStops is getting tedious.

mrthrowaway commented 8 years ago

If you have multiple set of Tasks rename one of them to some other than 'tasks' such as '//tasks' and that set would be disabled.

Something like this

"tasks": [
      { "type": "IncubateEggs",
        "config": { "longer_eggs_first": true }
      },
      { "type": "RecycleItems" },
      { "type": "CatchVisiblePokemon" },
      { "type": "CatchLuredPokemon" }
      }
    ],
"//tasks": [
      { "type": "HandleSoftBan" },
      { "type": "CollectLevelUpReward" },
      { "type": "IncubateEggs",
        "config": { "longer_eggs_first": true }
      },
      { "type": "TransferPokemon" },
      { "type": "EvolveAll",
        "config": {
          "evolve_speed": 20,
          "use_lucky_egg": false
        }
      },
      { "type": "RecycleItems" },
      { "type": "CatchVisiblePokemon" },
      { "type": "CatchLuredPokemon" },
      { "type": "SpinFort" },
      { "type": "MoveToFort" },
      { "type": "FollowSpiral" }
    ],

The one you want to use would be named 'tasks' and one you don't want, named '//tasks'

Edit: removed my comment on changing it to '//SpinFort', apparently that breaks the bot