mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
No verbose cantouch check when not climbable
This commit is contained in:
@@ -56,7 +56,8 @@
|
|||||||
user << "<span class='warning'>You can't buckle anyone in before the game starts.</span>"
|
user << "<span class='warning'>You can't buckle anyone in before the game starts.</span>"
|
||||||
if(!user.Adjacent(M) || user.restrained() || user.lying || user.stat || istype(user, /mob/living/silicon/pai))
|
if(!user.Adjacent(M) || user.restrained() || user.lying || user.stat || istype(user, /mob/living/silicon/pai))
|
||||||
return
|
return
|
||||||
|
if(M == buckled_mob)
|
||||||
|
return
|
||||||
if(istype(M, /mob/living/carbon/slime))
|
if(istype(M, /mob/living/carbon/slime))
|
||||||
user << "<span class='warning'>The [M] is too squishy to buckle in.</span>"
|
user << "<span class='warning'>The [M] is too squishy to buckle in.</span>"
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/structure/proc/can_climb(var/mob/living/user, post_climb_check=0)
|
/obj/structure/proc/can_climb(var/mob/living/user, post_climb_check=0)
|
||||||
if (!can_touch(user) || !climbable || (!post_climb_check && (user in climbers)))
|
if (!climbable || !can_touch(user) || (!post_climb_check && (user in climbers)))
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
if (!user.Adjacent(src))
|
if (!user.Adjacent(src))
|
||||||
|
|||||||
Reference in New Issue
Block a user