Output to file

This commit is contained in:
2022-02-16 00:17:19 +03:00
parent d47a4c634e
commit d5d5e5d59c
9 changed files with 82 additions and 15 deletions

View File

@@ -1,6 +1,29 @@
const Warframe = require('./Warframe')
const Primary = require('./Primary')
// const Secondary = require('./Secondary')
module.exports = [
new Warframe('ash'),
new Warframe('atlas')
const warframes = [
'ash', 'atlas', 'banshee', 'chroma', 'ember',
'equinox', 'frost', 'gara', 'harrow', 'hydroid',
'inaros', 'ivara', 'limbo', 'loki', 'mag',
'mesa', 'mirage', 'nekros', 'nezha', 'nidus',
'nova', 'nyx', 'oberon', 'octavia', 'rhino',
'saryn', 'titania', 'trinity', 'valkyr', 'vauban',
'volt', 'wukong', 'zephyr'
]
const primaries = [
'astilla', 'baza', 'boar', 'boltor', 'braton'
]
const items = []
warframes.forEach((name) => {
items.push(new Warframe(name))
})
primaries.forEach((name) => {
items.push(new Primary(name))
})
module.exports = items