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:
PollardTheDragon
2024-06-03 01:49:13 +00:00
committed by GitHub
co-authored by 1080pCat DGamerL Matt
parent ba8e082a5d
commit 9be5423b76
4 changed files with 47 additions and 4 deletions
+2
View File
@@ -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 ..()