SHARE
TWEET

Untitled

a guest Feb 19th, 2014 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --  This function returns a string, and is meant to be used with the native hecho(str) function.
  2. --  Example use:  Listing your afflictions, abbreviated & colored.
  3. --
  4. --    cecho("\n<white>Your afflictions: ")
  5. --    for x, aff in ipairs(afflictions) do
  6. --          hecho(vc(aff).. " ")
  7. --   ,
  8. --
  9. --  Use http://widget.colorcodehex.com/color-picker.html to pick some new colors, and just use
  10. --  the standard hecho() format:  |cRRGGBB at the beginning of the string in quotations.
  11.  
  12. affs = {
  13.    
  14.         paralysis = "|cff0033par",
  15.         asthma = "|cFF8000ast",
  16.         slickness = "|c33cc00slic",
  17.         anorexia = "|cff99ccano",
  18.         impatience = "|cffff00imp",
  19.         stupidity = "|ccccc33stu",
  20.         relapsing = "|cffffffrelapsing",
  21.         darkshade = "|c0066ffdark",
  22.         confusion = "|c99ffffconf",
  23.         weariness = "|cFF8000weary",
  24.         ablaze = "|cBDBDBDablz",
  25.         addiction = "|cBDBDBDadd",
  26.         agoraphobia = "|cBDBDBDago",
  27.         claustrophobia = "|cBDBDBDclau",
  28.         clumsiness = "|cFF8000clum",
  29.         disloyalty = "|cBDBDBDdisl",
  30.         dizziness = "|cBDBDBDdiz",
  31.         epilepsy = "|cBDBDBDepi",
  32.         generosity = "|cBDBDBDgen",
  33.         hallucinations = "|cBDBDBDhal",
  34.         haemophilia = "|cBDBDBDhaem",
  35.         hypochondria = "|cBDBDBDhypo",
  36.         hypersomnia = "|cBDBDBDhyp",
  37.         lethargy = "|cBDBDBDleth",
  38.         loneliness = "|cBDBDBDlone",
  39.         masochism = "|cBDBDBDmaso",
  40.         illness = "|cBDBDBDill",
  41.         paranoia = "|cBDBDBDprna",
  42.         recklessness = "|cBDBDBDreck",
  43.         sensitivity = "|cBDBDBDsens",
  44.         shyness = "|cBDBDBDshy",
  45.         vertigo = "|cBDBDBDvert",
  46.         voyria = "|cffffffvoy",
  47.         webbed = "|cffffffWEBBED",
  48.         transfixed = "|cffffffTRANSFIXED",
  49.         singlecrippledarm = "|cffffffarm",
  50.         twocrippledarms = "|cffffffarm",
  51.         singlecrippledleg = "|cffffffleg",
  52.         twocrippledlegs = "|cffffffleg"
  53. }
  54.  
  55. function vc(aff)
  56.         return affs[aff]
  57. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top