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

mouse

Vars

body_colorWhat color our mouse is. Brown, gray and white - leave blank for random.
cable_zap_probProbability that, if we successfully bite a shocked cable, that we will die to it.
contributes_to_ratcapDoes this mouse contribute to the ratcap?
pet_commandslist of pet commands we follow
tameWhether this rat is friendly to players

Procs

create_a_new_ratCreates a new mouse based on this mouse's subtype.
evolve_into_regal_ratEvolves this rat into a regal rat
on_enteredSignal proc for COMSIG_ATOM_ENTERED. Sends a lil' squeak to chat when someone walks over us.
splatKills the rat and changes its icon state to be splatted (bloody).
tamedCalled when a mouse is hand-fed some cheese, it will stop being afraid of humans
try_bite_cableBiting into a cable will cause a mouse to get shocked and die if applicable. Or do nothing if they're lucky.
try_consume_cheeseAttempts to consume a piece of cheese, causing a few effects.

Var Details

body_color

What color our mouse is. Brown, gray and white - leave blank for random.

cable_zap_prob

Probability that, if we successfully bite a shocked cable, that we will die to it.

contributes_to_ratcap

Does this mouse contribute to the ratcap?

pet_commands

list of pet commands we follow

tame

Whether this rat is friendly to players

Proc Details

create_a_new_rat

Creates a new mouse based on this mouse's subtype.

evolve_into_regal_rat

Evolves this rat into a regal rat

on_entered

Signal proc for COMSIG_ATOM_ENTERED. Sends a lil' squeak to chat when someone walks over us.

splat

Kills the rat and changes its icon state to be splatted (bloody).

tamed

Called when a mouse is hand-fed some cheese, it will stop being afraid of humans

try_bite_cable

Biting into a cable will cause a mouse to get shocked and die if applicable. Or do nothing if they're lucky.

try_consume_cheese

Attempts to consume a piece of cheese, causing a few effects.