public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints                   = true;
     mTask_loyalty_counter                = new Articy.Unity.Constraints.NumberConstraint(-100D, 100D, 0, 0, 0, null);
     mTask_death_target_first             = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_death_target_second            = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_spare_target_first             = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "");
     mTask_spare_occupation_selector      = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mTask_daily_profiles                 = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "template_profile;template_random_profile;");
     mTask_death_occupation_selector      = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mTask_profile_count                  = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mTask_description_top                = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mTask_death_threshold_younger        = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years ");
     mTask_death_threshold_older          = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_spare_threshold_younger        = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_spare_threshold_older          = new Articy.Unity.Constraints.NumberConstraint(18D, 2000D, 0, 0, 0, "years");
     mTask_description_bottom             = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mTask_death_occupation_amount        = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_threshold_younger_amount = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_threshold_older_amount   = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_occupation_amount        = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_threshold_younger_amount = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_spare_threshold_older_amount   = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_death_count      = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, null);
     mTask_profile_shuffler = new Articy.Unity.Constraints.BooleanConstraint(false);
 }
Example #2
0
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mVariableName      = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints               = true;
     mDialogue_appearance_condition   = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mDialogue_appearance_instruction = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }
Example #4
0
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints   = true;
     mSmallScriptValue    = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mSmallScriptValue_02 = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mSmallScriptValue_03 = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mRequiredItem      = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Item;");
     mLocationChange    = new Articy.Unity.Constraints.ReferenceSlotConstraint("Location;", "", "None;", "");
     mMoraleChange      = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints      = true;
     mInitialDialog          = new Articy.Unity.Constraints.ReferenceSlotConstraint("DialogueFragment;Dialogue;", "", "None;", "");
     mIsStartLocation        = new Articy.Unity.Constraints.BooleanConstraint(false);
     mBackgrounds            = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Asset;", "", "None;Image;Video;Audio;Document;Misc;All;", "BackgroundImage;");
     mInitialDialogCondition = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints = true;
     mM_CharID          = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mM_CharHP          = new Articy.Unity.Constraints.NumberConstraint(0, 100, 0, 0, 0, null);
     mM_CharMP          = new Articy.Unity.Constraints.NumberConstraint(0, 100, 0, 0, 0, "");
     mM_CharOnScreen    = new Articy.Unity.Constraints.BooleanConstraint(false);
     mM_CharIsDead      = new Articy.Unity.Constraints.BooleanConstraint(false);
     mM_CharScript      = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mM_CharMaxHP       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
     mM_CharMaxMP       = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38, 3.40282346638529E+38, 0, 0, 0, null);
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints              = true;
     mProfile_spare_news_third       = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_news_second      = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_instruction      = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mProfile_spare_ecology_value    = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_news_first       = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mProfile_spare_peace_value      = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_healthcare_value = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_prosperity_value = new Articy.Unity.Constraints.NumberConstraint(-1000D, 100D, 0, 0, 0, null);
     mProfile_spare_enabler          = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
     mProfile_spare_disabler         = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints      = true;
     mIfConditionTrue        = new Articy.Unity.Constraints.ReferenceSlotConstraint("Dialogue;Location;DialogueFragment;Entity;", "", "None;", "Item;");
     mIfConditionFalse       = new Articy.Unity.Constraints.ReferenceSlotConstraint("Dialogue;Location;DialogueFragment;Entity;", "", "None;", "Item;");
     mCursorIfConditionTrue  = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mCursorIfConditionFalse = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mItemToInteractWith     = new Articy.Unity.Constraints.ReferenceSlotConstraint("Entity;", "", "None;", "Item;");
     mLinkIfItemValid        = new Articy.Unity.Constraints.ReferenceSlotConstraint("DialogueFragment;Dialogue;Location;Condition;Instruction;", "", "None;", "");
     mLinkIfItemInvalid      = new Articy.Unity.Constraints.ReferenceSlotConstraint("DialogueFragment;Dialogue;Location;Condition;Instruction;", "", "None;", "");
     mClickCondition         = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mOnClickInstruction     = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mInteractionCondition   = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
     mInstructionIfItemValid = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
 }
 public virtual void EnsureConstraints()
 {
     if ((mLoadedConstraints == true))
     {
         return;
     }
     mLoadedConstraints        = true;
     mItem_name                = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_description         = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, true);
     mItem_price_value         = new Articy.Unity.Constraints.NumberConstraint(-3.40282346638529E+38D, 3.40282346638529E+38D, 0, 0, 0, "darksouls");
     mItem_type_category       = new Articy.Unity.Constraints.EnumConstraint(false, "BySortIndex");
     mItem_flavour_text_first  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_instruction_onbuy   = new Articy.Unity.Constraints.ScriptConstraint("Outcome", "");
     mItem_flavour_text_second = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_icon                = new Articy.Unity.Constraints.ReferenceSlotConstraint("LocationImage;Asset;Entity;", "", "None;Image;Video;Audio;Document;Misc;All;", "");
     mItem_flavour_text_third  = new Articy.Unity.Constraints.TextConstraint(2048, "", null, true, false);
     mItem_dialogue            = new Articy.Unity.Constraints.ReferenceSlotConstraint("Dialogue;", "", "None;", "template_conscience;");
     mItem_variations          = new Articy.Unity.Constraints.ReferenceStripConstraint(10000, "Entity;", "", "None;", "template_item_variation;");
     mItem_slot_number         = new Articy.Unity.Constraints.NumberConstraint(-1D, 2D, 0, 0, 0, null);
     mItem_variable            = new Articy.Unity.Constraints.ScriptConstraint("Condition", "");
 }