some bad coffeescript
NPC randomization/information display