Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes Dogtags removable on death immediately #514

Merged
merged 8 commits into from
Oct 24, 2024
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/human_stripping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ GLOBAL_LIST_INIT(strippable_human_items, create_strippable_list(list(
var/mob/living/carbon/human/sourcemob = source
if (!istype(tag))
return
if (!sourcemob.undefibbable && (!skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED) || sourcemob.stat != DEAD))
if (!skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED) || sourcemob.stat != DEAD)
GriffinMan4455 marked this conversation as resolved.
Show resolved Hide resolved
return
return tag.dogtag_taken ? null : "retrieve_tag"

Expand All @@ -224,7 +224,7 @@ GLOBAL_LIST_INIT(strippable_human_items, create_strippable_list(list(
return
if(!istype(sourcemob.wear_id, /obj/item/card/id/dogtag))
return
if (!sourcemob.undefibbable && !skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED))
if ( skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED))
return
GriffinMan4455 marked this conversation as resolved.
Show resolved Hide resolved
var/obj/item/card/id/dogtag/tag = sourcemob.wear_id
if(tag.dogtag_taken)
Expand Down
Loading