mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
More CI for conditionals (#24050)
* yay * and thus, it was fixed * and this fix too, so that the lang server stops complaining * warrior review
This commit is contained in:
@@ -201,7 +201,7 @@ GLOBAL_LIST_EMPTY(fax_blacklist)
|
||||
if("rename") // rename the item that is currently in the fax machine
|
||||
if(copyitem)
|
||||
var/n_name = sanitize(copytext(input(usr, "What would you like to label the fax?", "Fax Labelling", copyitem.name) as text, 1, MAX_MESSAGE_LEN))
|
||||
if((copyitem && copyitem.loc == src && usr.stat == 0))
|
||||
if(copyitem && copyitem.loc == src && usr.stat == 0)
|
||||
if(istype(copyitem, /obj/item/paper))
|
||||
copyitem.name = "[(n_name ? "[n_name]" : initial(copyitem.name))]"
|
||||
copyitem.desc = "This is a paper titled '" + copyitem.name + "'."
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
|
||||
/obj/item/paper_bundle/proc/rename(mob/user)
|
||||
var/n_name = sanitize(copytext(input(user, "What would you like to label the bundle?", "Bundle Labelling", name) as text, 1, MAX_MESSAGE_LEN))
|
||||
if((loc == user && !user.stat))
|
||||
if(loc == user && !user.stat)
|
||||
name = "[(n_name ? "[n_name]" : "paper bundle")]"
|
||||
|
||||
add_fingerprint(user)
|
||||
|
||||
Reference in New Issue
Block a user