From 4a478e4067a92838c5091c090b6ce5e17d49c19e Mon Sep 17 00:00:00 2001 From: Hatterhat <31829017+Hatterhat@users.noreply.github.com> Date: Wed, 3 Dec 2025 04:27:30 -0600 Subject: [PATCH] no more non-virtual blood-drunk caches (#94023) Co-authored-by: Hatterhat --- .../bitrunning/util/virtual_megafauna.dm | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/code/modules/bitrunning/util/virtual_megafauna.dm b/code/modules/bitrunning/util/virtual_megafauna.dm index 2707db9e2e7..4daf0014197 100644 --- a/code/modules/bitrunning/util/virtual_megafauna.dm +++ b/code/modules/bitrunning/util/virtual_megafauna.dm @@ -6,8 +6,23 @@ true_spawn = FALSE + // rebuild the achievement element's arguments to remove it appropriately + if (achievement_type || score_achievement_type) + var/list/achievements = list(/datum/award/achievement/boss/boss_killer, /datum/award/score/boss_score) + if (achievement_type) + achievements += achievement_type + if (score_achievement_type) + achievements += score_achievement_type + RemoveElement(/datum/element/kill_achievement, string_list(achievements), crusher_achievement_type, /datum/memory/megafauna_slayer) + + // remove the crusher loot element's arguments also to remove it appropriately + RemoveElement(\ + /datum/element/crusher_loot,\ + trophy_type = crusher_loot,\ + guaranteed_drop = 0.6,\ + replace_all = replace_crusher_drop,\ + drop_immediately = del_on_death,\ + ) + loot.Cut() loot += /obj/structure/closet/crate/secure/bitrunning/encrypted - - crusher_loot.Cut() - crusher_loot += /obj/structure/closet/crate/secure/bitrunning/encrypted