Kill Quests

by Danny Roe
A method of handling those generic "Kill 'x' Enemies and Gain 'y' Cash" quests.
ID:1189027
 
This demo shows you how you can handle a Quest System in which the object is to Kill x amount of the same mob in return for a Cash reward.

Honestly, I feel as though this should be posted in the Tutorials & Snippets forum, rather than being incorporated into a library. It's far too short to be a library(to me, anyway) and seems more suitable as a code snippet. You also have a lot of trivial comments in the code; if you want to describe functions in-depth then write a documentation for the library, or even a simple readme file, as that is solely the purpose for it.

I actually posted it as a demo, because technically you need to change the Cash variable to match your own currency. I do agree about the comments now that I've looked it over, I'll ammend that when I update it.