phase 11 part1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user