mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[NO GBP] Renames mob/camera to mob/eye and makes everything follow suit (#87684)
## Why It's Good For The Game Clarity and consistency regarding DM's systems. Internally, `eye` is used for anything that controls the client's view.  How `eye` is used in DM is consistent with how we use the term, so I figured this would add clarity. Being named mob/camera also makes it unclear exactly what it's doing. The name implies that it would function similar to how mob/camera/ai_eye does, but most of the time it's only used as... an eye. My ulterior reason for this PR is that I want to clean up mob/camera/ai_eye and it's subtypes after this. ## Changelog 🆑 server: mob/camera has been renamed to mob/eye, which may break downstreams /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -109,10 +109,10 @@
|
||||
/// Adds a single fingerprint
|
||||
/datum/forensics/proc/add_fingerprint(mob/living/suspect, ignoregloves = FALSE)
|
||||
if(!isliving(suspect))
|
||||
if(!iscameramob(suspect))
|
||||
if(!iseyemob(suspect))
|
||||
return
|
||||
if(isaicamera(suspect))
|
||||
var/mob/camera/ai_eye/ai_camera = suspect
|
||||
var/mob/eye/ai_eye/ai_camera = suspect
|
||||
if(!ai_camera.ai)
|
||||
return
|
||||
suspect = ai_camera.ai
|
||||
@@ -190,10 +190,10 @@
|
||||
/// Adds a single hiddenprint
|
||||
/datum/forensics/proc/add_hiddenprint(mob/suspect)
|
||||
if(!isliving(suspect))
|
||||
if(!iscameramob(suspect))
|
||||
if(!iseyemob(suspect))
|
||||
return
|
||||
if(isaicamera(suspect))
|
||||
var/mob/camera/ai_eye/ai_camera = suspect
|
||||
var/mob/eye/ai_eye/ai_camera = suspect
|
||||
if(!ai_camera.ai)
|
||||
return
|
||||
suspect = ai_camera.ai
|
||||
|
||||
Reference in New Issue
Block a user