Initial commit
This commit is contained in:
12
items/Item.js
Normal file
12
items/Item.js
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = class Item {
|
||||
constructor(name) {
|
||||
this.name = name
|
||||
this.url = `${this.name}_prime_set`
|
||||
this.parts = []
|
||||
this.addPart('blueprint')
|
||||
}
|
||||
|
||||
addPart(part) {
|
||||
this.parts.push({ part, url: `${this.name}_prime_${part}` })
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user