Files
FluffyandGitHub 457a091d9a Clicks refactor (#20321)
Added various events to the dcs system in regards to click handling.
Refactored various mouse related procs.
Fixed MUI mask.
Fixed AI jump on double click.
Fixed some runtimes with the click handler system.
Updated the click handler system.
Fixed fireman carry.
2025-01-09 23:04:48 +00:00

16 lines
466 B
Plaintext

/**
* Freelook eye component
*
* For mobs connecting to the station's cameranet without needing AI procs
*
* For mobs connecting to other visualnets, call set_visualnet() with the visualnet to use
*/
/datum/component/eye/freelook
eye_type = /mob/abstract/eye/freelook
/datum/component/eye/freelook/proc/set_visualnet(datum/visualnet/net = GLOB.cameranet)
if(component_eye)
var/mob/abstract/eye/eye = component_eye
if(istype(eye))
eye.visualnet = net