Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade random specification #24

Open
acxz opened this issue Nov 11, 2024 · 0 comments
Open

upgrade random specification #24

acxz opened this issue Nov 11, 2024 · 0 comments

Comments

@acxz
Copy link
Owner

acxz commented Nov 11, 2024

some thoughts on revamping random to get more functionality out of it to make more people happy

# random syntax: random, random,nat#bulbasaur,genIII=>genIV,kanto#147=>151,turtwig=>arceus
# allow to specify, random based on each pokedex i.e. national, kanto, etc.
# if no dex name, then assume national
# valid pokemon identifiers can be used, including names and national ids i.e. nat#bulbasaur-blastoise
# should also add "regional dex#num" as a valid identifier as well tbh
# think of a better delimiter than '#' for separating dex name and specifier pokemon
# based on each gen i.e. I, II, etc.
# tbh the parser has gotten big enough that it should be its own library
# having random based on types (i.e. electric/dark would be nice as well)
# also based on shape (https://bulbapedia.bulbagarden.net/wiki/List_of_Pok%C3%A9mon_by_shape)
# maybe figure out a way how to programmatically allow filtering based on any particular tag like what if we wanted [colors](https://bulbapedia.bulbagarden.net/wiki/List_of_Pok%C3%A9mon_by_color#List_of_colors) and egg groups?
# i.e. pokeshell random,gen=I,type=electric,shape=quadruped random,gen=II,type=steel,shape=serpentine
# or something like pokeshell random,gen=-I,type=-electric+water
# having the `-` syntax allows specifying which ones not to have, since pokemon can have multiple types, type would need to support `+` and `-`. Note that `+` would also interfere with the gender delimiter... Think about it.

# update gender handling to have proper inclusion of genderless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant