Sts

First commit of the STS features, including the generation code and an update of the defines file for combat balance.