Ejemplo n.º 1
0
    void Poop()
    {
        GameObject newPoop = Instantiate(poopPrefab);

        newPoop.transform.position = transform.position;
        poop = 0;
        if (makingPublicAppearance)
        {
            politicsManager.ReducePublicConfidence(500);
            interactionSounds.PlayGasps();
        }
        interactionSounds.PlayPoopSound();
    }
Ejemplo n.º 2
0
    void PublicAppearanceTick()
    {
        characterNeeds.DecreaseAttentionNeed();
        if (!makingFool)
        {
            politicsManager.IncreasePolitics(PoliticsGainValue());

            if (RollForFoolishness())
            {
                makingFool = true;
                warningSign.SetActive(true);
                GameObject.Find("Main Camera").GetComponent <InteractionSounds>().PlayGasps();
            }
        }
        else
        {
            politicsManager.ReducePublicConfidence(ConfidenceLossValue());
        }
    }