From 569d7aac6f88aa4a3d8787c6a4a64f2d067c0853 Mon Sep 17 00:00:00 2001 From: Putnam Date: Sun, 29 Mar 2020 06:52:21 -0700 Subject: [PATCH 1/2] Removes integrity sabotage --- code/game/gamemodes/objective_sabotage.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/objective_sabotage.dm b/code/game/gamemodes/objective_sabotage.dm index 3cc5bc4aa8..5e9ec85ff1 100644 --- a/code/game/gamemodes/objective_sabotage.dm +++ b/code/game/gamemodes/objective_sabotage.dm @@ -77,14 +77,14 @@ /datum/sabotage_objective/processing/supermatter/can_run() return (locate(/obj/machinery/power/supermatter_crystal) in GLOB.machines) - +/* /datum/sabotage_objective/station_integrity name = "Make sure the station is at less than 80% integrity by the end. Smash walls, windows etc. to reach this goal." sabotage_type = "integrity" /datum/sabotage_objective/station_integrity/check_conditions() return 5-(max(SSticker.station_integrity*4,320)/80) - +*/ /datum/sabotage_objective/cloner name = "Destroy all Nanotrasen cloning machines." sabotage_type = "cloner" From 32b8af693df78f5e00fb1d781236b803e31b2af2 Mon Sep 17 00:00:00 2001 From: Putnam Date: Sun, 29 Mar 2020 06:52:44 -0700 Subject: [PATCH 2/2] Makes AI-hacked-law sabotage only run if there's AI --- code/game/gamemodes/objective_sabotage.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/gamemodes/objective_sabotage.dm b/code/game/gamemodes/objective_sabotage.dm index 5e9ec85ff1..d2cdd2e029 100644 --- a/code/game/gamemodes/objective_sabotage.dm +++ b/code/game/gamemodes/objective_sabotage.dm @@ -98,6 +98,9 @@ special_equipment = list(/obj/item/aiModule/syndicate) excludefromjob = list("Chief Engineer","Research Director","Head of Personnel","Captain","Chief Medical Officer","Head Of Security") +/datum/sabotage_objective/ai_law/can_run() + return length(active_ais()) + /datum/sabotage_objective/ai_law/check_conditions() for (var/i in GLOB.ai_list) var/mob/living/silicon/ai/aiPlayer = i