Fixes cube monkey cap runtimes (#96861)

## About The Pull Request

Closes #96842
Could've moved INITIALIZE_HINT_QDEL to the very end but then we'd still
be doing the expensive carbon initialization on monkeys about to be
deleted, better to just move the check outside into relevant code.

## Changelog
🆑
fix: Fixed cube monkey cap runtimes
/🆑
This commit is contained in:
SmArtKar
2026-07-08 19:58:51 +02:00
committed by GitHub
parent 98494113ce
commit 7e12ea8e6f
4 changed files with 24 additions and 11 deletions
@@ -658,7 +658,9 @@
else
maybe_monkey.vomit(VOMIT_CATEGORY_BLOOD)
to_chat(maybe_monkey, span_danger("You vomit out blood, making you feel grossly monkeyish."))
new /mob/living/carbon/human/species/monkey(location, TRUE)
if (LAZYLEN(SSmobs.cubemonkeys) < CONFIG_GET(number/monkeycap))
new /mob/living/carbon/human/species/monkey(location, TRUE)
/datum/chemical_reaction/angry_monkey
required_reagents = list(/datum/reagent/monkey_powder = 50, /datum/reagent/inverse/bath_salts = 10)
@@ -675,7 +677,9 @@
else
maybe_monkey.vomit(VOMIT_CATEGORY_BLOOD)
to_chat(maybe_monkey, span_danger("You vomit out blood, making you feel grossly monkeyish."))
new /mob/living/carbon/human/species/monkey/angry(location, TRUE)
if (LAZYLEN(SSmobs.cubemonkeys) < CONFIG_GET(number/monkeycap))
new /mob/living/carbon/human/species/monkey/angry(location, TRUE)
//water electrolysis
/datum/chemical_reaction/electrolysis