Goonstation 13 - Modules - TypesVar Details - Proc Details

base ranch critter

Vars

agelessageless = extends lifespan beyond normal limits
babyOur current child, if it exists
base_evolution_typebase evolution
critter_scream_pitchpitch used when playing chicken scream sound
critter_scream_soundsound the critter makes when doing a scream emote
crowded_minimumthe number of nearby ranch animals nearby before the animal starts feeling crowded
crowding_coefficientthe amount of unhappiness per cycle per each neighbor in excess of the crowding minimum
egg_cooldownlife ticks between until next egg attempt
egg_pity_countnumber of failed attempts since last succesful egg laying
egg_pity_limitguarantee an egg within this many attempts
egg_timerlife ticks remaining until next egg attempt
evolutionslist of possible evolutions
evolvedcurrent evolution, if any
favorite_flagwhat food does this chicken really like?
feed_countsassociative list containing all of our feed flags and counts
forgivingwill the mob forgive entries on its shit list on its own?
gender_preferenceFully Automated Gay Space Communism
has_special_aiif you set this, you need to set the special ai in the subtype's New()
immortalimmortal = does not need food, does not grow old, and does not die of old age
impressionableControls whether our baby version is impressionable and can imprint on mobs
mateOur pair-bonded creature, if it exists
negative_happinessis happiness allowed to go negative?
parentOur parent to follow, if it exists
species_typeused so that hyperaggressive creatures don't kill their babies by default, critters should show global species solidarity
stageused for level up evolutions stage of life

Procs

after_grow_upstuff to do after all growing up code is run
get_feed_countreturn the value of a feed flag if we have it, else return 0
set_feed_countset the count of a feed flag to the given value
update_feed_countupdate the count of a feed flag by a given value

Var Details

ageless

ageless = extends lifespan beyond normal limits

baby

Our current child, if it exists

base_evolution_type

base evolution

critter_scream_pitch

pitch used when playing chicken scream sound

critter_scream_sound

sound the critter makes when doing a scream emote

crowded_minimum

the number of nearby ranch animals nearby before the animal starts feeling crowded

crowding_coefficient

the amount of unhappiness per cycle per each neighbor in excess of the crowding minimum

egg_cooldown

life ticks between until next egg attempt

egg_pity_count

number of failed attempts since last succesful egg laying

egg_pity_limit

guarantee an egg within this many attempts

egg_timer

life ticks remaining until next egg attempt

evolutions

list of possible evolutions

evolved

current evolution, if any

favorite_flag

what food does this chicken really like?

feed_counts

associative list containing all of our feed flags and counts

forgiving

will the mob forgive entries on its shit list on its own?

gender_preference

Fully Automated Gay Space Communism

has_special_ai

if you set this, you need to set the special ai in the subtype's New()

immortal

immortal = does not need food, does not grow old, and does not die of old age

impressionable

Controls whether our baby version is impressionable and can imprint on mobs

mate

Our pair-bonded creature, if it exists

negative_happiness

is happiness allowed to go negative?

parent

Our parent to follow, if it exists

species_type

used so that hyperaggressive creatures don't kill their babies by default, critters should show global species solidarity

stage

used for level up evolutions stage of life

Proc Details

after_grow_up

stuff to do after all growing up code is run

get_feed_count

return the value of a feed flag if we have it, else return 0

set_feed_count

set the count of a feed flag to the given value

update_feed_count

update the count of a feed flag by a given value