First locate your World of Warcraft\WTF\Account\USERNAME\SavedVariables\Conquest of the Horde\charactername\SavedVariables folder, this is where your items are stored.
Let's say I want to copy my Thorin's muffin to my Orc, Felika.
First I'll open the GHI.lua for Thorin file and locate my muffin in it, which starts with:
["Thorin_41955134"] = {
and ends with
},
at the same height again.
Next I make a bogus item called test on my orc, to generate the proper lua for it.
This looked roughly like this, when I find it in her saved variables:
Code:
["Felika_41974303"] = {
["stackSize"] = 1,
["white2"] = "",
["rightClick"] = {
["version"] = 1,
},
["comment"] = "",
["version"] = 1,
["white1"] = "",
["name"] = "test",
["creater"] = "Felika",
["locked"] = 0,
["icon"] = "Interface\\Icons\\INV_Misc_QuestionMark",
["quality"] = 1,
},
Now I copy the code for my muffin and paste it into the orc's lua, inbetween the two {}s belonging to the test item.
My dwarves' muffin looks like this:
Code:
["Thorin_41955438"] = {
["stackSize"] = 100,
["white2"] = "",
["rightClicktext"] = "Eat.",
["rightClick"] = {
{
["Type"] = "buff",
["buffName"] = "Stuffed!",
["buffIcon"] = "Interface\\Icons\\INV_Misc_Fork&Knife",
["buffDuration"] = 1800,
["buffDetails"] = "Woah, that hit the spot!",
["type_name"] = "Buff",
["castOnSelf"] = 1,
["details"] = "Stuffed!",
["filter"] = "Helpful",
["buffType"] = "Physical",
["stackable"] = 1,
["icon"] = "Interface\\Icons\\Spell_Holy_WordFortitude",
["req"] = 1,
}, -- [1]
{
["type_name"] = "Expression",
["Type"] = "expression",
["expression_type"] = "Emote",
["details"] = "Emote: eats a yummy vanilla muffin. Ooh, fattening!",
["text"] = "eats a yummy vanilla muffin. Ooh, fattening!",
["icon"] = "Interface\\Icons\\Spell_Shadow_SoothingKiss",
["req"] = 1,
}, -- [2]
["requireTarget"] = true,
["Type"] = "multible",
["version"] = 8,
["consumed"] = 1,
},
["quality"] = 2,
["name"] = "Vanilla Muffin",
["white1"] = "A delicious looking muffin with a strawberry on top.",
["version"] = 8,
["comment"] = "More whipped cream than muffin, actually.",
["locked"] = 0,
["copyable"] = 0,
["icon"] = "Interface\\Icons\\INV_Misc_Food_149_CupCake",
["creater"] = "Thorin",
},
Chopping off the ["Thorin_41955438"] = { and }, parts leaves me with the essential coding for the item. I copy and paste it inbetween the orc's lua to form this:
Code:
["Felika_41974303"] = {
["stackSize"] = 100,
["white2"] = "",
["rightClicktext"] = "Eat.",
["rightClick"] = {
{
["Type"] = "buff",
["buffName"] = "Stuffed!",
["buffIcon"] = "Interface\\Icons\\INV_Misc_Fork&Knife",
["buffDuration"] = 1800,
["buffDetails"] = "Woah, that hit the spot!",
["type_name"] = "Buff",
["castOnSelf"] = 1,
["details"] = "Stuffed!",
["filter"] = "Helpful",
["buffType"] = "Physical",
["stackable"] = 1,
["icon"] = "Interface\\Icons\\Spell_Holy_WordFortitude",
["req"] = 1,
}, -- [1]
{
["type_name"] = "Expression",
["Type"] = "expression",
["expression_type"] = "Emote",
["details"] = "Emote: eats a yummy vanilla muffin. Ooh, fattening!",
["text"] = "eats a yummy vanilla muffin. Ooh, fattening!",
["icon"] = "Interface\\Icons\\Spell_Shadow_SoothingKiss",
["req"] = 1,
}, -- [2]
["requireTarget"] = true,
["Type"] = "multible",
["version"] = 8,
["consumed"] = 1,
},
["quality"] = 2,
["name"] = "Vanilla Muffin",
["white1"] = "A delicious looking muffin with a strawberry on top.",
["version"] = 8,
["comment"] = "More whipped cream than muffin, actually.",
["locked"] = 0,
["copyable"] = 0,
["icon"] = "Interface\\Icons\\INV_Misc_Food_149_CupCake",
["creater"] = "Thorin",
},
The result?
![[Image: resultorc.jpg]](http://img.photobucket.com/albums/v371/Theik/resultorc.jpg)
The bogus test object I made has been replaced with the muffin, and my orc can now use it or distribute it to other hordies.
(Actually, I copied the cake and not the muffin, but screwit, the idea remains the same. :P)