mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -61,7 +61,6 @@
|
||||
return
|
||||
if (!(computer.z in config.station_levels))
|
||||
to_chat(usr, "\red <b>Unable to establish a connection</b>: \black You're too far away from the station!")
|
||||
|
||||
return
|
||||
|
||||
if("main" in href_list)
|
||||
@@ -105,17 +104,14 @@
|
||||
tmp_alertlevel = 0
|
||||
else:
|
||||
to_chat(usr, "You are not authorized to do this.")
|
||||
|
||||
tmp_alertlevel = 0
|
||||
state = STATE_DEFAULT
|
||||
else
|
||||
to_chat(usr, "You need to swipe your ID.")
|
||||
|
||||
if("announce" in href_list)
|
||||
if(authenticated==2)
|
||||
if(message_cooldown)
|
||||
to_chat(usr, "Please allow at least one minute to pass between announcements")
|
||||
|
||||
return
|
||||
var/input = input(usr, "Please write a message to announce to the station crew.", "Priority Announcement")
|
||||
if(!input || !interactable())
|
||||
@@ -197,14 +193,12 @@
|
||||
if(authenticated==2)
|
||||
if(centcomm_message_cooldown)
|
||||
to_chat(usr, "Arrays recycling. Please stand by.")
|
||||
|
||||
return
|
||||
var/input = stripped_input(usr, "Please choose a message to transmit to Centcomm via quantum entanglement. Please be aware that this process is very expensive, and abuse will lead to... termination. Transmission does not guarantee a response.", "To abort, send an empty message.", "")
|
||||
if(!input || !interactable())
|
||||
return
|
||||
Centcomm_announce(input, usr)
|
||||
to_chat(usr, "Message transmitted.")
|
||||
|
||||
log_say("[key_name(usr)] has made a Centcomm announcement: [input]")
|
||||
centcomm_message_cooldown = 1
|
||||
spawn(600)//10 minute cooldown
|
||||
@@ -216,14 +210,12 @@
|
||||
if((authenticated==2) && (computer.emagged))
|
||||
if(centcomm_message_cooldown)
|
||||
to_chat(usr, "Arrays recycling. Please stand by.")
|
||||
|
||||
return
|
||||
var/input = stripped_input(usr, "Please choose a message to transmit to \[ABNORMAL ROUTING CORDINATES\] via quantum entanglement. Please be aware that this process is very expensive, and abuse will lead to... termination. Transmission does not guarantee a response.", "To abort, send an empty message.", "")
|
||||
if(!input || !interactable())
|
||||
return
|
||||
Syndicate_announce(input, usr)
|
||||
to_chat(usr, "Message transmitted.")
|
||||
|
||||
log_say("[key_name(usr)] has made a Syndicate announcement: [input]")
|
||||
centcomm_message_cooldown = 1
|
||||
spawn(600)//10 minute cooldown
|
||||
@@ -231,7 +223,6 @@
|
||||
|
||||
if("RestoreBackup" in href_list)
|
||||
to_chat(usr, "Backup routing data restored!")
|
||||
|
||||
computer.emagged = 0
|
||||
computer.updateDialog()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user