I have a few custom potions I have installed. 1 I made, 2 I downloaded. My question is: Sometimes I see people say to add the new potion to basepotion.cs in this bracket.

Code:
public enum PotionEffect
	{
		Nightsight,
		CureLesser,
		Cure,
		CureGreater,
		Agility,
		AgilityGreater,
		Strength,
		StrengthGreater,
		PoisonLesser,
		Poison,
		PoisonGreater,
		PoisonDeadly,
		Refresh,
		RefreshTotal,
		HealLesser,
		Heal,
		HealGreater,
		ExplosionLesser,
		Explosion,
		ExplosionGreater
	}

Before I go and add any new potions to this enum I was just wondering what the point of having a custom potion added to it is? They still work fine?
 
Prehaps it is used for potion kegs, i've ran into this problem someday in my development of custom potions.
 
Yeah, PotionEffect is used with kegs, growing plants, and a few quest rewards.

If you wanted your custom potion mixes to be made in keg form and/or used with plants, you would need to add your effect names to that enum but also edit potionkeg.cs and plantitem.cs/mainplantgump.cs quite a bit.
 
Back