h
This commit is contained in:
parent
e00bfd8879
commit
f941200504
70 changed files with 1856 additions and 429 deletions
|
|
@ -39,7 +39,6 @@ if (d > contactReach) return false;
|
|||
tarinai.startSleeping?.(it, it.type === "nest_box" ? "\u5de3\u7bb1\u306e\u4e2d\u3067\u4f11\u3093\u3067\u3044\u308b" : (isEasyBed ? "\u304b\u3093\u305f\u3093\u30d9\u30c3\u30c9\u3067\u5bdd\u3066\u3044\u308b" : "\u30d9\u30c3\u30c9\u3067\u4f11\u3093\u3067\u3044\u308b"));
|
||||
if (tarinai.world.time > tarinai.nextSleepBubbleAt) {
|
||||
tarinai.nextSleepBubbleAt = tarinai.world.time + 4.5;
|
||||
const crowded = occ > 5;
|
||||
tarinai.world.spawnBubble(tarinai.x, tarinai.y - tarinai.radius * 1.18, "Zzz...", "rgba(65,70,92,0.72)");
|
||||
}
|
||||
tarinai.energy += dt * (1.9 + comfort * 1.4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue