Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This function returns a string, and is meant to be used with the native hecho(str) function.
- -- Example use: Listing your afflictions, abbreviated & colored.
- --
- -- cecho("\n<white>Your afflictions: ")
- -- for x, aff in ipairs(afflictions) do
- -- hecho(vc(aff).. " ")
- -- end
- --
- -- Use http://widget.colorcodehex.com/color-picker.html to pick some new colors, and just use
- -- the standard hecho() format: |cRRGGBB at the beginning of the string in quotations.
- function vc(aff)
- if aff == "paralysis" then return "|cff0033par" end
- if aff == "asthma" then return "|cFF8000ast" end
- if aff == "slickness" then return "|c33cc00slic" end
- if aff == "anorexia" then return "|cff99ccano" end
- if aff == "impatience" then return "|cffff00imp" end
- if aff == "stupidity" then return "|ccccc33stu" end
- if aff == "relapsing" then return "|cffffffrelapsing" end
- if aff == "darkshade" then return "|c0066ffdark" end
- if aff == "confusion" then return "|c99ffffconf" end
- if aff == "weariness" then return "|cFF8000weary" end
- if aff == "ablaze" then return "|cBDBDBDablz" end
- if aff == "addiction" then return "|cBDBDBDadd" end
- if aff == "agoraphobia" then return "|cBDBDBDago" end
- if aff == "claustrophobia" then return "|cBDBDBDclau" end
- if aff == "clumsiness" then return "|cFF8000clum" end
- if aff == "disloyalty" then return "|cBDBDBDdisl" end
- if aff == "dizziness" then return "|cBDBDBDdiz" end
- if aff == "epilepsy" then return "|cBDBDBDepi" end
- if aff == "generosity" then return "|cBDBDBDgen" end
- if aff == "hallucinations" then return "|cBDBDBDhal" end
- if aff == "haemophilia" then return "|cBDBDBDhaem" end
- if aff == "hypochondria" then return "|cBDBDBDhypo" end
- if aff == "hypersomnia" then return "|cBDBDBDhyp" end
- if aff == "lethargy" then return "|cBDBDBDleth" end
- if aff == "loneliness" then return "|cBDBDBDlone" end
- if aff == "masochism" then return "|cBDBDBDmaso" end
- if aff == "illness" then return "|cBDBDBDill" end
- if aff == "paranoia" then return "|cBDBDBDprna" end
- if aff == "recklessness" then return "|cBDBDBDreck" end
- if aff == "sensitivity" then return "|cBDBDBDsens" end
- if aff == "shyness" then return "|cBDBDBDshy" end
- if aff == "vertigo" then return "|cBDBDBDvert" end
- if aff == "voyria" then return "|cffffffvoy" end
- if aff == "webbed" then return "|cffffffWEBBED" end
- if aff == "transfixed" then return "|cffffffTRANSFIXED" end
- if aff == "singlecrippledarm" then return "|cffffffarm" end
- if aff == "twocrippledarms" then return "|cffffffarm" end
- if aff == "singlecrippledleg" then return "|cffffffleg" end
- if aff == "twocrippledlegs" then return "|cffffffleg" end
- return aff
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement