mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
picture fixer (#51650)
This commit is contained in:
@@ -248,7 +248,7 @@
|
||||
/datum/objective/polaroid/update_explanation_text()
|
||||
..()
|
||||
if(target && target.current)
|
||||
explanation_text = "Take a photo with [target.name] while they're alive."
|
||||
explanation_text = "Take a photo of [target.name] while they're alive."
|
||||
else
|
||||
explanation_text = "Free Objective"
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
for(var/obj/I in all_items) //Check for wanted items
|
||||
if(istype(I, /obj/item/photo))
|
||||
var/obj/item/photo/P = I
|
||||
if(P.picture.mobs_seen.Find(owner) && P.picture.mobs_seen.Find(target) && !P.picture.dead_seen.Find(target))//you are in the picture, they are but they are not dead.
|
||||
if(P.picture && (target.current in P.picture.mobs_seen) && !(target.current in P.picture.dead_seen)) //Does the picture exist and is the target in it and is the target not dead
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user