From a34de1de1b1ee651ab6ac2820339f57172a1ee32 Mon Sep 17 00:00:00 2001 From: Ediblebomb <95509996+Ediblebomb@users.noreply.github.com> Date: Fri, 13 Sep 2024 22:57:45 -0500 Subject: [PATCH] Update colonialmarines.dm --- .../colonialmarines/colonialmarines.dm | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/code/game/gamemodes/colonialmarines/colonialmarines.dm b/code/game/gamemodes/colonialmarines/colonialmarines.dm index 48628e99ff..c4216ceed9 100644 --- a/code/game/gamemodes/colonialmarines/colonialmarines.dm +++ b/code/game/gamemodes/colonialmarines/colonialmarines.dm @@ -128,7 +128,6 @@ /datum/game_mode/colonialmarines/ds_first_landed(obj/docking_port/stationary/marine_dropship) . = ..() - clear_lz_hazards() // This shouldn't normally do anything, but is here just in case /* // Assumption: Shuttle origin is its center @@ -219,29 +218,6 @@ warhead.warhead_impact(target) // This is a blocking call playsound(target, 'sound/effects/smoke.ogg', vol=50, vary=1, sound_range=75) -///Spawns miasma smoke in landing zones -/datum/game_mode/colonialmarines/proc/spawn_lz_hazards() - var/datum/cause_data/new_cause_data = create_cause_data("CN20-X miasma") - for(var/area/area in GLOB.all_areas) - if(!area.is_landing_zone) - continue - if(!is_ground_level(area.z)) - continue - for(var/turf/turf in area) - if(turf.density) - if(!istype(turf, /turf/closed/wall)) - continue - var/turf/closed/wall/wall = turf - if(wall.hull) - continue - lz_smoke += new /obj/effect/particle_effect/smoke/miasma(turf, null, new_cause_data) - -///Clears miasma smoke in landing zones -/datum/game_mode/colonialmarines/proc/clear_lz_hazards() - for(var/obj/effect/particle_effect/smoke/miasma/smoke as anything in lz_smoke) - smoke.time_to_live = rand(1, 5) - lz_smoke.Cut() - #define MONKEYS_TO_TOTAL_RATIO 1/32 /datum/game_mode/colonialmarines/proc/spawn_smallhosts() @@ -405,7 +381,6 @@ /datum/game_mode/colonialmarines/ds_first_drop(obj/docking_port/mobile/marine_dropship) addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(show_blurb_uscm)), DROPSHIP_DROP_MSG_DELAY) add_current_round_status_to_end_results("First Drop") - clear_lz_hazards() /////////////////////////// //Checks to see who won///