This commit is contained in:
33333-33333 2026-07-05 18:01:36 +09:00
commit 8f9f5b5100
108 changed files with 2139 additions and 1500 deletions

View file

@ -31,7 +31,6 @@
maxHp: ANT_WORKER_HP || 32,
});
this.ants.push(a);
this.emit?.("ant:spawned", { ant: a, nest });
if (typeof syncAntNestCount === "function") syncAntNestCount(this, nest);
nest.antSpawnTimer = rand(2.5, 5.5) + outside * 0.65;
this.drawListDirty = true;
@ -72,7 +71,6 @@
target.y = home.y;
audio.antNest?.();
target.die("\u30a2\u30ea\u306b\u98df\u3079\u3089\u308c\u305f");
this.emit?.("ant:carried", { nest: home, target, complete: true });
this.drawListDirty = true;
},
@ -95,7 +93,6 @@
foundingDelayUntil: (this.time || 0) + 0.35,
});
this.ants.push(queen);
this.emit?.("ant:spawned", { ant: queen, nest: home });
audio.queenAnt?.();
this.drawListDirty = true;
return queen;