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

Inconsistency with the <<newinventory>> macro #18

Closed greyelf closed 5 years ago

greyelf commented 5 years ago

The <<newinventory>> macro's documentation states you can pass multiple arguments to it, yet the macro throws an 'incorrect number of arguments' error if anything other than a single argument is passed.

eg. the macro's JavaScript contains the following check.

if (this.args.length !== 1) {
    return this.error('incorrect number of arguments');
}