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

crate_carrier

Component for simplemobs and basicmobs that allow them to carry crates.

Vars

carriable_cacheTypecache of all the types we can pick up and carry
crate_limitThe max number of crates we can carry
crates_in_handA lazylist of all crates we are carrying

Procs

drop_all_cratesDrops all the crates in our crate list.
on_deathSignal proc for COMSIG_LIVING_DEATH, so we drop crates on death or gib
on_examineSignal proc for COMSIG_ATOM_EXAMINE to show when we're carrying crates
on_unarm_attackSignal proc for COMSIG_LIVING_UNARMED_ATTACK to allow mobs to pick up or drop crates

Var Details

carriable_cache

Typecache of all the types we can pick up and carry

crate_limit

The max number of crates we can carry

crates_in_hand

A lazylist of all crates we are carrying

Proc Details

drop_all_crates

Drops all the crates in our crate list.

on_death

Signal proc for COMSIG_LIVING_DEATH, so we drop crates on death or gib

on_examine

Signal proc for COMSIG_ATOM_EXAMINE to show when we're carrying crates

on_unarm_attack

Signal proc for COMSIG_LIVING_UNARMED_ATTACK to allow mobs to pick up or drop crates