različne velikosti dreves
This commit is contained in:
@@ -7,11 +7,17 @@ class InventorySystem {
|
||||
this.slots = new Array(9).fill(null);
|
||||
this.maxStack = 99;
|
||||
|
||||
// Initial test items
|
||||
// Generate tool icons if missing
|
||||
if (typeof TextureGenerator !== 'undefined') {
|
||||
TextureGenerator.createToolSprites(this.scene);
|
||||
}
|
||||
|
||||
// Initial items
|
||||
this.addItem('axe', 1); // 🪓 Sekira
|
||||
this.addItem('pickaxe', 1); // ⛏️ Kramp
|
||||
this.addItem('hoe', 1);
|
||||
this.addItem('seeds', 10);
|
||||
this.addItem('wood', 100); // For restoration
|
||||
this.addItem('stone', 100); // For restoration
|
||||
this.addItem('seeds', 5); // Zmanjšano število semen
|
||||
// Removed default wood/stone so player has to gather them
|
||||
|
||||
this.gold = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user