mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Exosuit QOL: Action Buttons (#25131)
* Mech Buttons * Added "Please Make A Bug Report" Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> * Action fix * Removed duplicate mecha define * Corrected new() syntax Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> * Removed extraneous proc * Better boolean in playsound Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com> Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> * Update code/modules/tgui/states.dm Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
co-authored by
1080pCat
DGamerL
Matt
parent
ba8e082a5d
commit
9be5423b76
@@ -128,4 +128,6 @@
|
||||
/mob/living/carbon/human/shared_living_ui_distance(atom/movable/src_object, viewcheck)
|
||||
if(HAS_TRAIT(src, TRAIT_TELEKINESIS) && (get_dist(src, src_object) <= 2))
|
||||
return UI_INTERACTIVE
|
||||
if(ismecha(loc) && get_dist(loc, src_object) <= 1)
|
||||
return UI_INTERACTIVE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user