using UnityEngine; namespace GrassCutter { /// The eight people a player can go to Herbaria-7 as. Looks only: everyone mows the same. public static class Roster { public struct Member { public string name, model, icon, lineEn; public string line => Loc.T(lineEn); public Member(string name, string line) { this.name = name; lineEn = line; model = "SM_Crew_" + name; icon = "icon_crew_" + name.ToLowerInvariant(); } } public static readonly Member[] All = { new Member("Hank", Loc.N("Mowed the last lawn in Ohio.")), new Member("Otis", Loc.N("Thirty harvests and still early.")), new Member("Lin", Loc.N("Reads a field like a letter.")), new Member("Rustam", Loc.N("Never once lost a scythe.")), new Member("Marcus", Loc.N("Brought the good boots.")), new Member("Gus", Loc.N("Signed up for the pension.")), new Member("Wade", Loc.N("Rode a combine to the launch pad.")), new Member("Kenji", Loc.N("One clean stroke at a time.")), }; public static Member Of(int i) => All[Mathf.Abs(i) % All.Length]; } }