public override bool CustomBiomesMatch(Player other) { DRGNPlayer modOther = other.GetModPlayer <DRGNPlayer>(); bool allMatch = (DragonBiome == modOther.DragonBiome) ? ((VoidBiome == modOther.VoidBiome) ? ((AntBiome == modOther.AntBiome) ? true : false) : false) : false; return(allMatch); }
public override void CopyCustomBiomesTo(Player other) { DRGNPlayer modOther = other.GetModPlayer <DRGNPlayer>(); modOther.DragonBiome = DragonBiome; modOther.VoidBiome = VoidBiome; modOther.AntBiome = AntBiome; }