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

lufia2ac: add shops to the cave #2103

Merged
merged 3 commits into from
Oct 21, 2023
Merged

Conversation

el-u
Copy link
Collaborator

@el-u el-u commented Aug 12, 2023

What is this fixing or adding?

This PR adds a new, optional aspect to the Ancient Cave experience:
During their run, players can have the opportunity to purchase some additional items or spells to improve their party. If enabled, a shop will appear everytime a certain (configurable) number of floors in the dungeon has been completed. The shop inventories are generated randomly (taking into account player preference as well as a system to ensure that more expensive items can only become available deeper into the run).

For customization, 3 new options are introduced:

  • shop_interval: Determines by how many floors the shops are separated (or keeps them turned off entirely)
  • shop_inventory: Determines what's possible to be for sale. (Players can specify weights for general categories of things such as "weapon" or "spell" or even adjust the probabilities of individual items)
  • gold_modifier: Determines how much gold is dropped by enemies. This is the player's only source of income and thus controls how much money they will have available to spend in shops

How was this tested?

https://discord.com/channels/731205301247803413/1135115153315221504/1135115153315221504

If this makes graphical changes, please attach screenshots.

AP_07758176404715800194_P1_Player1_027
(Disclaimer: Actual shop inventory may vary ^^)

@ThePhar ThePhar added the is: enhancement Issues requesting new features or pull requests implementing new features. label Aug 16, 2023
@Berserker66 Berserker66 merged commit 1c4303c into ArchipelagoMW:main Oct 21, 2023
12 checks passed
@el-u el-u deleted the lufia2ac-main branch October 21, 2023 21:28
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
This PR adds a new, optional aspect to the Ancient Cave experience:
During their run, players can have the opportunity to purchase some additional items or spells to improve their party. If enabled, a shop will appear everytime a certain (configurable) number of floors in the dungeon has been completed. The shop inventories are generated randomly (taking into account player preference as well as a system to ensure that more expensive items can only become available deeper into the run).

For customization, 3 new options are introduced: 
- `shop_interval`: Determines by how many floors the shops are separated (or keeps them turned off entirely)
- `shop_inventory`: Determines what's possible to be for sale. (Players can specify weights for general categories of things such as "weapon" or "spell" or even adjust the probabilities of individual items)
- `gold_modifier`: Determines how much gold is dropped by enemies. This is the player's only source of income and thus controls how much money they will have available to spend in shops
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
This PR adds a new, optional aspect to the Ancient Cave experience:
During their run, players can have the opportunity to purchase some additional items or spells to improve their party. If enabled, a shop will appear everytime a certain (configurable) number of floors in the dungeon has been completed. The shop inventories are generated randomly (taking into account player preference as well as a system to ensure that more expensive items can only become available deeper into the run).

For customization, 3 new options are introduced: 
- `shop_interval`: Determines by how many floors the shops are separated (or keeps them turned off entirely)
- `shop_inventory`: Determines what's possible to be for sale. (Players can specify weights for general categories of things such as "weapon" or "spell" or even adjust the probabilities of individual items)
- `gold_modifier`: Determines how much gold is dropped by enemies. This is the player's only source of income and thus controls how much money they will have available to spend in shops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants