rs-peer / inuvation

4 stars 0 forks source link

suggestion to TeleportOptions #15

Open Ayylmao42000 opened 4 years ago

Ayylmao42000 commented 4 years ago

pls add getOption(pred) or contains(pred) to TeleportOptions because sometimes you have to go through multiple options to get to the correct option, tyvm.

edit: Dialog needs this for options aswell

qverkk commented 4 years ago
@Override
    public int loop() {
        if (!TeleportOptions.select(a -> a.contains("Edgeville"))) {
            if (TeleportOptions.select(a -> a.contains("More"))) {
                return 600;
            }
        } else {
            // delay till at edgeville
        }
        return 100;
    }

same goes for Dialog settings