SilentCog / rpgjs

Easter egg console.log game in the text based RPG fashion.
https://silentcog.github.io/console-game/
5 stars 2 forks source link

Alternate "use" use. #7

Open SandyGifford opened 9 years ago

SandyGifford commented 9 years ago

In addition to items being able to catch "use" commands, frames should as well. This way a dev has the option of catching the use command in the frame it's significant (which may help readability). If both item and room have a use property, both functions should be called.