rabdill / bishop

An engine for writing browser-based text adventures using only client-side JavaScript.
Other
1 stars 0 forks source link

Items with a two-word name cannot be dropped #146

Closed rabdill closed 9 years ago

rabdill commented 9 years ago

There's no way to specify, for example, to drop the mink stole if it's not stored in inventory as "stole."

rabdill commented 9 years ago

Maybe look in the "carrying" array for the noun specified in the command, and use that to find the corresponding item in the "inventory" hash?

rabdill commented 9 years ago

https://github.com/rabdill/bishops_map/commit/1270e50b1534274ba40cc25cf0effac15b6b4903