1 /* Apply tech upgrades to clonk */
2 
3 #appendto Clonk
4 
Construction(...)5 func Construction(...)
6 {
7 	if (g_homebases)
8 	{
9 		var base = g_homebases[GetOwner()];
10 		if (base)
11 		{
12 			// Apply max energy
13 			this.MaxEnergy = this.Prototype.MaxEnergy * base.tech_life;
14 		}
15 	}
16 	return _inherited(...);
17 }
18