示例#1
0
    // Update is called once per frame
    void Start()
    {
        RandomizeRace();

        continueTimer = false;
        type          = this.gameObject.GetComponent <CharStats>();
        if (type.LiarChance() == false)
        {
            itemLookingFor = GameObject.FindGameObjectWithTag("Weapons");
            //create a type of person based on the weapon.)
        }
        drinkGiven = false;

        centerTrigger = GameObject.Find("CenterTrigger").gameObject;
        exitTrigger   = GameObject.Find("ExitTrigger").gameObject;

        lostAndFoundAnswer = false;

        /*
         * If player wants lost and found item behind counter, show text bubble asking for it.
         * Wait for answer
         */

        speech = GetComponent <SpeechBubble>();

        poisioned = false;
    }