Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes roundstart announcements #81

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions code/datums/emergency_calls/emergency_call.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
var/datum/emergency_call/picked_calls[] = list() //Which distress calls are currently active
var/ert_dispatched = FALSE

/datum/game_mode/proc/ares_online()
Copy link
Member

@morrowwolf morrowwolf Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just override these functions on the ai gamemode please, leave everything else so we can avoid conflicts.

This and the map announcement.

var/name = "ARES Online"
var/input = "ARES. Online. Good morning, marines."
shipwide_ai_announcement(input, name, 'sound/AI/ares_online.ogg')

/datum/game_mode/proc/request_ert(user, ares = FALSE)
if(!user)
return FALSE
Expand Down
9 changes: 0 additions & 9 deletions code/datums/map_config.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
var/allow_custom_shuttles = TRUE
var/shuttles = list()

var/announce_text = ""
var/infection_announce_text = ""

var/squads_max_num = 4

var/weather_holder
Expand Down Expand Up @@ -339,12 +336,6 @@
if(json["vote_cycle"])
vote_cycle = json["vote_cycle"]

if(json["announce_text"])
announce_text = json["announce_text"]

if(json["infection_announce_text"])
infection_announce_text = json["infection_announce_text"]

if(json["weather_holder"])
weather_holder = text2path(json["weather_holder"])
if(!weather_holder)
Expand Down
8 changes: 0 additions & 8 deletions code/game/gamemodes/colonialmarines/colonialmarines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@
if(SSmapping.configs[GROUND_MAP].environment_traits[ZTRAIT_BASIC_RT])
flags_round_type |= MODE_BASIC_RT

addtimer(CALLBACK(src, PROC_REF(ares_online)), 5 SECONDS)
addtimer(CALLBACK(src, PROC_REF(map_announcement)), 20 SECONDS)

return ..()

#define MONKEYS_TO_TOTAL_RATIO 1/32
Expand All @@ -141,11 +138,6 @@
var/monkey_to_spawn = pick(monkey_types)
new monkey_to_spawn(T)

/datum/game_mode/colonialmarines/proc/map_announcement()
if(SSmapping.configs[GROUND_MAP].announce_text)
var/rendered_announce_text = replacetext(SSmapping.configs[GROUND_MAP].announce_text, "###SHIPNAME###", MAIN_SHIP_NAME)
marine_announcement(rendered_announce_text, "[MAIN_SHIP_NAME]")

/datum/game_mode/colonialmarines/proc/ares_conclude()
ai_silent_announcement("Bioscan complete. No unknown lifeform signature detected.", ".V")
ai_silent_announcement("Saving operational report to archive.", ".V")
Expand Down
11 changes: 0 additions & 11 deletions code/game/gamemodes/extended/infection.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,8 @@
initialize_post_marine_gear_list()
for(var/mob/new_player/np in GLOB.new_player_list)
np.new_player_panel_proc()

addtimer(CALLBACK(src, PROC_REF(ares_online)), 5 SECONDS)
addtimer(CALLBACK(src, PROC_REF(map_announcement)), 20 SECONDS)
return ..()

/datum/game_mode/infection/proc/map_announcement()
if(SSmapping.configs[GROUND_MAP].infection_announce_text)
var/rendered_announce_text = replacetext(SSmapping.configs[GROUND_MAP].infection_announce_text, "###SHIPNAME###", MAIN_SHIP_NAME)
marine_announcement(rendered_announce_text, "[MAIN_SHIP_NAME]")
else if(SSmapping.configs[GROUND_MAP].announce_text) //if we missed a infection text for above, or just don't need a special one, we just use default announcement
var/rendered_announce_text = replacetext(SSmapping.configs[GROUND_MAP].announce_text, "###SHIPNAME###", MAIN_SHIP_NAME)
marine_announcement(rendered_announce_text, "[MAIN_SHIP_NAME]")

/datum/game_mode/infection/proc/initialize_post_survivor_list()
if(synth_survivor)
transform_survivor(synth_survivor, TRUE)
Expand Down
1 change: 0 additions & 1 deletion maps/bigredv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
0.0
],
"map_item_type": "/obj/item/map/big_red_map",
"announce_text": "We've lost contact with Weyland-Yutani's research facility, Solaris Ridge. The ###SHIPNAME### has been dispatched to assist.",
"monkey_types": [
"neaera"
],
Expand Down
1 change: 0 additions & 1 deletion maps/corsat.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
],
"survivor_message": "You are a survivor of the containment breach on the Corporate Orbital Research Station for Advanced Technology (CORSAT). You worked or lived on the station, and managed to avoid the alien attacks... until now.",
"map_item_type": "/obj/item/map/corsat",
"announce_text": "An automated distress signal has been received from Weyland-Yutani's Corporate Orbital Research Station for Advanced Technology, or CORSAT. The ###SHIPNAME### has been dispatched to investigate.",
"monkey_types": [
"yiren",
"farwa",
Expand Down
1 change: 0 additions & 1 deletion maps/derelict_almayer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"map_file": "derelict_almayer.dmm",
"webmap_url": "Almayer",
"map_item_type": "/obj/item/map/almayer",
"announce_text": "An automated distress signal has been received from the \"USS Almayer\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"traits": [{ "Ground": true }],
"nightmare_path": "maps/Nightmare/maps/derelict_almayer/",
"camouflage": "classic",
Expand Down
1 change: 0 additions & 1 deletion maps/desert_dam.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
0.0
],
"map_item_type": "/obj/item/map/desert_dam",
"announce_text": "We've lost contact with Weyland-Yutani's extra-solar colony, \"Trijent Dam\", on the planet \"Raijin.\" The ###SHIPNAME### has been dispatched to assist.",
"monkey_types": [
"stok"
],
Expand Down
1 change: 0 additions & 1 deletion maps/fiorina_sciannex.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
],
"survivor_message": "You are a survivor of the attack on Fiorina Orbital Penitentiary. You worked or lived on the prison station, and managed to avoid the alien attacks... until now.",
"map_item_type": "/obj/item/map/FOP_map_v3",
"announce_text": "An automated distress signal has been received from maximum-security prison \"Fiorina Orbital Penitentiary\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"traits": [{ "Ground": true }],
"nightmare_path": "maps/Nightmare/maps/FOP_v3_Sciannex/",
"xvx_hives": {
Expand Down
1 change: 0 additions & 1 deletion maps/ice_colony_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
],
"survivor_message": "You are a survivor of the attack on the ice habitat. You worked or lived on the colony, and managed to avoid the alien attacks... until now.",
"map_item_type": "/obj/item/map/ice_colony_map",
"announce_text": "An automated distress signal has been received from archaeology site \"Shiva's Snowball\", on border ice world \"Ifrit\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"monkey_types": [
"yiren"
],
Expand Down
1 change: 0 additions & 1 deletion maps/kutjevo.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
0.0
],
"map_item_type": "/obj/item/map/kutjevo_map",
"announce_text": "An automated distress signal has been received from Weyland-Yutani colony Kutjevo Refinery, known for botanical research, export, and raw materials processing and refinement. The ###SHIPNAME### has been dispatched to investigate.",
"monkey_types": [
"neaera",
"stok"
Expand Down
1 change: 0 additions & 1 deletion maps/lv522_chances_claim.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
0.0
],
"survivor_message": "You are USCM Force Reconnaissance (FORECON) marine from the USS Hanyut, stranded on this planet after your team was wiped out while investigating the distress signal. With your pilot dead along with the majority of your unit, you and your team have been running and gunning to survive... but with supplies low and food running out maybe your only means of survival is to move west to the crashed dropship to salvage anything useful.",
"announce_text": "Pan-Pan. This is the commanding officer of the USS Hanyut, USCMC FORECON. We are currently grounded on planet LV-522 in the immediate area of Chance's Claim. We are unable to contact the Hanyut and our dropships are unable to take off at this time. We are requesting assistance from any nearby vessels; this broadcast is set to repeat every 24 hours.",
"map_item_type": "/obj/item/map/lv522_map",
"monkey_types": [
"neaera",
Expand Down
1 change: 0 additions & 1 deletion maps/lv624.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"/datum/equipment_preset/survivor/civilian"
],
"map_item_type": "/obj/item/map/lazarus_landing_map",
"announce_text": "An automated distress signal has been received from archaeology site Lazarus Landing, on border world LV-624. A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"monkey_types": [
"farwa",
"monkey",
Expand Down
1 change: 0 additions & 1 deletion maps/new_varadero.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
],
"survivor_message": "You are an employee for the United Americas on the island outpost of New Varadero. A newfound discovery has unleashed unspeakable horrors. Do everything you can to survive.",
"map_item_type": "/obj/item/map/new_varadero",
"announce_text": "An automated distress signal has been received from UA Outpost New Varadero. A response team from the ###SHIPNAME### will be dispatched shortly to investigate.\nDesignation: Island research station and mining facility\n\nPopulation: 47\nCurrent Temperature: 68F Interior, 97F Exterior\nOutpost Commander: UA Rep. Steve Haifisch\nTelecommunications Array: Repairs required\n\nNo further information available at this time.",
"monkey_types": [
"monkey"
],
Expand Down
1 change: 0 additions & 1 deletion maps/override_ground.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"/datum/equipment_preset/survivor/goon"
],
"map_item_type": "/obj/item/map/big_red_map",
"announce_text": "We've lost contact with a Weyland-Yutani's research facility. The ###SHIPNAME### has been dispatched to assist.",
"monkey_types": [
"neaera"
],
Expand Down
1 change: 0 additions & 1 deletion maps/prison_station_fop.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
],
"survivor_message": "You are a survivor of the attack on Fiorina Orbital Penitentiary. You worked or lived on the prison station, and managed to avoid the alien attacks... until now.",
"map_item_type": "/obj/item/map/FOP_map",
"announce_text": "An automated distress signal has been received from maximum-security prison \"Fiorina Orbital Penitentiary\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"environment_traits": { "Lockdown": true },
"traits": [{ "Ground": true }],
"nightmare_path": "maps/Nightmare/maps/FOP_v2_Cellblocks/",
Expand Down
1 change: 0 additions & 1 deletion maps/shivas_snowball.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
],
"survivor_message": "You are a survivor of the attack on the ice habitat. You worked or lived on the colony, and managed to avoid the alien attacks... until now.",
"map_item_type": "/obj/item/map/ice_colony_map",
"announce_text": "An automated distress signal has been received from archaeology site \"Shiva's Snowball\", on border ice world \"Ifrit\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"monkey_types": [
"yiren"
],
Expand Down
1 change: 0 additions & 1 deletion maps/sorokyne_strata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
0.0
],
"map_item_type": "/obj/item/map/sorokyne_map",
"announce_text": "An automated distress signal has been recieved from a mining colony on border world LV-976, \"Sorokyne Outpost\". A response team from the ###SHIPNAME### will be dispatched shortly to investigate.",
"monkey_types": [
"yiren"
],
Expand Down