From 801923228a20c6c643287362a89193f5bbfa384b Mon Sep 17 00:00:00 2001 From: Kyani <65205627+EmeraldCandy@users.noreply.github.com> Date: Sat, 7 Feb 2026 16:23:00 -0500 Subject: [PATCH] Heretic ID Fix (#31596) * id fix * Update code/modules/antagonists/heretic/knowledge/lock_lore.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> --------- Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --- .../antagonists/heretic/knowledge/lock_lore.dm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/code/modules/antagonists/heretic/knowledge/lock_lore.dm b/code/modules/antagonists/heretic/knowledge/lock_lore.dm index 65c6ee93d57..d92cb7a46d5 100644 --- a/code/modules/antagonists/heretic/knowledge/lock_lore.dm +++ b/code/modules/antagonists/heretic/knowledge/lock_lore.dm @@ -111,16 +111,13 @@ /datum/heretic_knowledge/key_ring/on_finished_recipe(mob/living/user, list/selected_atoms, turf/our_turf) if(!length(result_atoms)) return FALSE - for(var/obj/item/card/id/id in selected_atoms) - accesses += id.access for(var/result in result_atoms) - if(istype(result, /obj/item/card/id)) - var/obj/item/card/id/new_card = new result(our_turf) - new_card.access = accesses - else - new result(our_turf) - accesses = list() - return TRUE + if(!ispath(result, /obj/item/card/id/heretic)) + continue + var/obj/item/card/id/heretic/heretic_card = new result(our_turf) + for(var/obj/item/card/id/card in selected_atoms) + heretic_card.eat_card(card, user) + selected_atoms -= card /datum/heretic_knowledge/mark/lock_mark name = "Mark of Lock"