diff options
| author | Rime <81419447+Emirlol@users.noreply.github.com> | 2025-02-27 23:49:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 04:49:13 +0800 |
| commit | e2659c8ced1685fa0c231195db53df45500a6144 (patch) | |
| tree | 4a1c21e14153f8ec893d588509d43a72a322d2d4 /src/main/resources | |
| parent | fc478774143a73aa1470e6348d75896231fa21ca (diff) | |
| download | Skyblocker-e2659c8ced1685fa0c231195db53df45500a6144.tar.gz Skyblocker-e2659c8ced1685fa0c231195db53df45500a6144.tar.bz2 Skyblocker-e2659c8ced1685fa0c231195db53df45500a6144.zip | |
Corpse profit tracker (#1152)
* Corpse profit tracker initial commit
* A bunch of stuff
- Extract `CorpseLoot` and `Reward` inner classes into separate classes
- Use translatables where it makes sense
- Add config option to toggle corpse profit tracker (can't believe I forgot this on corpse tracker as well)
- Some minor command adjustments and fixes to both `PowderMiningTracker` and `CorpseProfitTracker`
- Refactored `CorpseProfitHistoryScreen` into `CorpseProfitScreen`. The button that switched from one to the other is now a view switch button that changes the displayed list, and functionality of both screens is combined in one.
- Add hover/click events to the profit text sent when a corpse is looted that opens the screen
* Round the chat message so it's more copy-friendly
* Fix keys' total price not being multiplied by key amount
* Fix `pricePerUnit` display of items to match keys
This way, they don't display the price per unit when the amount is 1.
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/assets/skyblocker/lang/en_us.json | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/main/resources/assets/skyblocker/lang/en_us.json b/src/main/resources/assets/skyblocker/lang/en_us.json index 6e8b66c5..c3627f3c 100644 --- a/src/main/resources/assets/skyblocker/lang/en_us.json +++ b/src/main/resources/assets/skyblocker/lang/en_us.json @@ -576,8 +576,10 @@ "skyblocker.config.mining.crystalHollows.chestHighlighter.@Tooltip": "Highlight found treasure chests and lock pick locations when powder mining.", "skyblocker.config.mining.crystalHollows.chestHighlighter.color": "Chest Highlight Color", "skyblocker.config.mining.crystalHollows.chestHighlighter.color.@Tooltip": "What color the treasure chests / lock pick should be highlighted.", - "skyblocker.config.mining.crystalHollows.powderTrackerFilter": "Powder Tracker Shown Items", - "skyblocker.config.mining.crystalHollows.powderTrackerFilter.@Tooltip": "Choose which items to show & include in the profit calculation for the powder tracker.", + "skyblocker.config.mining.crystalHollows.enablePowderTracker": "Enable Powder Mining Tracker", + "skyblocker.config.mining.crystalHollows.enablePowderTracker.@Tooltip": "Tracks the treasure chest rewards you get from powder mining in the Crystal Hollows.", + "skyblocker.config.mining.crystalHollows.powderTrackerFilter": "Powder Mining Tracker Shown Items", + "skyblocker.config.mining.crystalHollows.powderTrackerFilter.@Tooltip": "Choose which items to show & include in the profit calculation for the powder mining tracker.", "skyblocker.config.mining.crystalHollows.powderTrackerFilter.screenTitle": "Shown Items", "skyblocker.config.mining.crystalsHud": "Crystal Hollows Map", @@ -647,6 +649,8 @@ "skyblocker.config.mining.glacite.enableParsingChatCorpseFinder.@Tooltip": "If enabled, will listen to chat and process corpses shared by other players. Should be compatible with other mods.", "skyblocker.config.mining.glacite.autoShareCorpses": "Automatically Share Found Corpses In Chat", "skyblocker.config.mining.glacite.autoShareCorpses.@Tooltip": "Sends a message in party chat with the location of the found corpse when you find one.", + "skyblocker.config.mining.glacite.enableCorpseProfitTracker": "Enable Corpse Profit Tracker", + "skyblocker.config.mining.glacite.enableCorpseProfitTracker.@Tooltip": "Tracks the profit and the loot you get from corpses. Shows the profit in chat when looting a corpse, and has a command to see your history of corpse loot in /skyblocker rewardTrackers corpse list", "skyblocker.config.misc": "Misc", @@ -1274,6 +1278,23 @@ "skyblocker.crimson.kuudra.lowArrowPoison": "Low on Arrow Poison!", "skyblocker.crimson.kuudra.danger": "DANGER!", + "skyblocker.corpseTracker.screenTitle": "Corpse Loot Tracker", + "skyblocker.corpseTracker.historyView": "Switch to history view", + "skyblocker.corpseTracker.summaryView": "Switch to summary view", + "skyblocker.corpseTracker.totalProfit": "Total Profit: %s%s", + "skyblocker.corpseTracker.corpseProfit": "Corpse Profit: %s", + "skyblocker.corpseTracker.incompletePriceData": " (Incomplete Price Data)", + "skyblocker.corpseTracker.hoverText": "Click to open corpse loot history", + "skyblocker.corpseTracker.somethingWentWrong": "Something went wrong with corpse profit calculation. Check logs for more information.", + "skyblocker.corpseTracker.emptyHistory": "Your corpse history list is empty :(", + "skyblocker.corpseTracker.historyReset": "Corpse profit history has been reset for the current profile.", + + "skyblocker.powderTracker.historyReset": "Powder mining tracker has been reset for the current profile.", + "skyblocker.powderTracker.profit": "Profit: %s Coins", + "skyblocker.powderTracker.emptyHistory": "Your powder mining rewards list is empty :(", + "skyblocker.powderTracker.rewardsFilteredOut": "Your powder mining rewards list is empty after filtering :(", + + "skyblocker.waypoints.ordered.import.skyblocker.success": "Successfully imported waypoints from the Skyblocker Ordered Waypoints format!", "skyblocker.waypoints.ordered.import.skyblocker.unknownFormatHeader": "§cThis import code doesn't look like its in the Skyblocker Ordered Waypoints format, double-check your clipboard to see if everything is correct.", "skyblocker.waypoints.ordered.import.skyblocker.fail": "§cFailed to import waypoints from the Skyblocker Ordered Waypoints format. Make sure to have the waypoint data copied to your clipboard!", |
