mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Merge pull request #6737 from listerla/penclick
Makes pen click when you click on them
This commit is contained in:
@@ -207,3 +207,6 @@
|
|||||||
qdel(src)
|
qdel(src)
|
||||||
else
|
else
|
||||||
..()
|
..()
|
||||||
|
|
||||||
|
/obj/item/weapon/pen/crayon/attack_self(var/mob/user)
|
||||||
|
return
|
||||||
@@ -24,6 +24,9 @@
|
|||||||
var/colour = "black" //what colour the ink is!
|
var/colour = "black" //what colour the ink is!
|
||||||
pressure_resistance = 2
|
pressure_resistance = 2
|
||||||
|
|
||||||
|
/obj/item/weapon/pen/attack_self(var/mob/user)
|
||||||
|
to_chat(user, "<span class='notice'>Click.</span>")
|
||||||
|
playsound(loc, 'sound/items/penclick.ogg', 50, 1)
|
||||||
|
|
||||||
/obj/item/weapon/pen/blue
|
/obj/item/weapon/pen/blue
|
||||||
desc = "It's a normal blue ink pen."
|
desc = "It's a normal blue ink pen."
|
||||||
|
|||||||
BIN
sound/items/penclick.ogg
Normal file
BIN
sound/items/penclick.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user