Adds shift-middle click pointing (#7487)

* Adds shift-middle click pointing

* Borgs and buckled folk can now point

* Create Lorilili - pointing.yml
This commit is contained in:
listerla
2020-08-20 22:14:15 -04:00
committed by GitHub
parent 2b9d43908b
commit 12a6f0a647
4 changed files with 22 additions and 3 deletions

View File

@@ -46,7 +46,7 @@
//mob verbs are faster than object verbs. See above.
/mob/living/pointed(atom/A as mob|obj|turf in view())
if(src.stat || !src.canmove || src.restrained())
if(src.stat || src.restrained())
return 0
if(src.status_flags & FAKEDEATH)
return 0
@@ -200,7 +200,7 @@ default behaviour is:
/mob/living/Crossed(var/atom/movable/AM) // Transplanting this from /mob/living/carbon/human/Crossed()
if(AM == src || AM.is_incorporeal()) // We're not going to run over ourselves or ghosts
return
if(istype(AM, /mob/living/bot/mulebot))
var/mob/living/bot/mulebot/MB = AM
MB.runOver(src)