Sensors can now be printed, removed and installed on jumpsuits. HANDCRAFTED jumpsuits no longer have sensors by default (also mild crafting refactor) (#93121)

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
Ghom
2025-10-18 11:43:38 +02:00
committed by GitHub
co-authored by ArcaneMusic
parent 45d7078120
commit e5be2d0f91
22 changed files with 296 additions and 79 deletions
@@ -157,6 +157,21 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
/mob/living/carbon/human/consistent/domutcheck()
return // We skipped adding any mutations so this runtimes
/mob/living/carbon/human/consistent/slow
#ifdef UNIT_TESTS
//unit test dummies should be very fast with actions
/mob/living/carbon/human/dummy/consistent/initialize_actionspeed()
add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/base, multiplicative_slowdown = -1)
/mob/living/carbon/human/consistent/initialize_actionspeed()
add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/base, multiplicative_slowdown = -1)
//this one gives us a small window of time for checks on asynced actions.
/mob/living/carbon/human/consistent/slow/initialize_actionspeed()
add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/base, multiplicative_slowdown = 0.1)
#endif
//Inefficient pooling/caching way.
GLOBAL_LIST_EMPTY(human_dummy_list)
GLOBAL_LIST_EMPTY(dummy_mob_list)