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