Esempio n. 1
0
    public void SearchLove()
    {
        if (Random.value < (age - 275f) / 85f)
        {
            status     = MARIED_STRING;
            livingCost = mariedCost;
            UI.FellInLove();

            partnerIQ    = Mathf.RoundToInt(Random.Range(1f - IQVar, 1f + IQVar) * iq);
            partnerMoney = Mathf.RoundToInt(Random.Range(1f - moneyVar, 1f + moneyVar) * money);
        }
    }