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>
This commit is contained in:
Kyani
2026-02-07 21:23:00 +00:00
committed by GitHub
co-authored by DGamerL
parent 7eee17f7a1
commit 801923228a
@@ -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"