Space Engineers

Space Engineers

[DEPRECATED!!] Hazard Mechanics
 此主题已被置顶,因此可能具有重要性
TheGoudaShoota  [开发者] 2019 年 12 月 15 日 下午 8:38
Programmable Block Script Endpoints
- ADDITIONAL REACTOR PROPERTIES EXPOSED TO PROGRAMMABLE BLOCK
6 Additional (READONLY) Properties Exposed on all reactors:
IMyReactor r = GridTerminalSystem.GetBlockWithName("SmallRegularReactor") as IMyReactor; Echo(r.CustomName + "\n" + "Reactor.ControlRodProblem " + r.GetValue<bool>("Reactor.ControlRodProblem").ToString() + "\n" + "Reactor.CoolantProblem " + r.GetValue<bool>("Reactor.CoolantProblem").ToString() + "\n" + "Reactor.ControlRodConsumed " + r.GetValue<float>("Reactor.ControlRodConsumed").ToString() + "\n" + "Reactor.CoolantConsumed " + r.GetValue<float>("Reactor.CoolantConsumed").ToString() + "\n" + "Reactor.MeltdownCountdown " + r.GetValue<int>("Reactor.MeltdownCountdown").ToString() + "\n" + "Reactor.MeltdownInProgress " + r.GetValue<bool>("Reactor.MeltdownInProgress").ToString() );
These properties allow you to get additional info about new reactor processes.
最后由 TheGoudaShoota 编辑于; 2019 年 12 月 15 日 下午 8:39