Abstract item that is held in nullspace and manages reagents. Created by udder component. While perhaps reagents created by udder component COULD be managed in the mob, it would be somewhat finnicky and I actually like the abstract udders.
|on_generate_callback||optional proc to callback to when the udder generates milk|
|reagent_produced_typepath||typepath of reagent produced by the udder|
|size||how much the udder holds|
|udder_mob||mob that has the udder component|
|Initialize||type of reagent this udder will generate|
|on_mob_attacking||signal called on parent attacking an atom|
optional proc to callback to when the udder generates milk
typepath of reagent produced by the udder
how much the udder holds
mob that has the udder component
type of reagent this udder will generate
Proc called every 2 seconds from SSMobs to add whatever reagent the udder is generating.
Proc called on creation separate from the reagent datum creation to allow for signalled milk generation instead of processing milk generation also useful for changing initial amounts in reagent holder (cows start with milk, gutlunches start empty)
Proc called from attacking the component parent with the correct item, moves reagents into the glass basically
signal called on parent attacking an atom