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

Create dynamically coded solution for upgrade sound and message for all Upgrade objects. #528

Closed
wants to merge 17 commits into from

Conversation

oschwa
Copy link

@oschwa oschwa commented Sep 6, 2024

Uses previously mentioned static fields for PlaySoundAction and ChatMessageAction in UpgradeManager, these are generic upgrade output to be used across Upgrade objects.

Other changes to existing code:

  • LevelData uses an additional constructor for sounds and the chat message specifically.
  • AbstractCondition uses a lombok @Getter annotation to add an action to the actions list.
  • LandLevelledUpgrade uses boolean parameters for LevelData's new constructor, removing the need for repeated code.

OwnerAli and others added 17 commits August 29, 2024 14:54
- add packet listeners to remove scoreboard score numbers
- add increment amount for resources (in case we want to have multipliers or something)
File is a corrupted .blu file.
Uncorrupted raw file from BSkyBlock.
- add conditions system with resource condition implementation to decide if a player can unlock upgrade or not
- add action system to execute actions to the factory player with remove resource implementation to remove resources from FactoryPlayer
- add sound & chat actions
- update gui item for upgrades
@oschwa oschwa closed this Sep 6, 2024
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