Traitor kill announcer (#37139)

* starts PR and adds bunch of soundfiles, will cull some if not needed

* first blood

* cuts down these sounds and uses this

* fixes

* works now

* some more sound stuff

* headshot support

* runtime fix

* not gonna use these either

* converts files finally

* forgot this

* timer hotfix

* oh, here

* makes them say it too

* Delete bunker.txt

---------

Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
This commit is contained in:
SECBATON GRIFFON
2024-10-02 18:28:12 +01:00
committed by GitHub
parent 7486a71a0c
commit a464964ef3
66 changed files with 248 additions and 0 deletions

View File

@@ -47,6 +47,8 @@ var/global/datum/emergency_shuttle/emergency_shuttle
var/extremely_hihg_speed = FALSE
var/last_second_tick = 0
// call the shuttle
// if not called before, set the endtime to T+600 seconds
// otherwise if outgoing, switch to incoming
@@ -106,6 +108,9 @@ var/global/datum/emergency_shuttle/emergency_shuttle
if(online)
var/timeleft = round((endtime - world.time)/10 ,1)
if(direction >= 0)
if(world.time - last_second_tick >= 1 SECONDS)
INVOKE_EVENT(src, /event/shuttletimer, "time" = timeleft, "direction" = direction)
last_second_tick = world.time
return timeleft
else
return SHUTTLEARRIVETIME-timeleft