Okay, here's my first cut. this is almost assuredly not committable, but figured I'd at least get it out there for feedback. I went with the "create a new ClanLoungeSwimmingPoolRequest.java" approach per the feedback. I still need to clean up the breakfast work, and registerRequest? Not as sure about that, so need to do more investigation to see if it's relevant or not. And I likely have other cruft I've forgotten as I changed approaches/was debugging. However:
- items found via diving are properly registered - it also correctly ignores people saying "I found ...", and only registers on actual dive responses.
- "swim cannonball | item" now properly works, in that you get into the pool, handstand, dive, and get out.
Although I'm less certain about the second one since I used up my one dive for the day testing the first one.
Anyways, todo:
- Make breakfast work, by having the clanlounge breakfast also call the clanloungeswimmingpool breakfast.
- get a preference set when you find an item to be consistent with the rest of the limited per day things we've got.
- figure out registerRequest, and if it's needed or not.
- Cleanup whatever other cruft I missed when copying ClanLoungeRequest.java -> ClanLoungeSwimmingPoolRequest.java
builds off of latest (11276). Broadly I made it generic for being able to call the other pool functions (handstand, opening/closing eyes, etc), but didn't bother to expose them via the cli since I figured no one cares - if it is interesting to folk, let me know and I'll adjust accordingly.