This commit is contained in:
33333-33333 2026-06-21 16:26:12 +09:00
commit 0b9ff1363b
45 changed files with 680 additions and 890 deletions

View file

@ -75,6 +75,8 @@ class Tarinai { constructor(world, opts = {}) {
this.reproductionTimer = rand(4, CONFIG.reproductionCooldown);
this.lastLog = 0;
this.sleeping = false;
this.awakeLockTimer = opts.awakeLockTimer ?? 0;
this.wasSleepingLastTick = false;
this.blink = rand(0, 10);
this.lastSocial = 0;
this.goodMode = opts.goodMode ?? stableChoice(this.familyKey, "good-mode", displayNormalSprites()) ?? "smile";