Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spiderbots can pilot Exosuits again #19415

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ben10083
Copy link
Contributor

@Ben10083 Ben10083 commented Jun 10, 2024

Spiderbots were blocked from piloting exosuits inadvertently. This restores that functionality and adds a new trait so it can easily be done for other mobs

@BotBOREALIS BotBOREALIS added Review Required Bugfix The PR is fixing an issue and requires less reviews and time to be ready for merging. labels Jun 10, 2024
@@ -1,7 +1,7 @@
/mob/living/MouseDrop(atom/over)
if(usr == src && usr != over)
if(istype(over, /mob/living/heavy_vehicle))
if(usr.mob_size >= MOB_SMALL && usr.mob_size <= 14)
if((usr.mob_size >= MOB_SMALL && usr.mob_size <= 14) || HAS_TRAIT(usr, TRAIT_MECH_PILOT))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if you use the trait, use only the trait; assign to relevant mobs the mech_pilot trait and remove the mob size check

@NonQueueingMatt NonQueueingMatt added the Changes Required The PR requires changes before it can be approved and/or merged. label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix The PR is fixing an issue and requires less reviews and time to be ready for merging. Changes Required The PR requires changes before it can be approved and/or merged. Review Required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants