Goonstation 13 - Modules - Types

code/modules/recoil/recoil_controller.dm

/datum/recoil_controllerwhether or not this mob's recoil camera is active whether or not this mob's recoil camera is active current camera x offset from recoil current camera y offset from recoil time of the last recoil impulse the magnitude of recoil this mob's experiencing (ie. how far away is the camera) the rate of change of recoil magnitude the current angle of the mob's recoil camera the rate of change of the mob's recoil angle how much sway delta should be multiplied by every 10th of a second how much recoil delta should be multiplied by every 10th of a second how much recoil delta should be decreased by, per pixel away from the centre

how much recoil_delta is reduced by, every 10th of a second