From 3ab4412488f5dfbbd073a9e19cf944bb3e060c58 Mon Sep 17 00:00:00 2001 From: Razgriz Date: Thu, 19 Nov 2020 20:19:40 -0700 Subject: [PATCH] Update spider_infestation.dm --- code/modules/events/spider_infestation.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/events/spider_infestation.dm b/code/modules/events/spider_infestation.dm index 5c5f05ee68..b6242d5d0e 100644 --- a/code/modules/events/spider_infestation.dm +++ b/code/modules/events/spider_infestation.dm @@ -17,12 +17,12 @@ /datum/event/spider_infestation/start() var/list/vents = list() for(var/obj/machinery/atmospherics/unary/vent_pump/temp_vent in machines) - //CHOMPEdit: Added a couple areas to the exclusion. Also made this actually work. Also make it ugly af because apparently it doesn't like looking at subtypes so I gotta get specific? + //CHOMPEdit: Added a couple areas to the exclusion. Also made this actually work. var/in_area = get_area(temp_vent) - if(istype(in_area, /area/crew_quarters/sleep/vistor_room_1) || istype(in_area, /area/crew_quarters/sleep/vistor_room_2) || istype(in_area, /area/crew_quarters/sleep/vistor_room_3) || istype(in_area, /area/crew_quarters/sleep/vistor_room_4) || istype(in_area, /area/crew_quarters/sleep/vistor_room_5) || istype(in_area, /area/crew_quarters/sleep/vistor_room_6) || istype(in_area, /area/crew_quarters/sleep/vistor_room_7) || istype(in_area, /area/crew_quarters/sleep/vistor_room_8) || istype(in_area, /area/crew_quarters/sleep/vistor_room_9) || istype(in_area, /area/crew_quarters/sleep/vistor_room_10) || istype(in_area, /area/crew_quarters/sleep/vistor_room_11) || istype(in_area, /area/crew_quarters/sleep/vistor_room_12) || istype(in_area, /area/crew_quarters/sleep/vistor_room_13) || istype(in_area, /area/crew_quarters/sleep/vistor_room_14) || istype(in_area, /area/hallway/secondary/entry/D1) || istype(in_area, /area/hallway/secondary/entry/D2) || istype(in_area, /area/hallway/secondary/entry/D3)) + if(istype(in_area, /area/crew_quarters/sleep) || istype(in_area, /area/hallway/secondary/entry) || istype(in_area, /area/hallway/primary/seconddeck/dockhallway)) continue if(!temp_vent.welded && temp_vent.network && temp_vent.loc.z in using_map.station_levels) - if(temp_vent.network.normal_members.len > 50) + if(temp_vent.network.normal_members.len > 10) //CHOMP Edit: Most our networks are 40. SM is 4 and toxins is 2. This needed to change in order to spawn. vents += temp_vent while((spawncount >= 1) && vents.len)