raptor 
Vars | |
| can_breed | Can this raptor breed? |
|---|---|
| change_offsets | Should we change offsets on direction change? |
| collar_state | Can we wear a collar? If so, what is our icon state prefix for it? |
| food_types | Food types that we can consume |
| growth_probability | Probability of getting progress in the baby phase each second |
| growth_progress | Our current growth progress towards the next stage if we're a youngling or a baby |
| growth_stage | Are we an adult, youngling or baby? |
| happiness_percentage | Current happiness value of the raptor |
| inherited_stats | Inheritance datum we store our genetic data in |
| pet_commands | Pet commands when we tame the raptor |
| raptor_color | Raptor color datum assigned to this raptor, this is a singleton |
Procs | |
| change_growth_stage | Changes the raptor to a new growth stage. Only should be done forwards, or on raptor init as the first thing before everything else Sorry for the monolith, but splitting it up results in even worse looking code with a ton of duplicate calls and assignments And making a second datum is just insanity |
| egg_inherit | Pass our genetic data to the egg |
Var Details
can_breed 
Can this raptor breed?
change_offsets 
Should we change offsets on direction change?
collar_state 
Can we wear a collar? If so, what is our icon state prefix for it?
food_types 
Food types that we can consume
growth_probability 
Probability of getting progress in the baby phase each second
growth_progress 
Our current growth progress towards the next stage if we're a youngling or a baby
growth_stage 
Are we an adult, youngling or baby?
happiness_percentage 
Current happiness value of the raptor
inherited_stats 
Inheritance datum we store our genetic data in
pet_commands 
Pet commands when we tame the raptor
raptor_color 
Raptor color datum assigned to this raptor, this is a singleton
Proc Details
change_growth_stage
Changes the raptor to a new growth stage. Only should be done forwards, or on raptor init as the first thing before everything else Sorry for the monolith, but splitting it up results in even worse looking code with a ton of duplicate calls and assignments And making a second datum is just insanity
egg_inherit
Pass our genetic data to the egg