phase 11 koncano
This commit is contained in:
@@ -24,6 +24,11 @@ class InventorySystem {
|
||||
}
|
||||
|
||||
addItem(type, count) {
|
||||
// Unlock in Collection
|
||||
if (this.scene.collectionSystem) {
|
||||
this.scene.collectionSystem.unlock(type);
|
||||
}
|
||||
|
||||
// 1. Try to stack
|
||||
for (let i = 0; i < this.slots.length; i++) {
|
||||
if (this.slots[i] && this.slots[i].type === type) {
|
||||
|
||||
Reference in New Issue
Block a user