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

Wrong message for 'take off' an unworn clothing object #103

Closed auraes closed 2 years ago

auraes commented 2 years ago

There seems to be some problems with take off, the behavior is not the same as with the verbs that target Disrobe:

> i                                                                     
You're carrying a hat (worn).                                           

> take off hat                                                          
You take off the hat.                                                   

> take off hat                                                          
You can't see any such thing.                                           

> remove hat                                                            
You're not wearing the hat.                                             

> drop hat                                                              
Dropped.                                                                

> take off hat                                                          
You can't see any such thing.                                           

> remove hat                                                            
(first taking the hat)                                                  
You're not wearing the hat.  
johanberntsson commented 2 years ago

I've pushed changes that improve the response. Have a look and see if it is good enough. I'll close the issue in a few days unless you have suggestions for further improvements.