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

leg

Parent Type for legs, should not appear in game.

Vars

footprint_spriteUsed by the bloodysoles component to make footprints
worn_foot_offsetDatum describing how to offset things worn on the foot of this leg, note that an x offset won't do anything here

Procs

generate_masked_legThis proc serves as a way to ensure that legs layer properly on a mob. To do this, two separate images are created - A low layer one, and a normal layer one. Each of the image will appropriately crop out dirs that are not used on that given layer.

Var Details

footprint_sprite

Used by the bloodysoles component to make footprints

worn_foot_offset

Datum describing how to offset things worn on the foot of this leg, note that an x offset won't do anything here

Proc Details

generate_masked_leg

This proc serves as a way to ensure that legs layer properly on a mob. To do this, two separate images are created - A low layer one, and a normal layer one. Each of the image will appropriately crop out dirs that are not used on that given layer.

Arguments:

Returns the list of masked images, or null if the limb_overlay didn't exist