rabdill / bishop

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

Add ability for authors to define what sensory commands players can use on items #135

Closed rabdill closed 9 years ago

rabdill commented 9 years ago

This one: https://github.com/rabdill/bishops_map/issues/134 implemented "examine" and "smell" and whatever, but instead of defining them hard-coded like that, we should make "sensory commands" for items just be a game trait -- it might default to ["smell", "taste", "examine"], but the author should be able to decide what else the player can do to find out more about an item.

rabdill commented 9 years ago

Nevermind. This will be done with generic "messages" attached to items: https://github.com/rabdill/bishops_map/commit/5a1993c9855b4b5dda50f4c77c65686196491f7b