Quantcast
Download
(7 Kb)
Download
Updated: 10/22/17 07:48 PM
Pictures
File Info
Compatibility:
Clockwork City (3.2)
Horns of the Reach (3.1)
Updated:10/22/17 07:48 PM
Created:07/12/17 06:43 PM
Monthly downloads:155
Total downloads:518
Favorites:4
MD5:
3.2
Detailed Research Scrolls
Version: 1.2.0
by: silvereyes [More]
Adds research timer information to research scroll tooltips.

Also adds a warning to research scroll tooltips if any of the potential research timer reduction for that scroll would be wasted on the current character.

Only English and German are currently fully supported, but please send translations:
Lua Code:
  1. ["SI_DETAILEDRESEARCHSCROLLS_WARNING"]              = "Fewer than <<1>> Research Timers with <<2[/1 day/$d days]>> remaining.",
  2. ["SI_DETAILEDRESEARCHSCROLLS_ALL_TRAITS"]           = "<<1>>/<<2>> research lines with all traits",
  3. ["SI_DETAILEDRESEARCHSCROLLS_NO_RESEARCH"]          = "No active research",
  4. ["SI_DETAILEDRESEARCHSCROLLS_RESEARCH_SLOT_UNUSED"] = "<<IN:1>> research slot not started",

Developers, there's also a Detailed Research Scrolls API to get the tooltip lines, or the raw data used to generate them.
Version 1.2.0
- Update 16 Clockwork City compatibility
- Added French language support. Thanks, @lexo1000!

Version 1.1.2
- Small changes to German wording. Thanks @Baertram and @manavortex!
- API update: all methods accepting an itemLink now accept itemId as well
- API update: new method DetailedResearchScrolls:GetIsResearchScroll(itemLink or itemId)

Version 1.1.1
- Added full German support. Thanks, @Scootworks!
- Changed wording on all traits researched warning to be the standard in-game warning.
- Changed wording on research slot not started warnings to use "Second" and "Third" instead of 2 and 3.

Version 1.1.0
- Changed name to Detailed Research Scrolls
- Add research timer details to research scroll tooltips
- Color coded warning messages: red=no research, orange=research w/ timer < scroll duration; green=research with timer >= scroll duration
- Created API for third party extension use

Version 1.0.1
- Fix bug where tooltips would become inaccurate after a respec.
- Patch for users affected by the ZOS bug with the 3rd research slot unusable.

Version 1.0.0
- Adds warning tooltips to research scrolls if any of the potential research timer reduction would be wasted on the current character.
Archived Files (3)
File Name
Version
Size
Author
Date
1.1.2
7kB
silvereyes
07/16/17 08:59 AM
1.1.0
7kB
silvereyes
07/15/17 11:40 PM
1.0.1
5kB
silvereyes
07/12/17 06:43 PM


Post A Reply Comment Options
Unread 09/27/17, 08:51 AM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by lexo1000
Here is the french translation. thanks
Fantastic! Thank you!
Report comment to moderator  
Reply With Quote
Unread 09/26/17, 11:22 AM  
lexo1000
 
lexo1000's Avatar

Forum posts: 3
File comments: 72
Uploads: 0
Hello !
Here is the french translation. thanks

Lua Code:
  1. ["SI_DETAILEDRESEARCHSCROLLS_WARNING"]              = "Moins de <<1>> durée de recherche avec <<2[/1 day/$d days]>> restant.",
  2. ["SI_DETAILEDRESEARCHSCROLLS_ALL_TRAITS"]           = "<<1>>/<<2>> lignes de recherche avec tous les traits",
  3. ["SI_DETAILEDRESEARCHSCROLLS_NO_RESEARCH"]          = "Aucune recherche active",
  4. ["SI_DETAILEDRESEARCHSCROLLS_RESEARCH_SLOT_UNUSED"] = "<<IN:1>> emplacement de recherche non commencé",
Report comment to moderator  
Reply With Quote
Unread 07/16/17, 04:12 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by Baertram
Request for API:
Could you please add a function like "CheckIfIsResearchScroll(itemId)" which checks your local array "researchScrolls" against the itemId?
Ask, and ye shall receive.

Version 1.1.2
  • Small changes to German wording. Thanks @Baertram and @manavortex!
  • API update: all methods accepting an itemLink now accept itemId as well
  • API update: new method DetailedResearchScrolls:GetIsResearchScroll(itemLink or itemId)
Report comment to moderator  
Reply With Quote
Unread 07/16/17, 01:19 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by Baertram
Version 1.1.0

Visual Bug:
Your addon is not using zo_strFormat for the non-english client.
It's already fixed in version 1.1.1.

Originally Posted by Baertram
Request for API:
Could you please add a function like "CheckIfIsResearchScroll(itemId)" which checks your local array "researchScrolls" against the itemId?
Or just make a Getter function to get your local array to the my addon, in order to get the itemIds. i'll build the funciton needed myself then
Many thanks!
Sure, no problem.
Report comment to moderator  
Reply With Quote
Unread 07/16/17, 11:57 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1300
File comments: 1238
Uploads: 43
Version 1.1.0

Visual Bug:
Your addon is not using zo_strFormat for the non-english client.
e.g. it's showing "Schmiedekunst^f" in the tooltip instead of "Schmiedekunst" (lower tooltip part).

Change of german translation:
Code:
local strings = {
    ["SI_DETAILEDRESEARCHSCROLLS_WARNING"] = "Weniger als <<1[/1 Analyse Zeitraum/$d Analyse Zeiträume]>> mit <<2[/1 Tag/$d Tagen]>> übrig.",
    ["SI_DETAILEDRESEARCHSCROLLS_ALL_TRAITS"]           = "<<1>>/<<2>> Analyse Linien mit allen Eigenschaften",
    ["SI_DETAILEDRESEARCHSCROLLS_NO_RESEARCH"]          = "Keine aktive Analyse",
    ["SI_DETAILEDRESEARCHSCROLLS_RESEARCH_SLOT_UNUSED"] = "Analyse Slot <<1>> nicht besetzt",
}
Request for API:
Could you please add a function like "CheckIfIsResearchScroll(itemId)" which checks your local array "researchScrolls" against the itemId?
Or just make a Getter function to get your local array to the my addon, in order to get the itemIds. i'll build the funciton needed myself then
Many thanks!
Last edited by Baertram : 07/16/17 at 12:38 PM.
Report comment to moderator  
Reply With Quote
Unread 07/16/17, 07:26 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1300
File comments: 1238
Uploads: 43
Thanks! Will try it out.

Originally Posted by silvereyes
Originally Posted by Baertram
I guess a small API function to get the info from your addon would be enough (for me), as the added tooltip of your addon will help as well.
Okay, check out the API functions I just opened up: https://raw.githubusercontent.com/si...lls/master/API

For auto-marking purposes, it's probably enough to just check if DetailedResearchScrolls:GetWarningLine(itemLink) is not nil.
Report comment to moderator  
Reply With Quote
Unread 07/15/17, 11:46 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by Baertram
I guess a small API function to get the info from your addon would be enough (for me), as the added tooltip of your addon will help as well.
Okay, check out the API functions I just opened up: https://raw.githubusercontent.com/si...lls/master/API

For auto-marking purposes, it's probably enough to just check if DetailedResearchScrolls:GetWarningLine(itemLink) is not nil.
Report comment to moderator  
Reply With Quote
Unread 07/14/17, 05:08 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1300
File comments: 1238
Uploads: 43
Dunno if a lib is used by others.
I guess a small API function to get the info from your addon would be enough (for me), as the added tooltip of your addon will help as well.

Originally Posted by silvereyes
Originally Posted by Baertram
German translation:
Code:
["SI_RESEARCHSCROLLWARNING_WARNING"] = "Weniger als <<1>> Analyse Zeitraum mit <<2[/1 Tag/$d Tagen]>> übrig."
Question
Any chance to get the info from the tooltip (number research slots, and days left) as a global return function so I can add it to FCOItemSaver protection?
The idea is: Mark the scrolls automatically with a lock icon if the threshold value in days is met, and thus protect them against usage if marked.
Thanks, Baer! Do you think that sort of information would be better in a lib? I can certainly refactor the guts of this addon into a lib for you to use. Otherwise, sure, I can make an API.
Report comment to moderator  
Reply With Quote
Unread 07/14/17, 03:33 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by Baertram
German translation:
Code:
["SI_RESEARCHSCROLLWARNING_WARNING"] = "Weniger als <<1>> Analyse Zeitraum mit <<2[/1 Tag/$d Tagen]>> übrig."
Question
Any chance to get the info from the tooltip (number research slots, and days left) as a global return function so I can add it to FCOItemSaver protection?
The idea is: Mark the scrolls automatically with a lock icon if the threshold value in days is met, and thus protect them against usage if marked.
Thanks, Baer! Do you think that sort of information would be better in a lib? I can certainly refactor the guts of this addon into a lib for you to use. Otherwise, sure, I can make an API.
Report comment to moderator  
Reply With Quote
Unread 07/14/17, 05:19 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1300
File comments: 1238
Uploads: 43
German translation:
Code:
["SI_RESEARCHSCROLLWARNING_WARNING"] = "Weniger als <<1>> Analyse Zeitraum mit <<2[/1 Tag/$d Tagen]>> übrig."
Question
Any chance to get the info from the tooltip (number research slots, and days left) as a global return function so I can add it to FCOItemSaver protection?
The idea is: Mark the scrolls automatically with a lock icon if the threshold value in days is met, and thus protect them against usage if marked.
Report comment to moderator  
Reply With Quote
Unread 07/12/17, 08:19 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 127
Uploads: 11
Originally Posted by Rhyono
You should add the option to turn it off per craft for the fringe cases of having less than 3 still to be researched or just automatically disable it for those.

E.g. only 2 slots filled, but both have 1+ days.
I thought about that, but since the scrolls are bound by *account*, not by character, it is still helpful to know that some of the research will be wasted on the current character. The player may have another character that could use the scroll without wasting anything.

Perhaps in the next version I'll add a new tooltip to advise how many research lines are forever locked for the character because they are done, so the player can make an informed decision.
Report comment to moderator  
Reply With Quote
Unread 07/12/17, 07:39 PM  
Rhyono
AddOn Author - Click to view AddOns

Forum posts: 327
File comments: 499
Uploads: 15
You should add the option to turn it off per craft for the fringe cases of having less than 3 still to be researched or just automatically disable it for those.

E.g. only 2 slots filled, but both have 1+ days.
Last edited by Rhyono : 07/12/17 at 07:41 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: