Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/chicken_egg_props

Vars

argumentslist of argument to pass to New when creating the mob
chicken_idchicken id of our egg, used for determining icon_state's and some comparison for unique chickens
food_effectslist of food effects applied to the egg
gender_balancepercentage of eggs that will become roosters. 0 = all hens 100 = all roosters
happiness_valuehappy chickens lay happy eggs. Base happiness value for the newly hatched chicks.
hen_typepath to the hen mob
is_hatchableis this even an egg? Does it hatch into a chicken? Or is it like, a water balloon.
is_secretis this egg in the secret repo?
ownerthe egg who owns this instance of egg properties
rooster_typepath to the rooster mob
uniquedetermines if more than one of this chicken type can exist

Procs

AfterHatchdo things after the mob is created
BeforeHatchdo things before the mob is created
ItemHatchCalled when the "egg" is layed. For chickens who lay "eggs" which are really just items that can't hatch but need to call some stuff still

Var Details

arguments

list of argument to pass to New when creating the mob

chicken_id

chicken id of our egg, used for determining icon_state's and some comparison for unique chickens

food_effects

list of food effects applied to the egg

gender_balance

percentage of eggs that will become roosters. 0 = all hens 100 = all roosters

happiness_value

happy chickens lay happy eggs. Base happiness value for the newly hatched chicks.

hen_type

path to the hen mob

is_hatchable

is this even an egg? Does it hatch into a chicken? Or is it like, a water balloon.

is_secret

is this egg in the secret repo?

owner

the egg who owns this instance of egg properties

rooster_type

path to the rooster mob

unique

determines if more than one of this chicken type can exist

Proc Details

AfterHatch

do things after the mob is created

BeforeHatch

do things before the mob is created

ItemHatch

Called when the "egg" is layed. For chickens who lay "eggs" which are really just items that can't hatch but need to call some stuff still