       column++
     return orderedNodes
 
-  # creates fields for perks and their descriptions
-  'buildFields': (nodes, nodeDefs) ->
-    displayNodes = nodes.map (node) ->
-      step = nodeDefs[node.nodeIndex].steps[node.stepIndex]
-      description = step.nodeStepDescription.replace(/(\r\n|\n|\r)/gm," ").replace("  "," ")
-
-      title: step.nodeStepName
-      value: description
-      short: true
-
-    displayNodes.filter (x) -> x
-
   'buildText': (nodes, nodeDefs) ->
     getName = (node) ->
       step = nodeDefs[node.nodeIndex].steps[node.stepIndex]

    nodes: response.data.talentNodes
    nodeDefs: response.definitions.talentGrids[item.talentGridHash].nodes
    damageType: damageTypeName

  'parseItemsForAttachment': (items) ->
    items.map (item) => @parseItemAttachment(item)

  'parseItemAttachment': (item) ->
    name = "#{item.itemName}"

      column = nodeDefs[node.nodeIndex].column
      name = step.nodeStepName
      if node.isActivated
        name = "*#{step.nodeStepName}*"
      text[column] = "" unless text[column]
      text[column]+= name + " | "

    setText node for node in nodes
    return text

module.exports = DataHelper
