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

feat: add DropAction #1656

Merged
merged 7 commits into from May 17, 2022
Merged

feat: add DropAction #1656

merged 7 commits into from May 17, 2022

Conversation

dionizh
Copy link
Contributor

@dionizh dionizh commented May 13, 2022

This change is Reviewable

@dionizh dionizh assigned dionizh and unassigned dionizh May 13, 2022
Copy link
Member

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewed 10 of 11 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @dionizh)


aimmo-game/simulation/action.py line 106 at r2 (raw file):

        self.avatar.add_event(FailedDropEvent())
        self.avatar.clear_action()
        self.avatar.logs.append("Uh oh! Your avatar was unable to drop the artefact on that position!")

Could this say "at that position"? the "on" confused me for a bit


aimmo-game-worker/simulation/world_map.py line 13 at r2 (raw file):

SCAN_LIMIT = 3
SCAN_RADIUS = 12
ARTEFACT_TYPES = ["chest", "key", "yellow_orb", "phone", "keyboard", "coins"]

How come I'm seeing changes linked to artefacts in this PR?

Copy link
Member

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @dionizh)

a discussion (no related file):
I know we discussed this before in a meeting but what's the feedback when the user drops an artefact? Does anything happen on screen? Do logs show in the console saying they've dropped something?


Copy link
Collaborator

@razvan-pro razvan-pro left a comment

Choose a reason for hiding this comment

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

Reviewed 10 of 11 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @dionizh and @faucomte97)

a discussion (no related file):

Previously, faucomte97 (Florian Aucomte) wrote…

I know we discussed this before in a meeting but what's the feedback when the user drops an artefact? Does anything happen on screen? Do logs show in the console saying they've dropped something?

Oh, good question - it should probably show something in logs? I remember we discussed not to show it on the map, so they should have some other feedback.


Copy link
Contributor Author

@dionizh dionizh left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @faucomte97)

a discussion (no related file):

Previously, razvan-pro (Razvan Mahu) wrote…

Oh, good question - it should probably show something in logs? I remember we discussed not to show it on the map, so they should have some other feedback.

Added log!



aimmo-game/simulation/action.py line 106 at r2 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

Could this say "at that position"? the "on" confused me for a bit

Done. (I was thinking on the square at first, but changed the last bit, and forgot to change the on.)


aimmo-game-worker/simulation/world_map.py line 13 at r2 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

How come I'm seeing changes linked to artefacts in this PR?

Yeah forgot the coins before!

Copy link
Member

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dionizh)

Copy link
Member

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dionizh)

@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

❗ No coverage uploaded for pull request base (worksheet4@1e59903). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             worksheet4    #1656   +/-   ##
=============================================
  Coverage              ?   68.00%           
=============================================
  Files                 ?      165           
  Lines                 ?     3376           
  Branches              ?      283           
=============================================
  Hits                  ?     2296           
  Misses                ?     1053           
  Partials              ?       27           

@dionizh dionizh merged commit ede244b into worksheet4 May 17, 2022
@dionizh dionizh deleted the drop branch May 17, 2022 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants