npc part nevem
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user