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
@@ -19,12 +19,11 @@
cult_team = null
return ..()
/obj/structure/destructible/cult/Initialize(mapload)
/obj/structure/destructible/cult/on_craft_completion(list/components, datum/crafting_recipe/current_recipe, atom/crafter)
. = ..()
RegisterSignal(src, COMSIG_ATOM_CONSTRUCTED, PROC_REF(on_constructed))
/obj/structure/destructible/cult/proc/on_constructed(datum/source, mob/builder)
SIGNAL_HANDLER
if(!ismob(crafter))
return
var/mob/living/builder = crafter
var/datum/antagonist/cult/cultist = builder.mind?.has_antag_datum(/datum/antagonist/cult, TRUE)
cult_team = cultist?.get_team()