mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 19:21:48 +00:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -47,13 +47,11 @@ var/prison_shuttle_timeleft = 0
|
||||
|
||||
if (src.stat & BROKEN)
|
||||
to_chat(user, "\blue The broken glass falls out.")
|
||||
|
||||
new /obj/item/trash/shard( src.loc )
|
||||
A.state = 3
|
||||
A.icon_state = "3"
|
||||
else
|
||||
to_chat(user, "\blue You disconnect the monitor.")
|
||||
|
||||
A.state = 4
|
||||
A.icon_state = "4"
|
||||
|
||||
@@ -61,7 +59,6 @@ var/prison_shuttle_timeleft = 0
|
||||
else if(istype(I,/obj/item/card/emag) && (!hacked))
|
||||
hacked = 1
|
||||
to_chat(user, "\blue You disable the lock.")
|
||||
|
||||
else
|
||||
return src.attack_hand(user)
|
||||
|
||||
@@ -69,11 +66,9 @@ var/prison_shuttle_timeleft = 0
|
||||
attack_hand(var/mob/user as mob)
|
||||
if(!src.allowed(user) && (!hacked))
|
||||
to_chat(user, "\red Access Denied.")
|
||||
|
||||
return
|
||||
if(prison_break)
|
||||
to_chat(user, "\red Unable to locate shuttle.")
|
||||
|
||||
return
|
||||
if(..())
|
||||
return
|
||||
@@ -106,12 +101,10 @@ var/prison_shuttle_timeleft = 0
|
||||
if (href_list["sendtodock"])
|
||||
if (!prison_can_move())
|
||||
to_chat(usr, "\red The prison shuttle is unable to leave.")
|
||||
|
||||
return
|
||||
if(!prison_shuttle_at_station|| prison_shuttle_moving_to_station || prison_shuttle_moving_to_prison) return
|
||||
post_signal("prison")
|
||||
to_chat(usr, "\blue The prison shuttle has been called and will arrive in [(PRISON_MOVETIME/10)] seconds.")
|
||||
|
||||
src.temp += "Shuttle sent.<BR><BR><A href='?src=\ref[src];mainmenu=1'>OK</A>"
|
||||
src.updateUsrDialog()
|
||||
prison_shuttle_moving_to_prison = 1
|
||||
@@ -122,12 +115,10 @@ var/prison_shuttle_timeleft = 0
|
||||
else if (href_list["sendtostation"])
|
||||
if (!prison_can_move())
|
||||
to_chat(usr, "\red The prison shuttle is unable to leave.")
|
||||
|
||||
return
|
||||
if(prison_shuttle_at_station || prison_shuttle_moving_to_station || prison_shuttle_moving_to_prison) return
|
||||
post_signal("prison")
|
||||
to_chat(usr, "\blue The prison shuttle has been called and will arrive in [(PRISON_MOVETIME/10)] seconds.")
|
||||
|
||||
src.temp += "Shuttle sent.<BR><BR><A href='?src=\ref[src];mainmenu=1'>OK</A>"
|
||||
src.updateUsrDialog()
|
||||
prison_shuttle_moving_to_station = 1
|
||||
@@ -196,7 +187,6 @@ var/prison_shuttle_timeleft = 0
|
||||
|
||||
if (!prison_can_move())
|
||||
to_chat(usr, "\red The prison shuttle is unable to leave.")
|
||||
|
||||
return
|
||||
|
||||
var/area/start_location = locate(/area/shuttle/prison/prison)
|
||||
@@ -226,7 +216,6 @@ var/prison_shuttle_timeleft = 0
|
||||
|
||||
if (!prison_can_move())
|
||||
to_chat(usr, "\red The prison shuttle is unable to leave.")
|
||||
|
||||
return
|
||||
|
||||
var/area/start_location = locate(/area/shuttle/prison/station)
|
||||
|
||||
Reference in New Issue
Block a user