Skip to content
Permalink
Browse files

Adding modular-config to docs/actions. Have fun!

  • Loading branch information
esauvisky committed Mar 19, 2019
1 parent 517a876 commit 66849bf8ffe5c3ae377ee64c2e11a69bee11279b
Showing with 988 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +6 −0 docs/actions/modular-config/README.md
  3. +30 −0 docs/actions/modular-config/config.yaml
  4. +187 −0 docs/actions/modular-config/config/actions/alt.yaml
  5. +200 −0 docs/actions/modular-config/config/actions/default.yaml
  6. +64 −0 docs/actions/modular-config/config/actions/prettify.yaml
  7. +11 −0 docs/actions/modular-config/config/actions/templates/basic_rename_all.yaml
  8. +10 −0 docs/actions/modular-config/config/actions/templates/basic_scan_only.yaml
  9. +4 −0 docs/actions/modular-config/config/actions/templates/basic_unrename_all.yaml
  10. +112 −0 docs/actions/modular-config/config/actions/trade.yaml
  11. +40 −0 docs/actions/modular-config/config/actions/unown.yaml
  12. +17 −0 docs/actions/modular-config/config/locations/oneplus6-1080x2280.yaml
  13. +19 −0 docs/actions/modular-config/config/locations/pixel1080x2200.yaml
  14. +19 −0 docs/actions/modular-config/config/locations/pixel1080x2400.yaml
  15. +14 −0 docs/actions/modular-config/config/locations/redminote1080x2160.yaml
  16. +16 −0 docs/actions/modular-config/config/locations/redminote1080x2400.yaml
  17. +20 −0 docs/actions/modular-config/config/pokemons/babies.yaml
  18. +54 −0 docs/actions/modular-config/config/pokemons/blacklist.yaml
  19. +7 −0 docs/actions/modular-config/config/pokemons/evolve.yaml
  20. +26 −0 docs/actions/modular-config/config/pokemons/legendaries.yaml
  21. +12 −0 docs/actions/modular-config/config/pokemons/metarelevant.yaml
  22. +46 −0 docs/actions/modular-config/config/pokemons/pvp.yaml
  23. +8 −0 docs/actions/modular-config/config/pokemons/rares.yaml
  24. +42 −0 docs/actions/modular-config/config/pokemons/trade_candy.yaml
  25. +8 −0 docs/actions/modular-config/config/waits/pixel_quick.yaml
  26. +8 −0 docs/actions/modular-config/config/waits/pixel_slow.yaml
  27. +7 −0 docs/actions/modular-config/config/waits/redminote.yaml
@@ -106,3 +106,4 @@ ENV/

config.yaml
config/
!docs/**
@@ -0,0 +1,6 @@
MODULAR CONFIG
##############

**Watchout!** This is even more complex than the `ridiculously-complex-config.yaml` example, but allows you to easily set up different actions for different situations, quickly change between device's coords and waits, and so on.

_Also, take a look at *config.yaml* first and foremost, to grasp the idea about how this works._
@@ -0,0 +1,30 @@
locations:
!include config/locations/redminote1080x2160.yaml

waits:
!include config/waits/redminote.yaml

blacklist:
-
#disabled because of https://github.com/Azelphur/PokemonGo-CalcyIV-Renamer/issues/47
#!include config/blacklist.yaml


## Select below which action file you'd like to use:
# default: for main acc
# alt: for alt acc
# prettify: for main after renaming with default.
# filter by * and run this
# trade: for main and alt *after* trading lots of pokes.
# filter by 'trade' and run this
# unown: for main after renaming with default.
# filter by 'unown' and run this.
## *Take a look at those yamls yourself, so you understand better how this works*
actions:
!include config/actions/default.yaml


## How trading symbols (should, threoretically) work:
# π is for safe trading (automated, shouldn't trade anything special)
# μ is for not-so-safe trading (you can automate, but trade against μ only)
# Ω is for evo pokes (for using lucky egg). You can trade them for candy.
@@ -0,0 +1,187 @@
##########
## FAIL ##
##########
- conditions:
success: false
actions:
rename: "!Failed"


# Luckies are non tradable
# run trade.yaml on these afterwards
- conditions:
lucky: true
actions:
appraise:
rename: "∅{calcy}"

##############
## LEGACIES ##
##############
# Appraises legacies
- conditions:
legacy: true
appraised: false
actions:
appraise:
# Good legacy + legendary, prolly going to get used by alt
- conditions:
legacy: true
iv_max__ge: 90
level__ge: 30
name__in: !include ../pokemons/legendaries.yaml
actions:
favorite:
rename: "•{calcy}"
# Rest of legacy + legendary, prolly going to get traded anytime
- conditions:
legacy: true
name__in: !include ../pokemons/legendaries.yaml
actions:
favorite:
rename: "+{calcy}"
# Rest of legacies non legendary, prolly going to get traded as well
- conditions:
legacy: true
actions:
favorite:
rename: '+{calcy}' # legacies non legandaries



## Renames unowns to be renamed afterwards with emi_unowns.yaml
## We would trade them but not automatically, they can be worth
## a penny or so.
- conditions:
name__in:
- Unown
actions:
rename: "* The {iv_avg}"


## Babies go to main, I don't care about babies on alt, waste of space
- conditions:
name__in: !include ../pokemons/babies.yaml
actions:
rename: "π TRADE {iv_avg}"


## Renames random rare & bizarre stuff and those "one-time only"
## pokémons to be renamed afterwards with emi_prettify.yaml
- conditions:
name__in: !include ../pokemons/rares.yaml
actions:
rename: "μ TRADE RARE"


## Good legendaries stay at alt
- conditions:
iv_max__ge: 90
name__in: !include ../pokemons/legendaries.yaml
actions:
rename: "•{calcy}"
## Bad ones, for eventual trade (just like the legacies above)
- conditions:
iv_max__ge: 90
name__in: !include ../pokemons/legendaries.yaml
actions:
rename: "+{calcy}"


##############
### HUNDOS ###
##############
# Check possible IV100
- conditions:
iv:
iv_max__ge: 100
appraised: false
actions:
appraise:
# Guaranteed hundos get renamed normally
- conditions:
iv__eq: 100
actions:
rename: "{calcy}"


#####################
### META RELEVANT ###
#####################
# Good metas are the only ones we keep for alt to use.
- conditions:
iv_max__ge: 90
level__ge: 30
name__in: !include ../pokemons/metarelevant.yaml
actions:
appraise:
rename: "{calcy}"
# Rest we trade
- conditions:
name__in: !include ../pokemons/metarelevant.yaml
actions:
rename: "μ{level} TRADE {iv}"


##############
### TRADES ###
##############
## We can also trade anything high level or hich CP, maybe we get Lucky (ha)
## For alt, these are π, i.e.: we don't really care so we can automatic trade
## though for main, these are μ, which means they're actually better be checked
## before trading, or trade exclusively with other μ pokes
- conditions:
level__ge: 30
lucky: false
actions:
rename: "π{level} TRADE"
- conditions:
cp__ge: 2000
lucky: false
actions:
rename: "π{level} TRADE"

## PVP is not yet sorted out
# - conditions:
# name__in: !include ../pokemons/pvp.yaml
# actions:
# rename: "†{level} TRADE"

####################
### EVOLVE POKES ###
####################
- conditions:
name__in: !include ../pokemons/evolve.yaml
actions:
rename: "Ω TRADEVO"
# Renames the rest of pokemons to trade for candies
- conditions:
name__in: !include ../pokemons/trade_candy.yaml
actions:
rename: "π TRADE"



###########################
### FOR MANUAL CHECKING ###
###########################
- conditions:
iv_max__ge: 95
actions:
rename: "!{calcy}"


#######################
### SKIPS AND TRASH ###
#######################
# Everything else below IV95 we're skipping (that's why there's no
# action: block in here.
- conditions:
iv_max__lt: 95

# This renames anything else that doesn't match any rule above
# which, in theory, shouldn't happen. So if you see a pokemon with
# this character you know you have a mistake on this file and most
# likely missed something.
- actions:
rename: "¿ {calcy}"

0 comments on commit 66849bf

Please sign in to comment.
You can’t perform that action at this time.