// automatic drama resolution void AutomaticResolution() { Debug.Log("Drama in a room with 0 crew members !! Auto-resolution !"); UpdatePrediction(0); CurrentDramaReport = DramaSolver.Apply(CurrentDramaOutcomePrediction); EndDrama(); }
// Evacuate Now ! (triggered by button) public void Evacuate() { CurrentDramaReport = DramaSolver.Apply(CurrentDramaOutcomePrediction); EndDrama(); }
/////////////////////// Resource loss #region Drama outcome public static string CommentOnDramaOutcome(DramaReport report) { return(CommentOnDramaOutcome(report.HasRoomBeenDestroyed, report.CrewQtySacrified, report.CrewQtyLoss, report.RoomType)); }