mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
mobility refactor (#52929)
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
AM.forceMove(get_turf(src))
|
||||
return ..()
|
||||
|
||||
/obj/effect/dummy/phased_mob/spell_jaunt/relaymove(mob/user, direction)
|
||||
/obj/effect/dummy/phased_mob/spell_jaunt/relaymove(mob/living/user, direction)
|
||||
if ((movedelay > world.time) || reappearing || !direction)
|
||||
return
|
||||
var/turf/newLoc = get_step(src,direction)
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
invisibility = 60
|
||||
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
||||
|
||||
/obj/effect/dummy/phased_mob/shadow/relaymove(mob/user, direction)
|
||||
/obj/effect/dummy/phased_mob/shadow/relaymove(mob/living/user, direction)
|
||||
var/turf/newLoc = get_step(src,direction)
|
||||
if(isspaceturf(newLoc))
|
||||
to_chat(user, "<span class='warning'>It really would not be wise to go into space.</span>")
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
attached_hand.attached_spell = src
|
||||
if(!user.put_in_hands(attached_hand))
|
||||
remove_hand(TRUE)
|
||||
if (user.get_num_arms() <= 0)
|
||||
if (user.usable_hands == 0)
|
||||
to_chat(user, "<span class='warning'>You dont have any usable hands!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>Your hands are full!</span>")
|
||||
|
||||
Reference in New Issue
Block a user