public void setProp(string aProperty, object aValue)
 {
     if ((aProperty == "IfConditionTrue"))
     {
         IfConditionTrue = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "IfConditionFalse"))
     {
         IfConditionFalse = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "CursorIfConditionTrue"))
     {
         CursorIfConditionTrue = ((MouseCursor)(aValue));
         return;
     }
     if ((aProperty == "CursorIfConditionFalse"))
     {
         CursorIfConditionFalse = ((MouseCursor)(aValue));
         return;
     }
     if ((aProperty == "ItemToInteractWith"))
     {
         ItemToInteractWith = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "LinkIfItemValid"))
     {
         LinkIfItemValid = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "LinkIfItemInvalid"))
     {
         LinkIfItemInvalid = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "ClickCondition"))
     {
         ClickCondition = ((ArticyScriptCondition)(aValue));
         return;
     }
     if ((aProperty == "OnClickInstruction"))
     {
         OnClickInstruction = ((ArticyScriptInstruction)(aValue));
         return;
     }
     if ((aProperty == "InteractionCondition"))
     {
         InteractionCondition = ((ArticyScriptCondition)(aValue));
         return;
     }
     if ((aProperty == "InstructionIfItemValid"))
     {
         InstructionIfItemValid = ((ArticyScriptInstruction)(aValue));
         return;
     }
 }
 public void setProp(string aProperty, object aValue)
 {
     if ((aProperty == "RequiredItem"))
     {
         RequiredItem = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "LocationChange"))
     {
         LocationChange = ((ArticyObject)(aValue));
         return;
     }
     if ((aProperty == "MoraleChange"))
     {
         MoraleChange = ((ArticyScriptInstruction)(aValue));
         return;
     }
 }