Exemplo n.º 1
0
        public void InitLate()
        {
            block_initialized = true;

            if (!EngineUI.initialized)
            {
                EngineUI.InitLate();
            }
        }
Exemplo n.º 2
0
 void EngineCustomInfo(IMyTerminalBlock block, StringBuilder builder)
 {
     builder.AppendLine(String.Format("Required Power: {0}W", EngineUI.SIFormat(power_usage * 1000000)));
     builder.AppendLine(String.Format("Max Required Power: {0}W", EngineUI.SIFormat(MAX_POWER_USAGE_MW * 1000000)));
 }