Relaymove tweaks (#19489)

Made relaymoves uniform in function header and non sleepable.
Improved IPC/borg recharger, made it time constant.
Tweaked client/Move() to avoid a range(), moved a relaymove around to
fix a bug, some minor tweaks.
Fixed IPC/borg recharge station not taking the IPC/Borg in on bump.
This commit is contained in:
Fluffy
2024-06-22 15:13:29 +00:00
committed by GitHub
parent 36793514d6
commit 67030cf90e
37 changed files with 316 additions and 99 deletions
+5 -1
View File
@@ -41,7 +41,11 @@
H.take_overall_damage(5, 0, DAMAGE_FLAG_SHARP, src)
to_chat(user, SPAN_WARNING("You cut yourself while climbing into \the [src]!"))
/obj/structure/trash_pile/relaymove(mob/user)
/obj/structure/trash_pile/relaymove(mob/living/user, direction)
. = ..()
if(!.)
return
if(user.stat || user.resting) // don't care too much about use_check here, checking these will suffice
return
user.forceMove(get_turf(src))