[semi-modular] thieving gloves (#8772)

* yeet

* goddamn fucking trailing newline

* edit: I reread the bounty

* leftover from: I reread the bounty

* *more* leftover from: I reread the bounty

* speedup

* here too

* empty commit for linter reruns

* there

* remembered the newline this time

* okay I forgot that
This commit is contained in:
Seris02
2021-11-10 04:42:28 +08:00
committed by GitHub
parent a1e5ca10d5
commit 985e677b91
8 changed files with 59 additions and 12 deletions
+9 -1
View File
@@ -1060,7 +1060,15 @@ attack_basic_mob
return !HAS_TRAIT(src, TRAIT_NODROP) && !(item_flags & ABSTRACT)
/obj/item/proc/doStrip(mob/stripper, mob/owner)
return owner.dropItemToGround(src)
//SKYRAT EDIT CHANGE BEGIN - THIEVING GLOVES - ORIGINAL: return owner.dropItemToGround(src)
if (!owner.dropItemToGround(src))
return FALSE
if (HAS_TRAIT(stripper, TRAIT_STICKY_FINGERS))
stripper.put_in_hands(src)
return TRUE
//SKYRAT EDIT END
///Does the current embedding var meet the criteria for being harmless? Namely, does it have a pain multiplier and jostle pain mult of 0? If so, return true.
/obj/item/proc/isEmbedHarmless()