-
-
Notifications
You must be signed in to change notification settings - Fork 444
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dragging through firelocks #7418
Conversation
Yes finally speedmerge THIS IS WHAT IS NEEDED the answer to our prayers all hail #7418 |
for(var/mob/living/M in T1) | ||
if(M.stat == CONSCIOUS && M.pulling && M.pulling.loc == T2) | ||
to_chat(M, "<span class='notice'>You pull [M.pulling] through [src] right as it closes</span>") | ||
M.pulling.forceMove(T1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoa whoa whoa, ripping people from chairs as the firelock closes?
M.pulling.forceMove(T1) | |
M.pulling.Move_Pulled(T1) |
for(var/mob/living/M in T2) | ||
if(M.stat == CONSCIOUS && M.pulling && M.pulling.loc == T1) | ||
to_chat(M, "<span class='notice'>You pull [M.pulling] through [src] right as it closes</span>") | ||
M.pulling.forceMove(T2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
M.pulling.forceMove(T2) | |
M.pulling.Move_Pulled(T2) |
s p e e d m e r g e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure the pullers move_force is stronger than the pulled move_resist
馃啈 monster860
tweak: When an edge firelock closes, if it closes between someone and something they're dragging it automatically pulls the thing they're dragging through.
/:cl: