Example #1
0
    public AgentInventory(PlayerController Owner)
    {
        OwnerDetails = Owner.CharDetails;
        OwnerCue = Owner.CharacterCue;
        OwnerMind = Owner.MindsEye;

        EquippedUID = string.Empty;
    }
Example #2
0
    public AgentInventory(CognitiveAgent Owner)
    {
        OwnerDetails = Owner.CharDetails;
        OwnerCue = Owner.CharacterCue;
        OwnerMind = Owner.MindsEye;

        EquippedUID = string.Empty;
    }
Example #3
0
    void Awake()
    {
        //Vector3 lookVector = transform.TransformDirection(Vector3.forward);
        //headUpVector = rootNode.InverseTransformDirection(Vector3.up);
        //headLookVector = rootNode.InverseTransformDirection(lookVector);

        CognitiveAgent cAgent = GetComponent<CognitiveAgent>();
        if (cAgent != null)
            OwnerMind = cAgent.MindsEye;
        else
            OwnerMind = GetComponent<PlayerController>().MindsEye;
    }
Example #4
0
        public override Skill Clone(int value)
        {
            var tmp = new MindsEye
            {
                Description = Description,
                MaxValue    = MaxValue,
                Name        = Name,
                Value       = value
            };

            return(tmp);
        }
Example #5
0
 public MindsEyeJewel2()
 {
     Name  = "Mind's Eye Jewel 2";
     Skill = new MindsEye(1);
     Type  = SlotType.Medium;
 }