public void AddAction(ChoiceOutcome co)
 {
     Actions.Add (co);
 }
 public void AddOutcome(ChoiceOutcome co)
 {
     OutcomeList.Add(co);
 }
 private void DoDialogueAction(ChoiceOutcome co)
 {
     switch(co.GetType())
     {
         case ChoiceOutcome.OutcomeType.JumpToNode: // CHANGED
             NodeCurrentId = TopicCurrent.GetJumpIndex(((OutcomeJump)co).GetNodeId()); // ((OutcomeJump)co).GetNodeId();
             GotoNode();
         break;
         case ChoiceOutcome.OutcomeType.AddToInventory:
             if(inv)
                 inv.Add(((OutcomeItem)co).GetItemId());
         break;
         case ChoiceOutcome.OutcomeType.MoodMod:
             OutcomeMood om = (OutcomeMood)co;
             CharacterData cd = db.GetCharacter(om.GetCharacterId());
             cd.MoodMod(om.GetMoodMod());
             if(!cd.InGoodMood())
                 HandleBadMood();
         break;
         case ChoiceOutcome.OutcomeType.EndConversation:
             ReturnToTopicList();
         break;
     }
 }