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

projectile_dampener

Vars

bullet_effectsdatum that holds the effects we apply on caught bullets
edgeturf_effectslist of all the visual effects we keep track of
my_movableatom that contains all the fields in its vis_contents
new_bullet_overlayoverlay we apply to caught bullets

Procs

add_effect_to_hosthandles adding the visual effect's data
catch_bullet_effecta bullet has entered our field, apply the dampening effects to it
determine_wobbleproc that applies the wobbly effect on point of bullet entry
draw_cornerrendering the corners
draw_edgeconnecting the corners to one another
draw_effectrendering all the field visuals. first we render the corners, then we connect them
release_bullet_effectremoving the effects after it has exited our field

Var Details

bullet_effects

datum that holds the effects we apply on caught bullets

edgeturf_effects

list of all the visual effects we keep track of

my_movable

atom that contains all the fields in its vis_contents

new_bullet_overlay

overlay we apply to caught bullets

Proc Details

add_effect_to_host

handles adding the visual effect's data

catch_bullet_effect

a bullet has entered our field, apply the dampening effects to it

determine_wobble

proc that applies the wobbly effect on point of bullet entry

draw_corner

rendering the corners

draw_edge

connecting the corners to one another

draw_effect

rendering all the field visuals. first we render the corners, then we connect them

release_bullet_effect

removing the effects after it has exited our field