CraftSim

CraftSim

2M Downloads

Future Idea Expand Functionality Tooltip , SharedDb , CraftSim API

BodySame opened this issue ยท 2 comments

commented

Hi. Creating items in the game has become popular. There are a couple of wishes for development.

  1. Maximum offer idea
    1.1 Creating an API, DB.API or shared lib to obtain information or exchange between CraftSim and other Addons. Look at Skillet very well made Craft UI, but with a minimum of statistics.
    1.2 Create or add integration of selected information into tooltip, item tooltip, reagent tooltip.
    With the ability to control position and color.
    1.3 Creating simple calculated (arithmetic) variables (parameters, conditions) for using data from addonDB. As for CraftSim and Auction Addons DB. You can try seen an example of text coloring and condition code LibDogTag-3.0 a simple functional text formatting library.
    DogTag Supports Custom libs. Maked by IceHud UI addon autor.
    Example. Base Condition
> %AUCPrice / %SimPrice = %result(ColourRed,LineOne) 
> If %AUCPrice / %SimPrice > 10 = %Result( ColourBlue,LineTwo) 

Example. DogTagLib Condition With Text And font Formating.

[Outline][White(Short(HP) Bracket(VeryShort(TotalAbsorb))) [if MinRange >= 40 then
   Color(MinRange "-" MaxRange,"19FCFF")
else
    Green(MinRange "-" MaxRange)
end]]
  1. Most acceptable offer idea
    Option 1.2 -1.3 Tooltip and simple functions or a window for displaying user-maked-calculated values.
commented

Currently any addon can access the global CraftSimDB saved variable
may offer more easier access through apis though
there is an api to get the whole addon table though but it may be too intrusive to use

I may offer read access via a db api though

commented

I am leave screenshot what it ready in Premade group finder https://github.com/0xbs/premade-groups-filter
2024-10-01-11-45-59