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

Adding Additional Tricks #76

Merged
merged 4 commits into from
Mar 11, 2022
Merged

Adding Additional Tricks #76

merged 4 commits into from
Mar 11, 2022

Conversation

MattEqualsCoder
Copy link
Collaborator

Added a few simple to implement tricks

  • Mockball
  • Sword Only Dark Rooms
  • Light World South Fake Flippers

- Mockball
- Sword Only Dark Rooms
- Light World South Fake Flippers
@MattEqualsCoder
Copy link
Collaborator Author

I updated the version number as discussed in the other PR. Wasn't sure if you meant updating to 3.5.0 or 4.0.0, so I did this for now. Feel free to update (or tell me to update) if you'd prefer 4.0.0.

@Vivelin
Copy link
Member

Vivelin commented Mar 11, 2022

4.0 is probably fine considering the amount of technically breaking updates we've done.

Vivelin
Vivelin previously approved these changes Mar 11, 2022
@@ -55,5 +55,11 @@ public interface ILogic
public bool CanPassFireRodDarkRooms(Progression items);

public bool CanParlorSpeedBoost(Progression items);

public bool CanPassMockBallRoom(Progression items);
Copy link
Member

Choose a reason for hiding this comment

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

Nitpicking, but I feel like the logic shouldn't be named after the trick if it can return true when you have the trick disabled.

One solution would be to rename this to CanPerformMockball and adding || items.SpeedBooster to everything, but I think I'd prefer this to be called something sillier like CanMoveAtHighSpeeds or something more elegant.

Copy link
Collaborator Author

@MattEqualsCoder MattEqualsCoder Mar 11, 2022

Choose a reason for hiding this comment

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

Hmm... I must have misunderstood your previous suggestion from one of the previous PRs, I suppose. I'll make these updates and update to 4.0.


public bool CanPassSwordOnlyDarkRoom(Progression items);

public bool CanHyruleSouthFakeFlippers(Progression items, bool fairyChests);
Copy link
Member

Choose a reason for hiding this comment

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

Same as above. In this case I think it makes more sense to move items.Flippers out of this method, but if you have a better suggestion for the name to avoid that then that's fine too. I just want this to be clear at a glance when looking at some regions without having to check the definition of these methods.

@@ -19,6 +19,15 @@ public class LogicConfig
[DisplayName("Parlor Speed Booster Break In"), Description("You're expected to be able to use the speed booster to burst through to the Terminator Room/Brinstar without morph/power bombs or screw attack"), Category("Tricks")]
public bool ParlorSpeedBooster { get; set; }

[DisplayName("Mockball"), Description("You're expected to be able to be able to use to mockball to avoid having the speed booster at the entrance to Green Brinstar and Upper Norfair West"), Category("Tricks")]
Copy link
Member

Choose a reason for hiding this comment

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

"to be able to be able"

- Updated trick function names
- Updated version to 4.0.0
@MattEqualsCoder
Copy link
Collaborator Author

Updates made

@MattEqualsCoder MattEqualsCoder merged commit 2bd6096 into main Mar 11, 2022
@MattEqualsCoder MattEqualsCoder deleted the additional-tricks branch March 11, 2022 13:32
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.

2 participants