Originally Posted by Xanderificus
You'll do better on searches if you spell "character" correctly.
|
Can't change thread titles after post, only the OP content.
Have not gotten very far so far. I does gather the horse data and has a list of characters, but have not gotten to implementing the filters or having the API calls to get the data.
Currently the horse data looks like this internally:
Code:
["Incendia Peterson"] =
{
[1] =
{
["description"] = [[Impetuous and fierce, this all-purpose Imperial steed only yields to a capable master.]],
["inventoryBonus"] = 1,
["timeMs"] = 0,
["name"] = [[Diamond]],
["sellPrice"] = 1,
["speedBonus"] = 16,
["portraitTexture"] = [[/esoui/art/mountportraits/mountportait_horse_c.dds]],
["CCDR_Date"] = 20140615,
["maxInventoryBonus"] = 100,
["staminaBonus"] = 10,
["maxStaminaBonus"] = 100,
["level"] = 3,
["iconTexture"] = [[/esoui/art/icons/mounticon_horse_c.dds]],
["breed"] = [[Imperial Horse]],
["CCDR_Timestamp"] = 1402838926,
["totalDurationMs"] = 0,
["maxSpeedBonus"] = 100,
},
[2] =
{
["description"] = [[Impetuous and fierce, this all-purpose Imperial steed only yields to a capable master.]],
["inventoryBonus"] = 1,
["timeMs"] = 0,
["name"] = [[Diamond]],
["sellPrice"] = 1,
["speedBonus"] = 15,
["portraitTexture"] = [[/esoui/art/mountportraits/mountportait_horse_c.dds]],
["CCDR_Date"] = 20140615,
["maxInventoryBonus"] = 100,
["staminaBonus"] = 10,
["maxStaminaBonus"] = 100,
["level"] = 2,
["iconTexture"] = [[/esoui/art/icons/mounticon_horse_c.dds]],
["breed"] = [[Imperial Horse]],
["CCDR_Timestamp"] = 1402838926,
["totalDurationMs"] = 0,
["maxSpeedBonus"] = 100,
},
}
The output other addons get will propably also contain a "GlobalFilter" and "CharacterFilter" bool value per horse (untill I put it in, the value will be nil all the time so you can still implement checks for them being set).
The API will allow:
Getting the list of kown characters
Getting either the full list of Horse data or only the part for one for one specific character.