[s]Fixes writing bugs/exploits
This commit is contained in:
committed by
CitadelStationBot
parent
1cda9ef2b4
commit
98bbfb8709
@@ -137,8 +137,13 @@
|
||||
/obj/item/valentine/attackby(obj/item/W, mob/user, params)
|
||||
..()
|
||||
if(istype(W, /obj/item/pen) || istype(W, /obj/item/toy/crayon))
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on [src]!</span>")
|
||||
return
|
||||
var/recipient = stripped_input(user, "Who is receiving this valentine?", "To:", null , 20)
|
||||
var/sender = stripped_input(user, "Who is sending this valentine?", "From:", null , 20)
|
||||
if(!user.canUseTopic(src, BE_CLOSE))
|
||||
return
|
||||
if(recipient && sender)
|
||||
name = "valentine - To: [recipient] From: [sender]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user