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

Fighter components can be alt-clicked to unload its contents #2769

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

Conversation

someone543
Copy link
Contributor

About The Pull Request

Alt-clicking fighter components will now unload its contents

Why It's Good For The Game

There wasn't a alt-click interaction despite the examine text, so I added it.

Altclickittounloaditscontents

Testing Photographs and Procedure

Screenshots&Videos

AltClicked

Changelog

🆑
add: Alt-click fighter components to unload its contents
/:cl:

Alt-click it to unload its contents
Copy link
Contributor

@DeltaFire15 DeltaFire15 left a comment

Choose a reason for hiding this comment

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

Needs isliving() check.

Comment on lines 949 to 954
to_chat(user, "<span class='warning'>There is nothing to unload from [name]!</span>")
return
to_chat(user, "<span class='notice'>You start to unload [name]'s stored contents...</span>")
if(!do_after(user, 5 SECONDS, target=src))
return
to_chat(user, "<span class='notice>You dump [name]'s contents.</span>")
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh right also [src] instead of [name]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants