public override void CopyCustomBiomesTo(Player other) { TutorialPlayer otherPlayer = other.GetModPlayer <TutorialPlayer>(mod); otherPlayer.zoneBiome = zoneBiome; // This will set other player's biome to the same as thisPlayer }
public override bool CustomBiomesMatch(Player other) { TutorialPlayer otherPlayer = other.GetModPlayer <TutorialPlayer>(mod); // This will get other players using the TutorialPlayerClass return(zoneBiome == otherPlayer.zoneBiome); // This will return true or false depending on other player }