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

Improve usability askCard() and similar functions. #1938

Open
zz1000zz opened this issue Apr 14, 2020 · 1 comment
Open

Improve usability askCard() and similar functions. #1938

zz1000zz opened this issue Apr 14, 2020 · 1 comment

Comments

@zz1000zz
Copy link

Currently askCard() matches a search string exactly. It would be useful if it could match by substring. This would enable things like searching for "Land" in a column that has both "Land - Forest" and "Land - Island" rather than having to write out every potential search case.

It may also be worth checking similar functions to try to make them all work in a more consistent (to one another) manner.

@brine
Copy link
Contributor

brine commented Apr 22, 2020

These functions are most likely going to change to dedicated classes in the next API revision, so game devs have better control over the inputs

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

2 participants