This wiki is a copy of the original Skyrim CK wiki created and maintained by the UESP.net. See CreationKit:Copy Notice for more info.

IsFood - Potion

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Potion Script

Returns whether this potion is food. (This function requires SKSE)

Syntax[edit | edit source]

bool Function IsFood() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns whether this potion is food.

Examples[edit | edit source]

Potion Property Ale Auto

If Ale.IsFood()
	Debug.Trace("Hooray its food!")
Else
	Debug.Trace("What?! This is supposed to be food")
Endif

See Also[edit | edit source]