Output to file
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = class Item {
|
||||
this.addPart('blueprint')
|
||||
}
|
||||
|
||||
addPart (part) {
|
||||
this.parts.push(new Part(this.name, part))
|
||||
addPart (part, amount) {
|
||||
this.parts.push(new Part(this.name, part, amount))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user