Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/component/squashable

This component allows something to be when crossed, for example for cockroaches.

Vars

loc_connectionssignal list given to connect_loc
on_squash_callbackSpecial callback to call on squash instead, for things like hauberoach
squash_chanceChance on crossed to be squashed
squash_damageHow much brute is applied when mob is squashed
squash_flagsSquash flags, for extra checks etcetera.

Procs

on_enteredHandles the squashing of the mob

Var Details

loc_connections

signal list given to connect_loc

on_squash_callback

Special callback to call on squash instead, for things like hauberoach

squash_chance

Chance on crossed to be squashed

squash_damage

How much brute is applied when mob is squashed

squash_flags

Squash flags, for extra checks etcetera.

Proc Details

on_entered

Handles the squashing of the mob