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

Progress bars #1919

Merged
merged 1 commit into from Sep 1, 2015
Merged

Conversation

tigercat2000
Copy link
Contributor

tgstation/tgstation#9921
@Iamgoofball

Progress bars!
thanks goof
This commit does the following:

  • Ports progress bars from -tg-
    • Clientside progress indicators for do_after
    • Fancy
  • Refactors wall attackby code to make it 100% less insane; Instead of
    manually checking every little thing, it uses do_after,
    consequentially, making the new progress bars affect dealing with walls
    as well.

For coders: Do_mob and Do_after have been entirely replaced by -tg-'s versions, which are slightly different. Also, whoever ported revenants, passing too many arguments to a proc should really runtime.

Most notably, do_after now requires a named variable to be specified, target, which determines where the progress bar will show up. It also requires that the target does not change it's location at any point during the do_after.

This commit does the following:
 - Ports progress bars from -tg- (tgstation/tgstation#9921)
 - Refactors wall attackby code to make it 100% less insane; Instead of
   manually checking every little thing, it uses do_after,
   consequentially, making the new progress bars affect dealing with walls
   as well.

Wall code makes a tiger sad.
@TheDZD TheDZD added Feature This PR is a new addition to the game Usability This issue affects usability User Interface This PR modifies a user interface in the game labels Aug 31, 2015
@TheDZD
Copy link
Contributor

TheDZD commented Aug 31, 2015

Someone remind me to add the progress bar to the lightning bolt spell as per tgstation/tgstation#10578/ once this goes through.

EDIT: Cannot +1 enough.

@Fox-McCloud
Copy link
Member

Yay. 👍 (even if the colons make me scream).

Glad to finally see this show up.

@mvanalphen
Copy link
Contributor

👍

1 similar comment
@Alex6511
Copy link
Contributor

👍

@KasparoVy
Copy link
Contributor

Hell yeah 👍

@Dumbdumn5
Copy link

👍

1 similar comment
@Razoozle
Copy link
Contributor

👍

Fox-McCloud added a commit that referenced this pull request Sep 1, 2015
@Fox-McCloud Fox-McCloud merged commit 9695509 into ParadiseSS13:master Sep 1, 2015
@tigercat2000 tigercat2000 deleted the funlittletgthings branch September 1, 2015 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature This PR is a new addition to the game Usability This issue affects usability User Interface This PR modifies a user interface in the game
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants