Skip to content

Commit

Permalink
SCRAM message
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAdderley committed Dec 30, 2020
1 parent 82faeff commit 6c861db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GameData/SystemHeat/Localization/en-us.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ Localization
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Event_ShowReactorControl = Toggle Reactor Control
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Event_RepairReactor = Repair Reactor
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Message_EmergencyShutdown = Emergency shutdown temperature of <<1>> was exceeded on <<2>>! Emergency SCRAM!
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Message_Repair_RepairSuccess = Reactor repaired to <<1>>%!
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Message_Repair_CoreTooDamaged = Reactor is too damaged to repair
#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Message_Repair_CoreAlreadyRepaired = Reactor core is already at maximum field repairable integrity (<<1>>%)
Expand Down
Binary file modified GameData/SystemHeat/Plugin/SystemHeat.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@ public virtual void FixedUpdate()
HandleResourceActivities(TimeWarp.fixedDeltaTime);
if (heatModule.currentLoopTemperature > CurrentSafetyOverride)
{
ScreenMessages.PostScreenMessage(new ScreenMessage(
Localizer.Format("#LOC_SystemHeat_ModuleSystemHeatFissionReactor_Message_EmergencyShutdown", CurrentSafetyOverride.ToString("F0"), part.partInfo.title
), 5.0f, ScreenMessageStyle.UPPER_CENTER));
ReactorDeactivated();
}
}
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
v0.3.3
------
- Fixed fission reactor Manual mode showing both on and off buttons at game start
- Fixed fission reactors still generating power/working when they were full of waste
- Fixed fission reactors that didn't generate electricity not generating waste
- Added emergency shutdown message to fission reactors when safety temp is exceeded.
- Added Hibernate On Warp control to fission reactors: if activated, an enabled reactor will turn off when the ship goes on rails. It will reactivate when the ship goes off rails.
- Fixed a bug in loop integration that could cause strange behaviour below norminal temperatures

Expand Down

0 comments on commit 6c861db

Please sign in to comment.