View Single Post
09/13/17, 04:27 PM   #8
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 408
First of all, Ayantir is correct in regards to the crafting skill names, in a way. Not in the method, which doesn't work. But there is a way to obtain the names programatically: GetCraftingSkillName(craftingSkillType)

As far as I am able to determine, he is completely wrong about the weapon types. Some do work; but not all. You'll be missing certain types of weapons, for example, greatsword, maul, etc. Actually, if he checked, d(GetString("SI_ITEMTYPE", WEAPONTYPE_BOW)) outputs not Bow, but Motif. You'd need to use d(GetString("SI_WEAPONTYPE", WEAPONTYPE_BOW)) instead.
d(GetString("SI_ITEMTYPE", ITEMTYPE_WEAPON)) does work. Master writ indicators must be hardcoded, as well as the writ names.

French:

-- CRAFTING_WRIT_TYPE_NAME

-- Ok, not quite sure how these combine, but "Writ" is "Commande" and:
[CRAFTING_TYPE_ENCHANTING] = "d'enchantement",
[CRAFTING_TYPE_BLACKSMITHING] = "forge",
[CRAFTING_TYPE_CLOTHIER] = "tailleur",
[CRAFTING_TYPE_PROVISIONING] = "cuisine",
[CRAFTING_TYPE_WOODWORKING] = "bois",
[CRAFTING_TYPE_ALCHEMY] = "d'alchimie",



-- CRAFTING_WRIT_TEXT_INDICATORS

Use: GetCraftingSkillName(number TradeskillType craftingSkillType) with numbers 1-6 for these.

-- MASTER_WRIT_PHRASES -- I assume you want the quest name. If that is the case, use mine. Otherwise, Ayantir's is probably better.
ZO_CreateStringId("SI_CWA_MASTERFUL", "magistral")


-- MASTER_WRIT_TEXT_INDICATORS
-- What exactly are these supposed to be? The quest names? If so, you might be able to use:
[CRAFTING_TYPE_ALCHEMY] = "concoction",
[CRAFTING_TYPE_ENCHANTING] = "glyphe",
[CRAFTING_TYPE_PROVISIONING] = "festin",
["plate"] = "protection",
["tailoring"] = "tenue",
["leatherwear"] = "vêtement",
["weapon"] = "arme",
["shield"] = "bouclier",


-- MASTER_WRIT_WEAPON_TYPE_INDICATORS -- Not sure of your usecase. Consider using GetItemLinkName(hardCodedItemLink)
ZO_CreateStringId("SI_CWA_WEAPON", "Weapon")

--Blacksmith -- I don't know the full use case/when you need this, so there might be a better option than hardcoding it. And no, you don't have the weapon names anywhere really as a ZOS string, but you can get the names while at a crafting station.
ZO_CreateStringId("SI_CWA_DAGGER", "dague")
ZO_CreateStringId("SI_CWA_SWORD", "épée")
ZO_CreateStringId("SI_CWA_GREATSWORD", "longue")
ZO_CreateStringId("SI_CWA_MACE", "masse")
ZO_CreateStringId("SI_CWA_AXE", "hache")
ZO_CreateStringId("SI_CWA_MAUL", "d'arme")
--Woodworking
ZO_CreateStringId("SI_CWA_STAFF", "Staff") -- didn't have this one, actually.
ZO_CreateStringId("SI_CWA_BOW", "arc")
ZO_CreateStringId("SI_CWA_SHEILD", "bouclier")

--MASTER WRIT COMPLETE TEXT -- Can all be replaced by checking the progress values on the quest! -- If the current and max are equal, then you know they're done.

-
ZO_CreateStringId("SI_CWA_DELIVER", "livrez")




German:



-- CRAFTING_WRIT_TYPE_NAME
ZO_CreateStringId("SI_CWA_BLACK_SMITH_WRIT_NAME", "Schmiedeschrieb")
ZO_CreateStringId("SI_CWA_WOODWORKING_WRIT_NAME","Schreinerschrieb")
ZO_CreateStringId("SI_CWA_CLOTHIER_WRIT_NAME", "Schneiderschrieb")
ZO_CreateStringId("SI_CWA_PROVISIONER_WRIT_NAME", "Versorgerschrieb")
ZO_CreateStringId("SI_CWA_ALCHEMIST_WRIT_NAME", "Alchemistenschrieb")
ZO_CreateStringId("SI_CWA_ENCHANTER_WRIT_NAME", "Verzaubererschrieb")


-- MASTER_WRIT_PHRASES
ZO_CreateStringId("SI_CWA_MASTERFUL", "meisterhafte")


-- MASTER_WRIT_TEXT_INDICATORS

-- Same deal as above, not sure of your usecase, this might be what you need:
[CRAFTING_TYPE_ALCHEMY] = "gebräu",
[CRAFTING_TYPE_ENCHANTING] = "glyphe",
[CRAFTING_TYPE_PROVISIONING] = "mahl",
["plate"] = "rüstung",
["tailoring"] = "nähkunst",
["leatherwear"] = "lederwaren",
["weapon"] = "waffe",
["shield"] = "schild",



--Blacksmith
ZO_CreateStringId("SI_CWA_DAGGER", "Dolche")
ZO_CreateStringId("SI_CWA_SWORD", "Schwerter")
ZO_CreateStringId("SI_CWA_GREATSWORD", "Bidenhänder")
ZO_CreateStringId("SI_CWA_MACE", "Keulen")
ZO_CreateStringId("SI_CWA_AXE", "Äxte")
ZO_CreateStringId("SI_CWA_MAUL", "Streitkolben")
--Woodworking -- think there's some translation errors in the game with staves.
ZO_CreateStringId("SI_CWA_STAFF", "stäbe")
ZO_CreateStringId("SI_CWA_BOW", "Bogen")
ZO_CreateStringId("SI_CWA_SHEILD", "Schilde")


-
ZO_CreateStringId("SI_CWA_DELIVER", "beliefert")

  Reply With Quote