//Adds the value to the List and also adds it to the linked UI element to display the output to the user
 public void Output(Variable output)
 {
     if (clearOutputs)
     {
         outputText.text = "Outputs:";
         clearOutputs    = false;
     }
     outputList.Add(output.GetValue());
     if (outputText != null)
     {
         ObjectiveManager.AddToTMP(outputText, output.GetValue());
     }
 }