Shifted responsibilities from unit scripts to game engine to allow for unit customization