10 List<Chara> members = b.members;
11 foreach (
Chara chara
in members)
13 this.happiness += chara.happiness;
14 this.hunger += chara.hunger.value;
15 this.fatigue += chara.stamina.value;
16 this.depression += chara.depression.value;
17 this.bladder += chara.bladder.value;
18 this.hygine += chara.hygiene.value;
20 int count = members.Count;
21 this.happiness /= count;
23 this.fatigue /= count;
24 this.depression /= count;
25 this.bladder /= count;
30 public string GetText()
33 text =
string.Concat(
new string[]
38 this.happiness.ToString(),
41 text =
string.Concat(
new string[]
46 this.hunger.ToString(),
49 text =
string.Concat(
new string[]
54 this.fatigue.ToString(),
57 text =
string.Concat(
new string[]
62 this.depression.ToString(),
65 text =
string.Concat(
new string[]
70 this.bladder.ToString(),
73 return text + EClass.pc.hygiene.name +
": " + this.hygine.ToString();
86 public int depression;