npc part nevem

This commit is contained in:
2025-12-08 17:36:26 +01:00
parent 097d35da1b
commit 2c446abbbb

View File

@@ -134,8 +134,18 @@ class NPC {
} else {
// Scale po tipu
let scale = 0.5; // Default
if (this.type === 'merchant') scale = 0.2;
else if (this.type === 'elite_zombie') scale = 0.2; // Elite manjši
// New NPCs - smaller scale
if (this.type === 'cow') scale = 0.2;
else if (this.type === 'chicken') scale = 0.2;
else if (this.type === 'troll') scale = 0.2;
else if (this.type === 'elf') scale = 0.2;
else if (this.type === 'villager') scale = 0.2;
else if (this.type === 'cow_mutant') scale = 0.2;
// Old NPCs
else if (this.type === 'merchant') scale = 0.2;
else if (this.type === 'elite_zombie') scale = 0.2;
this.sprite.setScale(scale);
}