You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!LAZYISIN(id_card.access, access_bridge)) //doesn't have this access
29
-
to_chat(user, "The access level of [id_card.registered_name]\'s card is not high enough.")
30
-
returnTRUE
31
-
32
-
var/choice= alert(user, "Would you like to (un)authorize a shortened launch time? [auth_need - authorized.len] authorization\s are still needed. Use abort to cancel all authorizations.", "Shuttle Launch", "Authorize", "Repeal", "Abort")
message_admins("[key_name_admin(user)] has authorized early shuttle launch")
41
-
log_game("[user.ckey] has authorized early shuttle launch")
42
-
to_world("<span class='notice'><b>Alert: [auth_need - authorized.len] authorizations needed until shuttle is launched early</b></span>")
43
-
else
44
-
message_admins("[key_name_admin(user)] has launched the shuttle")
45
-
log_game("[user.ckey] has launched the shuttle early")
46
-
to_world("<span class='notice'><b>Alert: Shuttle launch time shortened to 10 seconds!</b></span>")
47
-
evac_control.set_launch_time(world.time+100)
48
-
//src.authorized = null
49
-
qdel(src.authorized)
50
-
src.authorized =list( )
25
+
if(!LAZYISIN(id_card.access, access_bridge)) //doesn't have the required access
26
+
to_chat(user, "The access level of [id_card.registered_name]\'s card is not high enough.")
27
+
returnTRUE
51
28
52
-
if("Repeal")
53
-
src.authorized -= id_card.registered_name
54
-
to_world("<span class='notice'><b>Alert: [auth_need - authorized.len] authorizations needed until shuttle is launched early</b></span>")
29
+
var/choice= alert(user, "Would you like to (un)authorize a shortened launch time? [auths_needed -LAZYLEN(authorized)] authorization\s are still needed. Use abort to cancel all authorizations.", "Shuttle Launch", "Authorize", "Repeal", "Abort")
30
+
// since alert() sleeps, we need to recheck the previous SSevacuation conditions
0 commit comments