johanberntsson / PunyInform

A fast and compact library for writing text adventure games for the Z-machine running on 8-bit computers as well as other platforms.
MIT License
176 stars 17 forks source link

Empty an objet that doesn't have the container attribute #126

Closed auraes closed 3 months ago

auraes commented 3 months ago

Unlike the standard library, there is no specific message if you try to empty an object that doesn't have the container attribute:

> empty book
The book is empty already.

Standard library:

>empty book The book can't contain things.

fredrikr commented 3 months ago

Thanks, fixed!