Example #1
0
    private void IncreaseWants()
    {
        int   count = wants.Count;
        int   index = Random.Range(0, count);
        Wants want  = wants[index];

        want.wantAmount++;

        if (want.wantAmount >= want.wantsUntilAction)
        {
            want.ExecuteWant(patron);
        }
    }
Example #2
0
 public void AddWant(string want)
 {
     Wants.Add(want);
 }