ChapelR / custom-macros-for-sugarcube-2

A collection of systems and macros for Twine.
https://macros.twinelab.net/
The Unlicense
166 stars 44 forks source link

No Instance Method for determining if inventory is empty #19

Closed greyelf closed 5 years ago

greyelf commented 5 years ago

There is no Instance Method equivalent of <inventory>.inv.length === 0 which makes it hard to programatically check if an inventory is empty, unless you know about the (correctly) undocumented <inventory>.inv Array property.

ChapelR commented 5 years ago

Thanks for letting me know about these issues. Once I get an update together I'll let the user on the Q&A know.