'tv' refers to temp variables that are referenced in the code.
If you change the composition of the units keep in mind that any new units that you introduce will be excluded from a lot of game mechanics as the code won't accomodate then and they may even cause a crash.