Can buckle people adjacent to chairs.

This commit is contained in:
LorenLuke
2017-04-13 13:43:26 -07:00
parent 43f6f48abb
commit ec87a742e4
2 changed files with 42 additions and 1 deletions
+6 -1
View File
@@ -74,7 +74,12 @@
add_fingerprint(user)
unbuckle_mob()
if(buckle_mob(M))
//can't buckle unless you share locs so try to move M to the obj.
if(M.loc != src.loc)
step_towards(M, src)
. = buckle_mob(M)
if(.)
if(M == user)
M.visible_message(\
"<span class='notice'>[M.name] buckles themselves to [src].</span>",\