alostsock / craftingway

A ffxiv crafting tool

Home Page:https://craftingway.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to select a specific collectible reward level

Orphis opened this issue · comments

Some items have a maximum reward level and will not give any better reward with more work. This could lead to shorter macros.

Example: https://ffxivteamcraft.com/db/en/item/31946/Grade-4-Skybuilders'-Oven
This one caps the reward at 1000 collectability (or 10000 quality) when the item has almost 12000 quality points max. The solver should try to solve for 10000 quality instead to optimize for speed.

The quality thresholds are relatively easy to get from xivapi datasets, let me know if you need any help with this.

An option could allow to try to find macro for a specific reward (useful when leveling and you know you can't reach the max reward anyway), max reward or max quality on collectibles.

If you could point me to the table/columns to look at, that would be great!

This has been on my todo list for a while and I should already have most of the groundwork done in the frontend + simulator to accept "target quality" values, I just need to update the craftingway_data repo to pipe the thresholds in.

So, 2 ways:

  • Check HWDCrafterSupply table and check if you find the item in the first part of the table, save the column index. Then you will have columns Base/Mid/HighCollectableRating with the value you need at the matching index in the same table.
  • If it's not from Ishgard, then it's in the CollectablesShopItem table, you'll have the object ID in there and the column CollectablesShopRefine pointing to an index in the table of the same name. That table has a Low/Mid/HighCollectability column for this. 0 in the last columns means there are less ranks (for example all the new crafting relic steps that have only low and mid for best reward).
    Let me know if you have more questions!

Actually, I've reverse engineered the game recently and found out exactly how it finds the collectability numbers here. If you've any questions, let me know :)