From 5899ed38fced584f2a0cf94030f00a5d99c60f27 Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Tue, 17 Apr 2012 21:02:16 +0100 Subject: [PATCH] Hides starting CentCom global announcement, uses generic command report sound instead. Extended now a command report. --- code/game/gamemodes/extended/extended.dm | 16 ++++++---------- code/game/gamemodes/game_mode.dm | 5 +++-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/code/game/gamemodes/extended/extended.dm b/code/game/gamemodes/extended/extended.dm index c5208c4dc93..2c37c1bb841 100644 --- a/code/game/gamemodes/extended/extended.dm +++ b/code/game/gamemodes/extended/extended.dm @@ -6,21 +6,17 @@ uplink_welcome = "Syndicate Uplink Console:" uplink_uses = 10 -// Enable this and the below to have command reports in extended -// var/const/waittime_l = 600 //lower bound on time before intercept arrives (in tenths of seconds) -// var/const/waittime_h = 1800 + var/const/waittime_l = 600 //lower bound on time before intercept arrives (in tenths of seconds) + var/const/waittime_h = 1800 /datum/game_mode/announce() world << "The current game mode is - Extended Role-Playing!" world << "Just have fun and role-play!" /datum/game_mode/extended/pre_setup() -// setup_sectors() -// spawn_exporation_packs() return 1 -// Enable this and the above to have command reports in extended -///datum/game_mode/extended/post_setup() -// send_intercept() -// -// ..() \ No newline at end of file +/datum/game_mode/extended/post_setup() + spawn (rand(waittime_l, waittime_h)) // To reduce extended meta. + send_intercept() + ..() \ No newline at end of file diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 4f3cdb9cf82..555229335df 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -232,11 +232,12 @@ Whitespace:Seperator;"} comm.messagetitle.Add("Cent. Com. Status Summary") comm.messagetext.Add(intercepttext) + world << sound('commandreport.ogg') - command_alert("Summary downloaded and printed out at all communications consoles.", "Enemy communication intercept. Security Level Elevated.") +/* command_alert("Summary downloaded and printed out at all communications consoles.", "Enemy communication intercept. Security Level Elevated.") world << sound('intercept.ogg') if(security_level < SEC_LEVEL_BLUE) - set_security_level(SEC_LEVEL_BLUE) + set_security_level(SEC_LEVEL_BLUE)*/ /datum/game_mode/proc/get_players_for_role(var/role, override_jobbans=1)