59 {
61 {
62 Battery9V battery = Battery9V.Cast( GetCompEM().GetEnergySource() );
63
65 {
67
68 if ( efficiency < 1 )
69 {
70 m_Light.SetIntensity( efficiency, GetCompEM().GetUpdateInterval() );
71 }
72 else
73 {
75 }
76 }
77 }
78 }
float GetEfficiency0To1()
Returns efficiency of this battery. The value is synchronized from server to all clients and is accur...
proto native CGame GetGame()