virtual_pet ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 15](git.png)
Vars | |
alter_appearance_cooldown | cooldown till we can alter our pet's appearance again |
---|---|
area_reroll | cooldown till we can reroll the pet feed dropzone |
cheevo_hats | hat options that are locked behind achievements |
current_level_progress | how much exp we currently have |
happiness | our current happiness |
hat_offsets | manage hat offsets for when we turn directions |
hat_selections | hat options and what level they will be unlocked at |
hunger | our current hunger |
level | our current level |
max_happiness | our max happiness |
max_hunger | maximum hunger threshold |
on_clean_cooldown | cooldown till our pet gains happiness again from being cleaned |
pet | the pet hologram |
pet_state_icons | pet icon for each state |
pet_type | the type of our pet |
possible_colors | possible colors our pet can have |
profile_picture | our profile picture |
restricted_areas | areas we wont drop the chocolate in |
selected_area | area we have picked as dropoff location for petfeed |
selected_hat | hologram hat we have selected for our pet |
special_hat_placement | A list of hats that override the hat offsets and transform variable |
steps_counter | how many steps have we walked |
summon_cooldown | cooldown till we can release/recall our pet |
to_next_level | required exp to get to next level |
Procs | |
after_pet_eat | decrease the pet's hunger after it eats |
on_change_dir | manage the pet's hat offsets when he changes direction |
on_overlays_updated | give our pet his hologram hat |
on_pet_entered | start processing if we enter the pda and need healing |
Var Details
alter_appearance_cooldown ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 121](git.png)
cooldown till we can alter our pet's appearance again
area_reroll ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 115](git.png)
cooldown till we can reroll the pet feed dropzone
cheevo_hats ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 69](git.png)
hat options that are locked behind achievements
current_level_progress ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 41](git.png)
how much exp we currently have
happiness ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 33](git.png)
our current happiness
hat_offsets ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 90](git.png)
manage hat offsets for when we turn directions
hat_selections ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 54](git.png)
hat options and what level they will be unlocked at
hunger ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 43](git.png)
our current hunger
level ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 37](git.png)
our current level
max_happiness ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 35](git.png)
our max happiness
max_hunger ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 45](git.png)
maximum hunger threshold
on_clean_cooldown ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 117](git.png)
cooldown till our pet gains happiness again from being cleaned
pet ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 29](git.png)
the pet hologram
pet_state_icons ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 47](git.png)
pet icon for each state
pet_type ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 31](git.png)
the type of our pet
possible_colors ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 99](git.png)
possible colors our pet can have
profile_picture ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 113](git.png)
our profile picture
restricted_areas ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 105](git.png)
areas we wont drop the chocolate in
selected_area ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 97](git.png)
area we have picked as dropoff location for petfeed
selected_hat ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 88](git.png)
hologram hat we have selected for our pet
special_hat_placement ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 78](git.png)
A list of hats that override the hat offsets and transform variable
steps_counter ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 27](git.png)
how many steps have we walked
summon_cooldown ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 119](git.png)
cooldown till we can release/recall our pet
to_next_level ![code/modules/modular_computers/file_system/programs/virtual_pet.dm 39](git.png)
required exp to get to next level
Proc Details
after_pet_eat
decrease the pet's hunger after it eats
on_change_dir
manage the pet's hat offsets when he changes direction
on_overlays_updated
give our pet his hologram hat
on_pet_entered
start processing if we enter the pda and need healing