golem_food

Abstract food item used to feed golems
Vars | |
| consume_food | If we use up a stack of food on use or not |
|---|---|
| food_buff | Golem food buff to apply on consumption |
| owner | A reference to whatever it is we represent |
Procs | |
| on_parent_destroyed | Clean ourselves up if our parent dies |
| setup | Set up some properties based on a passed-in item that the golem will pretend to eat |
| took_bite | Called when someone bites this food, subtract one charge from our material stack |
Var Details
consume_food

If we use up a stack of food on use or not
food_buff

Golem food buff to apply on consumption
owner

A reference to whatever it is we represent
Proc Details
on_parent_destroyed
Clean ourselves up if our parent dies
setup
Set up some properties based on a passed-in item that the golem will pretend to eat
took_bite
Called when someone bites this food, subtract one charge from our material stack