Merge pull request #6677 from VOREStation/upstream-merge-6737

[MIRROR]  Makes pen click when you click on them
This commit is contained in:
Novacat
2020-02-24 20:28:15 -05:00
committed by GitHub
3 changed files with 8 additions and 2 deletions
+5 -2
View File
@@ -95,12 +95,12 @@
if(instant || do_after(user, 50))
new /obj/effect/decal/cleanable/crayon(target,colour,shadeColour,drawtype)
to_chat(user, "You finish drawing.")
if(config.log_graffiti)
var/msg = "[user.client.key] ([user]) has drawn [drawtype] (with [src]) at [target.x],[target.y],[target.z]."
message_admins(msg)
log_game(msg)
target.add_fingerprint(user) // Adds their fingerprints to the floor the crayon is drawn on.
if(uses)
uses--
@@ -207,3 +207,6 @@
qdel(src)
else
..()
/obj/item/weapon/pen/crayon/attack_self(var/mob/user)
return