[s]Fixes writing bugs/exploits
This commit is contained in:
committed by
CitadelStationBot
parent
1cda9ef2b4
commit
98bbfb8709
@@ -197,8 +197,13 @@
|
||||
to_chat(user, "<span class='notice'>[src] already has a bomb in it!</span>")
|
||||
else if(istype(I, /obj/item/pen))
|
||||
if(!open)
|
||||
if(!user.is_literate())
|
||||
to_chat(user, "<span class='notice'>You scribble illegibly on [src]!</span>")
|
||||
return
|
||||
var/obj/item/pizzabox/box = boxes.len ? boxes[boxes.len] : src
|
||||
box.boxtag += stripped_input(user, "Write on [box]'s tag:", box, "", 30)
|
||||
if(!user.canUseTopic(src, BE_CLOSE))
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You write with [I] on [src].</span>")
|
||||
update_icon()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user