When MS2 is building a mod template, it does it by following actions that are defined in the template XML file.
Actions have access to all the variables from the template in question.
Available actions in MS2:
SCS mods specific actions:
These actions are specifically made for building ETS2 and ATS mods.