GetIngestibleFlag
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Description
Returns whether or not an ingestible has an ingestible flag. "Food" determines if the effects are affected by Survival skill, while "Medicine" flag determines if the effects are affected by Medicine skill. They are not mutually exclusive.
Syntax
(bool) GetIngestibleFlag ingestible:form flag:int
Example
GetIngestibleFlag JalapenoPepper 2
Will return 1 (true) for having the Food flag.
Ingestible Flags
2 Food 4 Medicine