In this post, we are going to add a hunger system to our game. Over time our hero will grow hungrier and eventually starve if no food is consumed! In order to do this we will need to create consumable items! Monsters will sometimes drop corpses when killed and there will be consumables scattered throughout the cave! Important note about refactoring since last post: I have renamed the Game.Mixins namespace to Game.EntityMixins and have moved all the entity mixins to assets/entitymixins.js, leaving only entity templates and the repository definition in assets/entities.js. I reccomend you pull the code at the pre-part 11 tag before starting this post.
The results after this post can be seen here.