Pills
Last updated
Last updated
string
boolean
GetFalsePHDPillEffect(
pillEffect)
Helper function to get the corresponding pill effect a pill effect would be converted into after picking up False PHD. If the pill wouldn't transform, it returns the same pill effect.
GetHorsePillCollor(
pillColor)
Helper function to get the corresponding horse pill color from a normal pill color
Helper function to get the corresponding normal pill color from a horse pill color
Helper function to get the corresponding pill effect a pill effect would be converted into after picking up PHD. If the pill wouldn't transform, it returns the same pill effect.
Helper function to get the name of a given pill effect. For modded pill effects it returns the name set in the xml.
Helper function to get the PillEffectType
of a given pill effect. Due to API limitations, it'll returns PillEffectType.MODDED
for modded pills.
Helper function to check if a pill color corresponds to a horse pill.
( pillEffect)
( pillColor)
( pillColor)
( pillEffect)
( pillEffect)
( pillEffect)
( pillColor)
GetNormalPillColorFromHorsePill(
pillColor)
GetPHDPillEffect(
pillEffect)
string GetPillEffectName(
pillEffect)
GetPillEffectType(
pillEffect)
boolean IsHorsePill(
pillColor)