leg
Parent Type for legs, should not appear in game.
Vars | |
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 |
---|---|
Procs | |
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. |
Var Details
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:
- limb_overlay - The limb image being masked, not necessarily the original limb image as it could be an overlay on top of it
- image_dir - Direction of the masked images.
Returns the list of masked images, or null
if the limb_overlay didn't exist