From f51ac8e588e91164cddeb8cc81686ea6ea7d5862 Mon Sep 17 00:00:00 2001 From: ReturnToZender Date: Tue, 7 Nov 2023 11:49:45 -0600 Subject: [PATCH] [Not Modular] Drifting contractor adjustments (#667) ## About The Pull Request Removes the duplicate contractor event, and makes it so there can only be one contractor spawn at a time. ## Why It's Good For The Game Contractors are easily able to fight off the entire security team, especially when left to fester. This removes the duplicate event so spawns can actually be controlled via config, and makes it so only one contractor can spawn at a given time. ## Changelog :cl: del: extra contractors /:cl: --------- Co-authored-by: StrangeWeirdKitten <95130227+StrangeWeirdKitten@users.noreply.github.com> --- .../modules/contractor/code/datums/midround/event.dm | 4 ++-- .../modules/contractor/code/datums/midround/ruleset.dm | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modular_skyrat/modules/contractor/code/datums/midround/event.dm b/modular_skyrat/modules/contractor/code/datums/midround/event.dm index d90a2b90dff..24ac9c1e21c 100644 --- a/modular_skyrat/modules/contractor/code/datums/midround/event.dm +++ b/modular_skyrat/modules/contractor/code/datums/midround/event.dm @@ -1,4 +1,4 @@ -/datum/round_event_control/contractor +/*/datum/round_event_control/contractor name = "Drifting Contractor" typepath = /datum/round_event/ghost_role/contractor weight = 8 @@ -37,4 +37,4 @@ message_admins("[ADMIN_LOOKUPFLW(operative)] has been made into [src] by an event.") log_game("[key_name(operative)] was spawned as a [src] by an event.") spawned_mobs += operative - return SUCCESSFUL_SPAWN + return SUCCESSFUL_SPAWN*/ //BUBBER EDIT: REMOVES THE EXTRA CONTRACTOR EVENT diff --git a/modular_skyrat/modules/contractor/code/datums/midround/ruleset.dm b/modular_skyrat/modules/contractor/code/datums/midround/ruleset.dm index d5ae8c7b59c..4ba0478cda9 100644 --- a/modular_skyrat/modules/contractor/code/datums/midround/ruleset.dm +++ b/modular_skyrat/modules/contractor/code/datums/midround/ruleset.dm @@ -20,8 +20,10 @@ var/list/spawn_locs = list() /datum/dynamic_ruleset/midround/from_ghosts/contractor/ready(forced = FALSE) - if(prob(33)) - required_candidates++ + //BUBBER EDIT: LESS CONTRACTORS + //if(prob(33)) + // required_candidates++ + //BUBBER EDIT: LESS CONTRACTORS if (required_candidates > (length(dead_players) + length(list_observers))) return FALSE for(var/obj/effect/landmark/carpspawn/carp in GLOB.landmarks_list)