My shot at Pahimar's modding tutorial.