slime
Vars | |
amount_grown | Controls how long the slime has been overfed, if 10, grows or reproduces |
---|---|
applied_crossbreed_amount | How many extracts of the modtype have been applied. |
cores | The number of /obj/item/slime_extract's the slime has left inside |
crossbreed_modification | What cross core modification is being used. |
current_mood | Our slime's current mood |
evolve_action | Our evolve action |
hunger_disabled | No hunger |
life_stage | What is our current lifestage? |
mutation_chance | Chance of mutating, should be between 25 and 35 |
mutator_used | Has a mutator been used on the slime? Only one is allowed |
pet_commands | Instructions you can give to slimes |
powerlevel | 1-10 controls how much electricity they are generating |
reproduce_action | Our reproduction action |
Procs | |
apply_water | Handles the adverse effects of water on slimes |
can_feed_on | Can the slime leech life energy from the target? |
check_item_passthrough | Checks if an item harmlessly passes through the slime |
discipline_slime | Stops the slime from feeding, and might remove rabidity and targets |
handle_nutrition | Handles the consumption of nutrition, and growth |
handle_slime_stasis | Handles if a slime's environment would cause it to enter stasis. Ignores TRAIT_STASIS |
on_attack_hand | If a slime is attack with an empty hand, shoves included, try to wrestle them off the mob they are on |
on_slime_pre_attack | Handles slime attacking restrictions, and any extra effects that would trigger |
random_colour | randomizes the colour of a slime |
reproduce | Splits the slime into multiple children if possible |
resist_buckle | Slimes can hop off mobs they have latched onto |
set_default_behaviour | Makes the slime hungry but mostly friendly |
set_enraged_behaviour | Makes the slime angry and hungry |
set_life_stage | Changes the slime's current life state |
set_pacified_behaviour | Makes the slime peaceful and content |
set_slime_type | Sets the slime's type, name and its icons |
spawn_corecross | Spawns a crossed slimecore item |
start_feeding | The slime will start feeding on the target |
stop_feeding | The slime will stop feeding |
try_discipline_slime | Attempts to use the item to discipline the unruly slime |
try_extract_cores | Proc for slime core removal surgery, tries to remove cores from a dead slime. |
use_sheet | Handles feeding a sheet of plasma to a slime |
use_xeno_bag | Handles feeding a slim with a bag full of extracts |
Var Details
amount_grown
Controls how long the slime has been overfed, if 10, grows or reproduces
applied_crossbreed_amount
How many extracts of the modtype have been applied.
cores
The number of /obj/item/slime_extract's the slime has left inside
crossbreed_modification
What cross core modification is being used.
current_mood
Our slime's current mood
evolve_action
Our evolve action
hunger_disabled
No hunger
life_stage
What is our current lifestage?
mutation_chance
Chance of mutating, should be between 25 and 35
mutator_used
Has a mutator been used on the slime? Only one is allowed
pet_commands
Instructions you can give to slimes
powerlevel
1-10 controls how much electricity they are generating
reproduce_action
Our reproduction action
Proc Details
apply_water
Handles the adverse effects of water on slimes
can_feed_on
Can the slime leech life energy from the target?
check_item_passthrough
Checks if an item harmlessly passes through the slime
discipline_slime
Stops the slime from feeding, and might remove rabidity and targets
handle_nutrition
Handles the consumption of nutrition, and growth
handle_slime_stasis
Handles if a slime's environment would cause it to enter stasis. Ignores TRAIT_STASIS
on_attack_hand
If a slime is attack with an empty hand, shoves included, try to wrestle them off the mob they are on
on_slime_pre_attack
Handles slime attacking restrictions, and any extra effects that would trigger
random_colour
randomizes the colour of a slime
reproduce
Splits the slime into multiple children if possible
resist_buckle
Slimes can hop off mobs they have latched onto
set_default_behaviour
Makes the slime hungry but mostly friendly
set_enraged_behaviour
Makes the slime angry and hungry
set_life_stage
Changes the slime's current life state
set_pacified_behaviour
Makes the slime peaceful and content
set_slime_type
Sets the slime's type, name and its icons
spawn_corecross
Spawns a crossed slimecore item
start_feeding
The slime will start feeding on the target
stop_feeding
The slime will stop feeding
try_discipline_slime
Attempts to use the item to discipline the unruly slime
try_extract_cores
Proc for slime core removal surgery, tries to remove cores from a dead slime.
use_sheet
Handles feeding a sheet of plasma to a slime
use_xeno_bag
Handles feeding a slim with a bag full of extracts