mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
Merge branch 'master' of https://github.com/Yawn-Wider/YWPolarisVore into July2020UpstreamPull
This commit is contained in:
@@ -146,16 +146,16 @@
|
||||
|
||||
if (dna_hash in authorized)
|
||||
src.visible_message("\The [src] buzzes. That ID has already been scanned.")
|
||||
playsound(src.loc, 'sound/machines/buzz-sigh.ogg', 50, 0)
|
||||
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, 0)
|
||||
return 0
|
||||
|
||||
if (!(access_heads in access))
|
||||
src.visible_message("\The [src] buzzes, rejecting [ident].")
|
||||
playsound(src.loc, 'sound/machines/deniedbeep.ogg', 50, 0)
|
||||
playsound(src, 'sound/machines/deniedbeep.ogg', 50, 0)
|
||||
return 0
|
||||
|
||||
src.visible_message("\The [src] beeps as it scans [ident].")
|
||||
playsound(src.loc, 'sound/machines/twobeep.ogg', 50, 0)
|
||||
playsound(src, 'sound/machines/twobeep.ogg', 50, 0)
|
||||
authorized[dna_hash] = auth_name
|
||||
if (req_authorizations - authorized.len)
|
||||
to_chat(world, "<span class='notice'><b>Alert: [req_authorizations - authorized.len] authorization\s needed to override the shuttle autopilot.</b></span>") //TODO- Belsima, make this an announcement instead of magic.
|
||||
|
||||
Reference in New Issue
Block a user