Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I create a dispenser that gives out a large number of identical objects? Does Inform support dynamic object creation?

0
Posted

How can I create a dispenser that gives out a large number of identical objects? Does Inform support dynamic object creation?

0

Inform does not by default support dynamic object creation, for reasons to do with the structure of the z-machine. You can, however, create a large stash of identical objects and move them into play. See the Recipe Book section on “Dispensers and Supplies of Small Objects” in the Physics chapter. In Glulx, you have another option: Jesse McGrew’s Dynamic Objects extension, available from the extensions page. See the extension documentation for details.

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.