Overhauled the stat and equipment system