Examine Code Refactor

This commit is contained in:
Dip
2020-10-06 23:36:21 -03:00
parent c433514622
commit aa7d47a23b
334 changed files with 1337 additions and 1365 deletions
+4 -4
View File
@@ -43,7 +43,7 @@
/obj/item/camera/examine(mob/user)
. = ..()
to_chat(user, "<span class='notice'>Alt-click to change its focusing, allowing you to set how big of an area it will capture.</span>")
. += "<span class='notice'>Alt-click to change its focusing, allowing you to set how big of an area it will capture.</span>"
/obj/item/camera/AltClick(mob/user)
if(!user.canUseTopic(src, BE_CLOSE))
@@ -81,8 +81,8 @@
..()
/obj/item/camera/examine(mob/user)
..()
to_chat(user, "It has [pictures_left] photos left.")
. = ..()
. += "It has [pictures_left] photos left."
//user can be atom or mob
/obj/item/camera/proc/can_target(atom/target, mob/user, prox_flag)
@@ -211,4 +211,4 @@
picture.caption = caption
p.set_picture(picture, TRUE, TRUE)
if(CONFIG_GET(flag/picture_logging_camera))
picture.log_to_file()
picture.log_to_file()