Version 2 of the Handbook mentions a handy extension called Consolidated Multiple Actions by John Clemens. Apparently it hasn’t been updated for Inform 10, and that’s a shame. Does anybody have a suggestion how to duplicate its functionality, or a new extension that does something similar?
The idea is, if the player is carrying multiple indistinguishable objects, the parser handles them one by one, like this:
Looking over Consolidated Multiple Actions, I don’t see an obvious reason it couldn’t be updated for 10.1. But there’s no prepared solution I know of.
For a bunch of extensions that never made it past the 6G60-6L02 barrier event there’s no compelling reason they couldn’t, it’s just that no one ever did the updating and not many people are thinking about now decade-old extensions. I updated Clemens’ Scheduled Activities by changing two lines using the old change X to Y syntax; there are probably others it would be trivial to rehabilitate.
Well, I tried. I changed “style” to “stile” and “GENERATE” to “GINERATE” in order to avoid namespace conflicts, and also “instead of” to “replacing”. I got up to the point where “Translating the Source - Failed.”
It’s a clever extension, but you have to manually recode every action that you might want to apply to a group of things – exmining, dropping, putting on, inserting into, etc. In certain situations this could be useful, I’m sure, but it’s not a general solution.