Avorion

Avorion

Not enough ratings
Shop Restock Revamped
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
1.003 MB
20 Oct, 2024 @ 6:24pm
1 Change Note ( view )

Subscribe to download
Shop Restock Revamped

Description
This is a revamped version of Shop Restock Button - By: I has a bucket

What is the difference between this and the original?

New Features
Free Restock System:
  • Players can now utilize 5 free restocks per cycle.
  • Once all 5 free restocks are used, players will enter a 45-minute cooldown before they can restock again.
Cooldown Countdown Timer:
  • Players will now receive a countdown message when attempting to restock during the cooldown period.
  • Instead of a generic cooldown message, players will see: "Restock is on cooldown for X minutes and Y seconds. Please wait."
  • This provides players with clear visibility on how much time remains before they can access the next round of restocks.
How It Works
Using Free Restocks:
At the start of each cycle, players have access to 5 free restocks.
If you do not use all 5 free restocks, the remaining free restocks do not stack after the cooldown period.

Cooldown Activation:
After using all 5 free restocks, a 45-minute cooldown is triggered.
Once the cooldown period is over, players will receive a new set of 5 free restocks.

Remaining Cooldown Notification:
If players attempt to restock before the cooldown ends, they will see a countdown indicating the exact time left until they can restock again.
This helps players plan their gameplay more effectively.

Example Scenarios
Scenario 1: You use all 5 free restocks. After the 5th use, you will enter a 45-minute cooldown. Once the cooldown is over, you will receive a fresh set of 5 free restocks.
You can then use these new free restocks without any cooldown.

Scenario 2: You use only 3 free restocks. After the 3rd use, you will enter the cooldown. Once the cooldown is over, you will still receive 5 free restocks, regardless of how many you did not use. The remaining free restocks do not stack after the cooldown period.

Continuous Improvement
This mod will be improved even further in the future. As I am currently working to implement a pricing system for the restock button, which will allow players to purchase additional restocks which scales in price with each restock purchase. This will provide a more dynamic and engaging gameplay experience.

Mod Incompatabilities
This mod is not compatible with the following mods:
Any mod that hard edits the "shop.lua" file without properly injecting their code nor overwriting the original Avorion file.

Cosmic Overhaul: This mod is already integrated into it.

So far I have tested this mod with various UI related mods that adds/edits the shop.lua file and they all work fine.
If you have any issues with this mod, please let me know so I can look into it.

Other Versions:
Shop Restock Button - By: I has a bucket (Original Version): This version does not include the free restock system, cooldown countdown timer, or any other new features. Outdated and no longer maintained by the original author.

Rifted Shop Restock Button (Rifted Version): This version is a maintained and updated version of the original, but it does not include the free restock system or cooldown countdown timer. It will be maintained and retain the original functionality.
Popular Discussions View All (2)
0
20 Oct, 2024 @ 6:48pm
PINNED: Bugs & Incompatibilities
Stormbox
0
20 Oct, 2024 @ 6:46pm
PINNED: Suggestions & Feedback
Stormbox
1 Comments
Fluffy Pagan 4 Jul @ 8:28am 
Doesn't work. No button but no error message either.