Standard js

This commit is contained in:
2022-02-15 22:27:06 +03:00
parent 58530bf433
commit efafcbc356
9 changed files with 3676 additions and 19 deletions

View File

@@ -1,12 +1,12 @@
module.exports = class Item {
constructor(name) {
constructor (name) {
this.name = name
this.url = `${this.name}_prime_set`
this.parts = []
this.addPart('blueprint')
}
addPart(part) {
addPart (part) {
this.parts.push({ part, url: `${this.name}_prime_${part}` })
}
}