/tg/ Station 13 - Modules - Types

code/datums/components/egg_layer.dm

/datum/component/egg_layerComponent that manages how many eggs to lay, what can be fed to the mob to make them lay more, and what is actually laid. Since the only real interaction with the component is an attackby, the nice part is that we're able to make this an atom level proc. egg_layer will loudly fail if you do not provide it the arguments, as to encourage explicicy(?)