/tg/ Station 13 - Modules - TypesVar Details - Proc Details

golem_food

Abstract food item used to feed golems

Vars

consume_foodIf we use up a stack of food on use or not
food_buffGolem food buff to apply on consumption
ownerA reference to whatever it is we represent

Procs

on_parent_destroyedClean ourselves up if our parent dies
setupSet up some properties based on a passed-in item that the golem will pretend to eat
took_biteCalled 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