/tg/ Station 13 - Modules - TypesVar Details - Proc Details

slime

Vars

amount_grownControls how long the slime has been overfed, if 10, grows or reproduces
applied_crossbreed_amountHow many extracts of the modtype have been applied.
coresThe number of /obj/item/slime_extract's the slime has left inside
crossbreed_modificationWhat cross core modification is being used.
current_moodOur slime's current mood
evolve_actionOur evolve action
hunger_disabledNo hunger
life_stageWhat is our current lifestage?
mutation_chanceChance of mutating, should be between 25 and 35
mutator_usedHas a mutator been used on the slime? Only one is allowed
pet_commandsInstructions you can give to slimes
powerlevel1-10 controls how much electricity they are generating
reproduce_actionOur reproduction action

Procs

apply_waterHandles the adverse effects of water on slimes
can_feed_onCan the slime leech life energy from the target?
check_item_passthroughChecks if an item harmlessly passes through the slime
discipline_slimeStops the slime from feeding, and might remove rabidity and targets
handle_nutritionHandles the consumption of nutrition, and growth
handle_slime_stasisHandles if a slime's environment would cause it to enter stasis. Ignores TRAIT_STASIS
on_attack_handIf a slime is attack with an empty hand, shoves included, try to wrestle them off the mob they are on
on_slime_pre_attackHandles slime attacking restrictions, and any extra effects that would trigger
random_colourrandomizes the colour of a slime
regenerate_iconsChecks if the slime has a generic name, in the format of baby/adult slime (123)
reproduceSplits the slime into multiple children if possible
resist_buckleSlimes can hop off mobs they have latched onto
set_default_behaviourMakes the slime hungry but mostly friendly
set_enraged_behaviourMakes the slime angry and hungry
set_life_stageChanges the slime's current life state
set_pacified_behaviourMakes the slime peaceful and content
set_slime_typeSets the slime's type, name and its icons
spawn_corecrossSpawns a crossed slimecore item
start_feedingThe slime will start feeding on the target
stop_feedingThe slime will stop feeding
try_discipline_slimeAttempts to use the item to discipline the unruly slime
use_sheetHandles feeding a sheet of plasma to a slime
use_xeno_bagHandles 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

regenerate_icons

Checks if the slime has a generic name, in the format of baby/adult slime (123)

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

use_sheet

Handles feeding a sheet of plasma to a slime

use_xeno_bag

Handles feeding a slim with a bag full of extracts