public void OnRead() { string key = Talk.ChooseRandom(outcomes.Keys.ToArray()); Stats.singleton.literacy += outcomes[key] + Mathf.Round(Stats.singleton.literacy * 0.1f); MessageLog.PushMessage(key); }
public void OnShare() { Stats.singleton.audience += Mathf.Round(Stats.singleton.literacy / 2f); if (Stats.singleton.literacy > 40 && !Stats.singleton.canWrite) { Stats.singleton.canWrite = true; MessageLog.PushMessage("You've been looking for an article describing how the world would be different if puppies were safe from the giant coorperations, but nobody has written it yet! You suppose it's time to write it yourself."); } else { MessageLog.PushMessage("You ran into " + Talk.ChooseRandom(Talk.Names) + " " + Talk.ChooseRandom(Circumstances) + " and you recommended them a book about " + Talk.ChooseRandom(Talk.Topics) + ", " + Talk.ChooseRandom(Outcomes)); } }
public void OnPicket() { Stats.singleton.influence += Stats.singleton.audience; string outcome = null; if (Stats.singleton.InfluencePct < 1f) { outcome = Talk.ChooseRandom(Outcomes); } else { outcome = AchieveMilestone(); } MessageLog.PushMessage("You gather a bunch of people and head to " + Talk.ChooseRandom(CorpNames) + ". " + outcome + "."); }
public void OnWrite() { Stats.singleton.audiencePerSecond += 1f; Stats.singleton.literacy = Mathf.Round(Stats.singleton.literacy * 1.4f); MessageLog.PushMessage(Talk.ChooseRandom(Descriptions) + " " + Talk.ChooseRandom(Outcomes)); }
public void OnVote() { MessageLog.PushMessage(Talk.ChooseRandom(outcomes)); }