[MIRROR] usr to user up to player effects (#9552)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-01 10:31:19 -07:00
committed by GitHub
parent a7e4ef7dad
commit 0180cc74c5
297 changed files with 1866 additions and 1893 deletions

View File

@@ -54,7 +54,7 @@
if(!can_climb(user))
return
usr.visible_message(span_warning("[user] starts climbing onto \the [src]!"))
user.visible_message(span_warning("[user] starts climbing onto \the [src]!"))
LAZYDISTINCTADD(climbers, user)
if(!do_after(user,(issmall(user) ? 20 : 34)))
@@ -66,11 +66,11 @@
return
if(get_turf(user) == get_turf(src))
usr.forceMove(get_step(src, src.dir))
user.forceMove(get_step(src, src.dir))
else
usr.forceMove(get_turf(src))
user.forceMove(get_turf(src))
usr.visible_message(span_warning("[user] climbed over \the [src]!"))
user.visible_message(span_warning("[user] climbed over \the [src]!"))
LAZYREMOVE(climbers, user)
/obj/structure/ledge/can_climb(var/mob/living/user, post_climb_check=0)