Packages
Packages are a very useful and neat feature that TorqueScript allows you to utilize. You can declare a package and place pre-existing functions inside of the package and add additional code to be executed before or after that original function runs; you can even overwrite that function completely.