From 0a7dc1e9597396edc5a099240bf8aef024946219 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 8 Apr 2017 17:51:21 +0200 Subject: add hero mappings --- heroes.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 heroes.js (limited to 'heroes.js') diff --git a/heroes.js b/heroes.js new file mode 100644 index 0000000..70bfff3 --- /dev/null +++ b/heroes.js @@ -0,0 +1,13 @@ +#!/usr/bin/node + +"use strict"; + +var heroes_source = require("./heroes_source.js"); +var heroes = {} + +heroes_source.map((entry) => { + heroes[entry.serverName] = entry.name; + heroes[entry.name] = entry.name; +}); + +module.exports = heroes; -- cgit v1.3.1