--[[
Code moved and updated:
Source of code: https://github.com/ElunaLuaEngine/Scripts/blob/master/Custom/Transmogrifier.lua
http://pastebin.com/Xc9yTwbK