void GetTired() { Beliefs.ModifyState("IsExhausted", 0); Invoke ("GetTired", Random.Range(TiredProbMin, TiredProbMax)); }
public override bool PostPerform() { GWorld.Instance.GetWorld().ModifyState("Waiting", 1); GWorld.Instance.AddPatient(this.gameObject); //Adds Itself to the Waiting Que Beliefs.ModifyState("AtHospital", 1); return(true); }
public override bool PostPerform() { GWorld.Instance.GetWorld().ModifyState("Treated", 1); Beliefs.ModifyState("IsCured", 1); //For Patients Inventory.RemoveGameObject(Target); return(true); }