mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
38 lines
929 B
Plaintext
38 lines
929 B
Plaintext
// Camera mob, used by AI camera and blob.
|
|
|
|
/mob/camera
|
|
name = "camera mob"
|
|
density = FALSE
|
|
anchored = TRUE
|
|
status_flags = GODMODE // You can't damage it.
|
|
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
|
see_in_dark = 7
|
|
invisibility = INVISIBILITY_ABSTRACT // No one can see us
|
|
sight = SEE_SELF
|
|
move_on_shuttle = FALSE
|
|
var/call_life = FALSE //TRUE if Life() should be called on this camera every tick of the mobs subystem, as if it were a living mob
|
|
|
|
/mob/camera/Initialize()
|
|
. = ..()
|
|
if(call_life)
|
|
GLOB.living_cameras += src
|
|
|
|
/mob/camera/Destroy()
|
|
. = ..()
|
|
if(call_life)
|
|
GLOB.living_cameras -= src
|
|
|
|
/mob/camera/experience_pressure_difference()
|
|
return
|
|
|
|
/mob/camera/forceMove(atom/destination)
|
|
var/oldloc = loc
|
|
loc = destination
|
|
Moved(oldloc, NONE, TRUE)
|
|
|
|
/mob/camera/canUseStorage()
|
|
return FALSE
|
|
|
|
/mob/camera/emote(act, m_type=1, message = null, intentional = FALSE)
|
|
return
|