mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 23:54:24 +01:00
Merge pull request #6737 from listerla/penclick
Makes pen click when you click on them
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user