Standard js
This commit is contained in:
@@ -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}` })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user