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

regalrat

Vars

domainThe spell that the rat uses to generate miasma
opening_airlockWhether or not the regal rat is already opening an airlock
riotThe Spell that the rat uses to recruit/convert more rats.

Procs

cheese_healConditionally "eat" cheese object and heal, if injured.
get_clicked_playerSets a ghost to control the rat if the rat is eligible
pry_doorAllows rat king to pry open an airlock if it isn't locked.

Var Details

domain

The spell that the rat uses to generate miasma

opening_airlock

Whether or not the regal rat is already opening an airlock

riot

The Spell that the rat uses to recruit/convert more rats.

Proc Details

cheese_heal

Conditionally "eat" cheese object and heal, if injured.

A private proc for sending a message to the mob's chat about them eating some sort of cheese, then healing them, then deleting the cheese. The "eating" is only conditional on the mob being injured in the first place.

get_clicked_player

Sets a ghost to control the rat if the rat is eligible

Asks the interacting ghost if they would like to control the rat. If they answer yes, and another ghost hasn't taken control, sets the ghost to control the rat. Arguments:

pry_door

Allows rat king to pry open an airlock if it isn't locked.

A proc used for letting the rat king pry open airlocks instead of just attacking them. This allows the rat king to traverse the station when there is a lack of vents or accessible doors, something which is common in certain rat king spawn points.