Sticky Web pulled by Web Weaver

Characters that are being pulled by a character who has the Web Weaver quirk will not get stuck in the webs
This commit is contained in:
Alphas00
2024-05-07 14:27:49 +02:00
parent ebad4d9d4d
commit 1c4f1abeea
+3
View File
@@ -41,6 +41,9 @@
else if(isliving(mover))
if(istype(mover.pulledby, /mob/living/simple_animal/hostile/poison/giant_spider))
return TRUE
if(mover.pulledby)
if(HAS_TRAIT(mover.pulledby, TRAIT_WEB_WEAVER))
return TRUE
if(prob(50))
to_chat(mover, "<span class='danger'>You get stuck in \the [src] for a moment.</span>")
return FALSE