Tests: Add option to setChoice for wildcard text
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
While refactoring [[Aminatous Augury]] to use the ApprovingObject tech, I noticed that setChoice() does not work with wildcard text. Example usage would be something like: setChoice(PlayerA, "*use the Creature allowance*")
The engine kicks back:
Aminatou's Augury [f58]: use the Creature allowance
Aminatou's Augury [f58]: use the Artifact allowance
This is @JayDi85 realm so I didn't want to step on any toes.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating setChoice() and the existing choice-text matching or wildcard handling in the Java engine, then reproduce the Aminatou's Augury example with ApprovingObject. Done means setChoice(PlayerA, "*use the Creature allowance*") selects the intended wildcard-matching choice without breaking exact text selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100