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

ammo_stack

Object for holding stacks of loose ammo as a handful of shells

Vars

casing_w_spacingSpacing between random w offsets of casings. Change based on the size of the casing being put into the stack.
casing_z_paddingHow much space vertically should we leave for casings in random casing z pixel shifts.

Procs

check_emptyChecks the shells in the ammo stack to make sure it isn't empty, if it is, the stack is deleted
pixelmove_casingPixel-moves a casing around based on offsets, in tandem with casing scattering when this ammo stack is thrown.
scatterIterates through every casing in this ammo stack, scattering it and moving it out of the ammo stack, in the event this was thrown.
scatter_individual_casingScatters an individual casing, bouncing and pixel-moving it about.

Var Details

casing_w_spacing

Spacing between random w offsets of casings. Change based on the size of the casing being put into the stack.

casing_z_padding

How much space vertically should we leave for casings in random casing z pixel shifts.

Proc Details

check_empty

Checks the shells in the ammo stack to make sure it isn't empty, if it is, the stack is deleted

pixelmove_casing

Pixel-moves a casing around based on offsets, in tandem with casing scattering when this ammo stack is thrown.

scatter

Iterates through every casing in this ammo stack, scattering it and moving it out of the ammo stack, in the event this was thrown.

scatter_individual_casing

Scatters an individual casing, bouncing and pixel-moving it about.