Food
Food is a type of resource that is consumed on use and can restore power resources and cast status effects to buff the user.
Last updated
Food is a type of resource that is consumed on use and can restore power resources and cast status effects to buff the user.
Last updated
To create food, find (or create) the GameName/Resources/GameName/Item folder (or any subfolder) in the project tab and right click. Choose Create > AnyRPG > Inventory > Items > Food.
In addition to the properties shared by all Items, food has the following unique properties.
Consumption Verb
The verb to use in the casting tip.
Holdable Object List
Animation Clip
An animation clip to play while the food is being consumed.
Animation Profile Name
Casting Audio Clip
An audio clip to play while the food is being consumed.
Casting Audio Profile Name
Tick Rate
Resource Amounts
Status Effect
Add food to a Vendor Collection so it can be purchased from a Vendor.
Add food to a Loot Table so that it can drop upon defeat of an enemy.
Add food as an output to a Recipe so that it can be crafted.
A list of that contain links to GameObjects that will be held while the food is being consumed. Holdable Object Name The name of a that contains a link to a GameObject. Use Universal Attachment If true, attachment points from the will be ignored, and the universal attachment in the Attachment Name field will be used. Attachment Name The Node Name field from one of the Attachment Point Nodes in an .
The name of an that contains an animation clip to play while the food is being consumed.
The name of an that contains an audio clip to play while the food is being consumed.
The number of seconds that should elapse between each tick, where from the Resource Amounts list are restored while eating.
A list of and the amounts to restore while eating. Resource Name The name of a . Min Amount If the amount is lower than this value, it will be raised to this value. Base Amount Amount not scaled by level. Max Amount If the amount is higher than this value, it will be lowered to this value. 0 is unlimited.
A to cast on the user when the food is completely consumed.