phase 11 part1

This commit is contained in:
2025-12-08 12:30:15 +01:00
parent 3336b59e7d
commit 07f0752d81
15 changed files with 1383 additions and 133 deletions

View File

@@ -630,10 +630,11 @@ class NPC {
this.state = 'TAMED';
console.log('🧟❤️ Zombie TAMED!');
this.isTamed = true; // Mark as tamed
// Register to ZombieWorkerSystem
if (this.scene.zombieSystem) {
this.scene.zombieSystem.registerWorker(this);
// Register to ZombieWorkerSystem (assign FARM work by default)
if (this.scene.zombieWorkerSystem) {
this.scene.zombieWorkerSystem.assignWork(this, 'FARM', 5);
}
// Visual Feedback