Directional Locking

This adds the ability to lock your mob towards facing either a certain
direction or a certain atom. Direction is done by shift-middleclick,
atom is done by shift-ctrl-middleclick.
This commit is contained in:
tigercat2000
2018-04-19 19:01:29 -08:00
parent 604f26f2ec
commit caccc13e82
4 changed files with 56 additions and 0 deletions
+2
View File
@@ -268,6 +268,8 @@
else
. = ..()
mob.setDir(direct)
for(var/obj/item/grab/G in mob)
if(G.state == GRAB_NECK)
mob.setDir(reverse_dir[direct])