Skip to content

Commit

Permalink
Non-AI cameras can take pictures of unconcealed runes and cult portals (
Browse files Browse the repository at this point in the history
#28134)

* The detective is on the trail

* are you for real

* spelling

* Linter didn't like that
  • Loading branch information
Vi3trice authored Feb 2, 2025
1 parent 431656f commit 6088ad3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/paperwork/photography.dm
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@
var/icon_off = "camera_off"
var/size = 3
var/see_ghosts = FALSE //for the spoop of it
/// Cult portals and unconcealed runes have a minor form of invisibility
var/see_cult = TRUE
var/current_photo_num = 1
var/digital = FALSE
/// Should camera light up the scene
Expand Down Expand Up @@ -291,6 +293,10 @@ GLOBAL_LIST_INIT(SpookyGhosts, list("ghost","shade","shade2","ghost-narsie","hor
atoms.Add(A)
continue

// AI can't see unconcealed runes or cult portals
if(A.invisibility == INVISIBILITY_RUNES && see_cult)
atoms.Add(A)
continue
if(A.invisibility)
if(see_ghosts && isobserver(A))
var/mob/dead/observer/O = A
Expand Down
1 change: 1 addition & 0 deletions code/modules/paperwork/silicon_photography.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
/// camera AI can take pictures with
/obj/item/camera/siliconcam/ai_camera
name = "AI photo camera"
see_cult = FALSE

/// camera cyborgs can take pictures with
/obj/item/camera/siliconcam/robot_camera
Expand Down

0 comments on commit 6088ad3

Please sign in to comment.