Extension methods for Sandbox.Transform. Adds Translate(...) to move the transform's Position by integer offsets on x, y, z.
using Sandbox;
public static class TransformExtension
{
public static void Translate(this Transform t, int x = 0, int y = 0, int z = 0)
{
t.Position.x += x;
t.Position.y += y;
t.Position.z += z;
}
}