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

Add open/close (and synonyms) to basic actions #5

Open SandyGifford opened 9 years ago

SandyGifford commented 9 years ago

Open and close seem common enough that they should be included in basic actions. It's also a pain to include a new frame var for every thing that opens and closes, and it would be helpful to have a built in system handle this.

SandyGifford commented 9 years ago

A property of frames, "openables", perhaps, that lists things which can have both an "open" and "closed" state.