AppleItem_SO
Last updated
Last updated
Item_SO
can be extended to create various types of items with custom behaviors and abilities triggered upon use. If your item does not require any custom behavior or is not intended to be used, there's no need to extend Item_SO
.
For example, AppleItem_SO
heals the player when used. To implement this functionality, it extends Item_SO
and overrides the Use
method.
To learn more about Item_SO
, inheritance, and how to create custom items with unique behaviors, refer to this .
amountToHealOnUse: Eating an apple heals ´amountToHealOnUse´ Health Points.